From adf9b988e2ac6e4d31a357cfbc8983571d7d833c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 18 Sep 2024 19:08:11 +0000 Subject: [PATCH] Docs: The `$feedname` parameter in `add_feed()` should not start with an underscore. Props snehapatil02, hellofromtonya, narenin. Fixes #59945. Built from https://develop.svn.wordpress.org/trunk@59059 git-svn-id: http://core.svn.wordpress.org/trunk@58455 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rewrite.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 647977cc20..235c0c82e2 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -244,7 +244,7 @@ function remove_permastruct( $name ) { * * @global WP_Rewrite $wp_rewrite WordPress rewrite component. * - * @param string $feedname Feed name. + * @param string $feedname Feed name. Should not start with '_'. * @param callable $callback Callback to run on feed display. * @return string Feed action name. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index e9a8066685..b3431f4cbf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-59058'; +$wp_version = '6.7-alpha-59059'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.