mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: The $context
parameter in remove_meta_box()
is not optional.
Fixes a copy pasta error introduced in [34952]. Props travisnorthcutt. See #32246. Built from https://develop.svn.wordpress.org/trunk@37545 git-svn-id: http://core.svn.wordpress.org/trunk@37513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9193013158
commit
6d7abb8fd3
@ -1060,12 +1060,11 @@ function do_meta_boxes( $screen, $context, $object ) {
|
||||
* @param string|array|WP_Screen $screen The screen or screens on which the meta box is shown (such as a
|
||||
* post type, 'link', or 'comment'). Accepts a single screen ID,
|
||||
* WP_Screen object, or array of screen IDs.
|
||||
* @param string $context Optional. The context within the screen where the boxes
|
||||
* should display. Available contexts vary from screen to
|
||||
* screen. Post edit screen contexts include 'normal', 'side',
|
||||
* and 'advanced'. Comments screen contexts include 'normal'
|
||||
* and 'side'. Menus meta boxes (accordion sections) all use
|
||||
* the 'side' context. Global default is 'advanced'.
|
||||
* @param string $context The context within the screen where the box is set to display.
|
||||
* Contexts vary from screen to screen. Post edit screen contexts
|
||||
* include 'normal', 'side', and 'advanced'. Comments screen contexts
|
||||
* include 'normal' and 'side'. Menus meta boxes (accordion sections)
|
||||
* all use the 'side' context.
|
||||
*/
|
||||
function remove_meta_box( $id, $screen, $context ) {
|
||||
global $wp_meta_boxes;
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-alpha-37544';
|
||||
$wp_version = '4.6-alpha-37545';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user