From 31df6204d057db0797a8e093485175055814a5fb Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 3 Nov 2014 02:26:34 +0000 Subject: [PATCH] Fix the return docs for `WP_Embed->maybe_make_link()`. See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30178 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-embed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-embed.php b/src/wp-includes/class-wp-embed.php index e8d25ffb1d..23a8289939 100644 --- a/src/wp-includes/class-wp-embed.php +++ b/src/wp-includes/class-wp-embed.php @@ -334,7 +334,7 @@ class WP_Embed { * Conditionally makes a hyperlink based on an internal class variable. * * @param string $url URL to potentially be linked. - * @return string Linked URL or the original URL. + * @return string|bool Linked URL or the original URL. False if 'return_false_on_fail' is true. */ public function maybe_make_link( $url ) { if ( $this->return_false_on_fail ) {