Docs: Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6.

See #37318.

Built from https://develop.svn.wordpress.org/trunk@38024


git-svn-id: http://core.svn.wordpress.org/trunk@37965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-07-09 14:00:31 +00:00
parent a13164355f
commit 7eb6471461
7 changed files with 12 additions and 12 deletions

View File

@ -419,7 +419,7 @@ class WP_Posts_List_Table extends WP_List_Table {
*
* @global int $cat Currently selected category.
*
* @param string $post_type The Post Type.
* @param string $post_type Post type slug.
*/
protected function categories_dropdown( $post_type ) {
global $cat;
@ -430,7 +430,7 @@ class WP_Posts_List_Table extends WP_List_Table {
* @since 4.6.0
*
* @param bool $disable Whether to disable the categories drop-down. Default false.
* @param string $post_type The post type.
* @param string $post_type Post type slug.
*/
if ( false !== apply_filters( 'disable_categories_dropdown', false, $post_type ) ) {
return;

View File

@ -256,7 +256,7 @@ function export_wp( $args = array() ) {
}
/**
* Output termmeta XML tags for a given term object.
* Output term meta XML tags for a given term object.
*
* @since 4.6.0
*

View File

@ -2769,7 +2769,7 @@ function edit_form_image_editor( $post ) {
else :
/**
* Fires when attachment type can't be rendered in the edit form.
* Fires when an attachment type can't be rendered in the edit form.
*
* @since 4.6.0
*

View File

@ -920,7 +920,7 @@ function wp_admin_canonical_url() {
}
/**
* Output JS that reloads the page if the user navigated to it with the Back or Forward button.
* Outputs JS that reloads the page if the user navigated to it with the Back or Forward button.
*
* Used on the Edit Post and Add New Post screens. Needed to ensure the page is not loaded from browser cache,
* so the post title and editor content are the last saved versions. Ideally this script should run first in the head.

View File

@ -1035,11 +1035,11 @@ jQuery(document).ready( function($) {
* @since 4.6.0
*
* @param $args {
* Optional. Array or string of Query parameters.
* Optional. Array or string of Query parameters. Default empty array.
*
* @type int $blog_id The site ID. Default is the current site.
* @type array $links The tabs to include with (label|url|cap) keys.
* @type string $selected The ID of the selected link.
* @type int $blog_id The site ID. Default is the current site.
* @type array $links The tabs to include with (label|url|cap) keys.
* @type string $selected The ID of the selected link.
* }
*/
function network_edit_site_nav( $args = array() ) {

View File

@ -1436,8 +1436,8 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
* Filters the admin post thumbnail HTML markup to return.
*
* @since 2.9.0
* @since 3.5.0 Added $post->ID
* @since 4.6.0 Added $thumbnail_id
* @since 3.5.0 Added the `$post_id` parameter.
* @since 4.6.0 Added the `$thumbnail_id` parameter.
*
* @param string $content Admin post thumbnail HTML markup.
* @param int $post_id Post ID.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-beta2-38023';
$wp_version = '4.6-beta2-38024';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.