mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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:
parent
a13164355f
commit
7eb6471461
@ -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;
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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.
|
||||
|
@ -1035,7 +1035,7 @@ 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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user