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
This commit is contained in:
Drew Jaynes 2024-09-18 19:08:11 +00:00
parent 25b40364d6
commit adf9b988e2
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*/

View File

@ -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.