Fix the return docs for `WP_Embed->maybe_make_link()`.
See #30224. Built from https://develop.svn.wordpress.org/trunk@30178 git-svn-id: http://core.svn.wordpress.org/trunk@30178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
796ceebb25
commit
68a67a9b0d
|
@ -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 ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30177';
|
||||
$wp_version = '4.1-alpha-30178';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue