Tweak inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
Props kpdesign. Fixes #26203. git-svn-id: https://develop.svn.wordpress.org/trunk@27355 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
235faf6363
commit
90033f46bc
@ -218,7 +218,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||||||
endif;
|
endif;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires just before the closing div containing the buik role-change controls
|
* Fires just before the closing div containing the bulk role-change controls
|
||||||
* in the Users list table.
|
* in the Users list table.
|
||||||
*
|
*
|
||||||
* @since 3.5.0
|
* @since 3.5.0
|
||||||
@ -371,11 +371,13 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||||||
$actions['remove'] = "<a class='submitdelete' href='" . wp_nonce_url( $url."action=remove&user=$user_object->ID", 'bulk-users' ) . "'>" . __( 'Remove' ) . "</a>";
|
$actions['remove'] = "<a class='submitdelete' href='" . wp_nonce_url( $url."action=remove&user=$user_object->ID", 'bulk-users' ) . "'>" . __( 'Remove' ) . "</a>";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter user row actions for a single row in the Users list table.
|
* Filter the action links displayed under each user in the Users list table.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @param array $actions Array of row actions actions.
|
* @param array $actions An array of action links to be displayed.
|
||||||
|
* Default 'Edit', 'Delete' for single site, and
|
||||||
|
* 'Edit', 'Remove' for Multisite.
|
||||||
* @param WP_User $user_object WP_User object for the currently-listed user.
|
* @param WP_User $user_object WP_User object for the currently-listed user.
|
||||||
*/
|
*/
|
||||||
$actions = apply_filters( 'user_row_actions', $actions, $user_object );
|
$actions = apply_filters( 'user_row_actions', $actions, $user_object );
|
||||||
@ -436,7 +438,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||||||
$r .= "<td $attributes>";
|
$r .= "<td $attributes>";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter display output of custom columns in the Users list table.
|
* Filter the display output of custom columns in the Users list table.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user