mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-25 05:34:32 +00:00
Docs: Standardize references to "meta box" or "meta boxes" as two distinct words throughout core documentation per the core spelling guide.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@38029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -219,7 +219,7 @@ $publish_callback_args = null;
|
||||
if ( post_type_supports($post_type, 'revisions') && 'auto-draft' != $post->post_status ) {
|
||||
$revisions = wp_get_post_revisions( $post_ID );
|
||||
|
||||
// We should aim to show the revisions metabox only when there are revisions.
|
||||
// We should aim to show the revisions meta box only when there are revisions.
|
||||
if ( count( $revisions ) > 1 ) {
|
||||
reset( $revisions ); // Reset pointer for key()
|
||||
$publish_callback_args = array( 'revisions_count' => count( $revisions ), 'revision_id' => key( $revisions ) );
|
||||
|
||||
@@ -1117,7 +1117,7 @@ function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* This was once used to display a metabox for the nav menu theme locations.
|
||||
* This was once used to display a meta box for the nav menu theme locations.
|
||||
*
|
||||
* Deprecated in favor of a 'Manage Locations' tab added to nav menus management screen.
|
||||
*
|
||||
|
||||
@@ -2818,7 +2818,7 @@ function edit_form_image_editor( $post ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays non-editable attachment metadata in the publish metabox
|
||||
* Displays non-editable attachment metadata in the publish meta box.
|
||||
*
|
||||
* @since 3.5.0
|
||||
*/
|
||||
|
||||
@@ -123,7 +123,7 @@ function _wp_ajax_menu_quick_search( $request = array() ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Register nav menu metaboxes and advanced menu items
|
||||
* Register nav menu meta boxes and advanced menu items.
|
||||
*
|
||||
* @since 3.0.0
|
||||
**/
|
||||
@@ -178,7 +178,7 @@ function wp_initial_nav_menu_meta_boxes() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates metaboxes for any post type menu item.
|
||||
* Creates meta boxes for any post type menu item..
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
@@ -212,7 +212,7 @@ function wp_nav_menu_post_type_meta_boxes() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates metaboxes for any taxonomy menu item.
|
||||
* Creates meta boxes for any taxonomy menu item.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
@@ -252,7 +252,7 @@ function wp_nav_menu_disabled_check( $nav_menu_selected_id ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays a metabox for the custom links menu item.
|
||||
* Displays a meta box for the custom links menu item.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
@@ -289,7 +289,7 @@ function wp_nav_menu_item_link_meta_box() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays a metabox for a post type menu item.
|
||||
* Displays a meta box for a post type menu item.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
@@ -568,7 +568,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays a metabox for a taxonomy menu item.
|
||||
* Displays a meta box for a taxonomy menu item.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
|
||||
@@ -1166,7 +1166,7 @@ function wp_edit_attachments_query( $q = false ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of classes to be used by a metabox
|
||||
* Returns the list of classes to be used by a meta box.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user