Docs: Add description for $mode global in WP_MS_Sites_List_Table and WP_MS_Users_List_Table.

Fixes #40208.

git-svn-id: https://develop.svn.wordpress.org/trunk@40310 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-03-22 03:45:22 +00:00
parent 43a27ede8f
commit c248f03c61
2 changed files with 9 additions and 4 deletions

View File

@ -207,7 +207,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
} }
/** /**
* @global string $mode * @global string $mode List table view mode.
* *
* @param string $which * @param string $which
*/ */
@ -295,7 +295,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
* @since 4.3.0 * @since 4.3.0
* @access public * @access public
* *
* @global string $mode * @global string $mode List table view mode.
* *
* @param array $blog Current site. * @param array $blog Current site.
*/ */
@ -346,6 +346,8 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
* @since 4.3.0 * @since 4.3.0
* @access public * @access public
* *
* @global string $mode List table view mode.
*
* @param array $blog Current site. * @param array $blog Current site.
*/ */
public function column_lastupdated( $blog ) { public function column_lastupdated( $blog ) {
@ -366,6 +368,8 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
* @since 4.3.0 * @since 4.3.0
* @access public * @access public
* *
* @global string $mode List table view mode.
*
* @param array $blog Current site. * @param array $blog Current site.
*/ */
public function column_registered( $blog ) { public function column_registered( $blog ) {

View File

@ -145,7 +145,8 @@ class WP_MS_Users_List_Table extends WP_List_Table {
} }
/** /**
* @global string $mode * @global string $mode List table view mode.
*
* @param string $which * @param string $which
*/ */
protected function pagination( $which ) { protected function pagination( $which ) {
@ -278,7 +279,7 @@ class WP_MS_Users_List_Table extends WP_List_Table {
* @since 4.3.0 * @since 4.3.0
* @access public * @access public
* *
* @global string $mode * @global string $mode List table view mode.
* *
* @param WP_User $user The current WP_User object. * @param WP_User $user The current WP_User object.
*/ */