plugin updates
This commit is contained in:
@@ -723,7 +723,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string[] $post_columns An associative array of column headings.
|
||||
* @param string[] $posts_columns An associative array of column headings.
|
||||
*/
|
||||
$posts_columns = apply_filters( 'manage_pages_columns', $posts_columns );
|
||||
} else {
|
||||
@@ -733,8 +733,8 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @param string[] $post_columns An associative array of column headings.
|
||||
* @param string $post_type The post type slug.
|
||||
* @param string[] $posts_columns An associative array of column headings.
|
||||
* @param string $post_type The post type slug.
|
||||
*/
|
||||
$posts_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type );
|
||||
}
|
||||
@@ -751,7 +751,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param string[] $post_columns An associative array of column headings.
|
||||
* @param string[] $posts_columns An associative array of column headings.
|
||||
*/
|
||||
return apply_filters( "manage_{$post_type}_posts_columns", $posts_columns );
|
||||
}
|
||||
@@ -790,8 +790,13 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates the list table rows.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
* @global int $per_page
|
||||
* @global int $per_page
|
||||
*
|
||||
* @param array $posts
|
||||
* @param int $level
|
||||
*/
|
||||
@@ -1837,6 +1842,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
if ( $bulk ) {
|
||||
$dropdown_args['show_option_no_change'] = __( '— No Change —' );
|
||||
$dropdown_args['id'] = 'bulk_edit_post_parent';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user