Skip to content

Commit 6ab0ac6

Browse files
authored
Remove duplicate filter documentation
1 parent d542c24 commit 6ab0ac6

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/wp-admin/includes/ms.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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 ) {

0 commit comments

Comments
 (0)