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.
|
* @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 ) {
|
protected function categories_dropdown( $post_type ) {
|
||||||
global $cat;
|
global $cat;
|
||||||
@ -430,7 +430,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
|||||||
* @since 4.6.0
|
* @since 4.6.0
|
||||||
*
|
*
|
||||||
* @param bool $disable Whether to disable the categories drop-down. Default false.
|
* @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 ) ) {
|
if ( false !== apply_filters( 'disable_categories_dropdown', false, $post_type ) ) {
|
||||||
return;
|
return;
|
||||||
|
@ -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
|
* @since 4.6.0
|
||||||
*
|
*
|
||||||
|
@ -2769,7 +2769,7 @@ function edit_form_image_editor( $post ) {
|
|||||||
else :
|
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
|
* @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,
|
* 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.
|
* so the post title and editor content are the last saved versions. Ideally this script should run first in the head.
|
||||||
|
@ -1035,11 +1035,11 @@ jQuery(document).ready( function($) {
|
|||||||
* @since 4.6.0
|
* @since 4.6.0
|
||||||
*
|
*
|
||||||
* @param $args {
|
* @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 int $blog_id The site ID. Default is the current site.
|
||||||
* @type array $links The tabs to include with (label|url|cap) keys.
|
* @type array $links The tabs to include with (label|url|cap) keys.
|
||||||
* @type string $selected The ID of the selected link.
|
* @type string $selected The ID of the selected link.
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
function network_edit_site_nav( $args = array() ) {
|
function network_edit_site_nav( $args = array() ) {
|
||||||
|
@ -1436,8 +1436,8 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
|
|||||||
* Filters the admin post thumbnail HTML markup to return.
|
* Filters the admin post thumbnail HTML markup to return.
|
||||||
*
|
*
|
||||||
* @since 2.9.0
|
* @since 2.9.0
|
||||||
* @since 3.5.0 Added $post->ID
|
* @since 3.5.0 Added the `$post_id` parameter.
|
||||||
* @since 4.6.0 Added $thumbnail_id
|
* @since 4.6.0 Added the `$thumbnail_id` parameter.
|
||||||
*
|
*
|
||||||
* @param string $content Admin post thumbnail HTML markup.
|
* @param string $content Admin post thumbnail HTML markup.
|
||||||
* @param int $post_id Post ID.
|
* @param int $post_id Post ID.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user