Correct the docs for the `post_type_labels_{$post_type}` filter.
Fixes #32707 Props dlh Built from https://develop.svn.wordpress.org/trunk@32849 git-svn-id: http://core.svn.wordpress.org/trunk@32820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f5fa907f77
commit
f632756f16
|
@ -1676,7 +1676,7 @@ function get_post_type_labels( $post_type_object ) {
|
|||
*
|
||||
* @see get_post_type_labels() for the full list of labels.
|
||||
*
|
||||
* @param array $labels Array of labels for the given post type.
|
||||
* @param object $labels Object with labels for the post type as member variables.
|
||||
*/
|
||||
return apply_filters( "post_type_labels_{$post_type}", $labels );
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32848';
|
||||
$wp_version = '4.3-alpha-32849';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue