3Vǩ3V@R>3V@P5֧3VPPAʪ3V``uʪ3VPpu&3VA3V<м3VЭp3V`PB3VP`B@3Vp<p3Vp3V`=ʪ3VPu@3V<PR3V>3V>s@s@h@Tn@pPn@z@s@8pn@`pn@x@m@(y@ s@pPn@s@8pn@`pn@w@m@p~@X@@H~@On@s@yo@Tn@s@On@s@m@s@ԃ@@@8yw@ uo@ uo@ uo@Ճ@Ճ@ uo@On@Tn@Ń@Ń@Tn@س@س@qn@y@m@s@Ճ@@@`V@hż@0@p_@Ƽ(Ƽ@@1c@>ƼƼǼ0Ǽ@Ƽ@`>Ǽh%pƼ żƼXƼHǼ`ǼxļǼ˼XӼ@ּ@_@_@`]@02@ȼ(ȼXȼȼȼȼɼɼʼ@@ ɼɼxɼ@ `ɼ%ȼ@`d@_ɼɼ@@ʼ ʼʼ@hʼ%ɼȼɼɼʼʼǼ@`@@{<@@1`˼H˼x˼˼0˼˼8̼̼Pͼ@ @` ̼̼@`e@@K>h̼̼̼@`̼%P̼@p33@(ͼ%ͼ@p?@@@0,5@@`#ͼͼͼμͼ(μμ0ϼϼ@`@aμpμ@@P@ 3cμμ%μ@Xe@;`ϼ%Hϼ(μμ0ϼϼϼ foreach ( $users as $user ) { $author_link = get_author_posts_url( $user->ID ); if ( empty( $author_link ) ) { continue; } $mod = $time; if ( isset( $user->_yoast_wpseo_profile_updated ) ) { $mod = $user->_yoast_wpseo_profile_updated; } $url = [ 'loc' => $author_link, 'mod' => date( DATE_W3C, $mod ), // Deprecated, kept for backwards data compat. R. 'chf' => 'daily', 'pri' => 1, ]; /** This filter is documented at inc/sitemaps/class-post-type-sitemap-provider.php */ $url = apply_filters( 'wpseo_sitemap_entry', $url, 'user', $user ); if ( ! empty( $url ) ) { $links[] = $url; } } return $links; } /** * Update any users that don't have last profile update timestamp. * * @return int Count of users updated. */ protected function update_user_meta() { $user_criteria = [ 'capability' => [ 'edit_posts' ], 'meta_query' => [ [ 'key' => '_yoast_wpseo_profile_updated', 'compare' => 'NOT EXISTS', ], ], ]; $users = get_users( $user_criteria ); $time = time(); foreach ( $users as $user ) { update_user_meta( $user->ID, '_yoast_wpseo_profile_updated', $time ); } return count( $users ); } /** * Wrap legacy filter to deduplicate calls. * * @param array $users Array of user objects to filter. * * @return array */ protected function exclude_users( $users ) { /** * Filter the authors, included in XML sitemap. * * @param array $users Array of user objects to filter. */ return apply_filters( 'wpseo_sitemap_exclude_author', $users ); } }