Docs: Add description for `$mode` global in `WP_Media_List_Table` and `WP_Posts_List_Table`.
See #40208. Built from https://develop.svn.wordpress.org/trunk@40309 git-svn-id: http://core.svn.wordpress.org/trunk@40216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e51bc5fb6b
commit
0b7148ebbb
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-40308';
|
||||
$wp_version = '4.8-alpha-40309';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue