mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Use more specific types in parameter descriptions in place of mixed.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47397 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -743,10 +743,9 @@ function feed_content_type( $type = '' ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged
|
||||
* using SimplePie's multifeed feature.
|
||||
* See also {@link http://simplepie.org/wiki/faq/typical_multifeed_gotchas}
|
||||
*
|
||||
* @param string|string[] $url URL of feed to retrieve. If an array of URLs, the feeds are merged
|
||||
* using SimplePie's multifeed feature.
|
||||
* See also {@link http://simplepie.org/wiki/faq/typical_multifeed_gotchas}
|
||||
* @return SimplePie|WP_Error SimplePie object on success or WP_Error object on failure.
|
||||
*/
|
||||
function fetch_feed( $url ) {
|
||||
@@ -777,8 +776,8 @@ function fetch_feed( $url ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param SimplePie $feed SimplePie feed object (passed by reference).
|
||||
* @param mixed $url URL of feed to retrieve. If an array of URLs, the feeds are merged.
|
||||
* @param SimplePie $feed SimplePie feed object (passed by reference).
|
||||
* @param string|string[] $url URL of feed or array of URLs of feeds to retrieve.
|
||||
*/
|
||||
do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) );
|
||||
$feed->init();
|
||||
|
||||
Reference in New Issue
Block a user