WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/01/2020 10:36:38 AM (19 months ago)
Author:
johnbillion
Message:

Docs: Use more specific types in parameter descriptions in place of mixed.

See #48303.

File:
1 edited

Legend:

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

    r47219 r47397  
    744744 * @since 2.8.0
    745745 *
    746  * @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged
    747  * using SimplePie's multifeed feature.
    748  * See also {@link http://simplepie.org/wiki/faq/typical_multifeed_gotchas}
    749  *
     746 * @param string|string[] $url URL of feed to retrieve. If an array of URLs, the feeds are merged
     747 *                             using SimplePie's multifeed feature.
     748 *                             See also {@link http://simplepie.org/wiki/faq/typical_multifeed_gotchas}
    750749 * @return SimplePie|WP_Error SimplePie object on success or WP_Error object on failure.
    751750 */
     
    778777     * @since 3.0.0
    779778     *
    780      * @param SimplePie $feed SimplePie feed object (passed by reference).
    781      * @param mixed     $url  URL of feed to retrieve. If an array of URLs, the feeds are merged.
     779     * @param SimplePie       $feed SimplePie feed object (passed by reference).
     780     * @param string|string[] $url  URL of feed or array of URLs of feeds to retrieve.
    782781     */
    783782    do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) );
Note: See TracChangeset for help on using the changeset viewer.