From 7f0a5f518b0b03f23ecab34ba9a6b6b5578c5dcd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 9 Sep 2024 14:37:17 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-posts-list-table.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 1e27b931ab..aff267b97c 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 63d93796b0..0cdbae15a0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.