mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6.
See #37318. git-svn-id: https://develop.svn.wordpress.org/trunk@38024 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user