File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -942,15 +942,7 @@ function confirm_delete_users( $users ) {
942942 if ( is_array ( $ blog_users ) && ! empty ( $ blog_users ) ) {
943943 $ user_site = "<a href=' " . esc_url ( get_home_url ( $ details ->userblog_id ) ) . "'> {$ details ->blogname }</a> " ;
944944 switch_to_blog ( $ details ->userblog_id );
945- /**
946- * Filters whether the users being deleted have additional content
947- * associated with them outside of the `post_author` and `link_owner` relationships.
948- *
949- * @since 5.2.0
950- *
951- * @param bool $users_have_additional_content Whether the users have additional content. Default false.
952- * @param int[] $user_ids Array of IDs for users being deleted.
953- */
945+ /** This filter is documented in wp-admin/users.php *
954946 $user_has_content = (bool) apply_filters( 'users_have_additional_content', false, array( $delete_user->ID ) );
955947
956948 if ( ! $user_has_content ) {
You can’t perform that action at this time.
0 commit comments