Docs: Add description for $mode global in WP_Media_List_Table and WP_Posts_List_Table.

See #40208.

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

View File

@ -219,7 +219,7 @@ class WP_Media_List_Table extends WP_List_Table {
/**
* Override parent views so we can use the filter bar display.
*
* @global string $mode
* @global string $mode List table view mode.
*/
public function views() {
global $mode;

View File

@ -871,7 +871,7 @@ class WP_Posts_List_Table extends WP_List_Table {
* @since 4.3.0
* @access public
*
* @global string $mode
* @global string $mode List table view mode.
*
* @param WP_Post $post The current WP_Post object.
*/
@ -968,7 +968,7 @@ class WP_Posts_List_Table extends WP_List_Table {
* @since 4.3.0
* @access public
*
* @global string $mode
* @global string $mode List table view mode.
*
* @param WP_Post $post The current WP_Post object.
*/
@ -1330,7 +1330,7 @@ class WP_Posts_List_Table extends WP_List_Table {
*
* @since 3.1.0
*
* @global string $mode
* @global string $mode List table view mode.
*/
public function inline_edit() {
global $mode;