mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: In various @return tags, list the expected type first, instead of WP_Error.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -738,7 +738,7 @@ function feed_content_type( $type = '' ) {
|
||||
* using SimplePie's multifeed feature.
|
||||
* See also {@link http://simplepie.org/wiki/faq/typical_multifeed_gotchas}
|
||||
*
|
||||
* @return WP_Error|SimplePie WP_Error object on failure or SimplePie object on success
|
||||
* @return SimplePie|WP_Error SimplePie object on success or WP_Error object on failure.
|
||||
*/
|
||||
function fetch_feed( $url ) {
|
||||
if ( ! class_exists( 'SimplePie', false ) ) {
|
||||
|
||||
Reference in New Issue
Block a user