Docs: Correct parameter reference for `manage_posts_columns` and related filters.

Follow-up to [27255], [42871].

Props truptikanzariya.
Fixes #62015.
Built from https://develop.svn.wordpress.org/trunk@59000


git-svn-id: http://core.svn.wordpress.org/trunk@58396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-09-09 14:37:17 +00:00
parent 911d37b465
commit 7f0a5f518b
2 changed files with 5 additions and 5 deletions

View File

@ -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 );
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58999';
$wp_version = '6.7-alpha-59000';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.