Make WordPress Core

Changeset 59059


Ignore:
Timestamp:
09/18/2024 07:06:45 PM (6 months ago)
Author:
DrewAPicture
Message:

Docs: The $feedname parameter in add_feed() should not start with an underscore.

Props snehapatil02, hellofromtonya, narenin.
Fixes #59945.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rewrite.php

    r56208 r59059  
    245245 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    246246 *
    247  * @param string   $feedname Feed name.
     247 * @param string   $feedname Feed name. Should not start with '_'.
    248248 * @param callable $callback Callback to run on feed display.
    249249 * @return string Feed action name.
Note: See TracChangeset for help on using the changeset viewer.