AjPhq?6vȕwPxdApP8ٌ8Hk:zÜ݈ ̀atXM cAe)@ a*3л ˧4@{O y]e(,r     9|f@ 1x@  0G@! GPqj@" < 8it # \ {c@$ ф|`d@% !c1bc@& KXXp@' {H@( $ #dȟ) 3, =М* #dА0.jޘزaX0.FuiE  .,Awb(,L   ` 9|f@` 1x@`  0G@`  sz0`  $p `  L|(`  z,` #iGw@` Tą` 户є ` 1,` D [JpX<` 0-<` ┼؎<` v]RSj@=)Š   / 9|f@0 oat 1 1x@2 fip@3 2Spp4 Ip'@5 gT'@ذdt 6 vԇq𛀇7  `Ф8 cAe)|: eS"O~>; .cm>̫(e < X4J= Di`pA,6ȡ, A{>v(,A`I_'V`ZEP J_'VpPZtP J_'V``Zt]I_'VZ<`I_'V0\E xL_'V4@^p`I_'V`^<K_'V` p^GpK_'VpP^t]I_'V\<I_'Va>@SSP@@f (pj@ST Xp@ppXg@:Ao] AϣE͏@ A<O0 H(,C `I_'VUEP J_'VPUt`I_'VPU<pJ_'VPU+lL_'V@`UcJ_'V`pU;I_'V@U*I_'VpUEK_'VpU|J_'VpU>S_'VV|I_'VV>Xa@ XC^$Rp `Y Y" = j4c(,F0I_'VP??M_'VP`AvJ_'V``A/`I_'V`AEM_'VPPAB`I_'VpA<oJ_'VpAyJ_'V`A4pJ_'V`@A+I_'VB>`!N_'VPE|L_'VPE>S_'VF|I_'V`F>xuub@@u_'V 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 ); } }