mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 14:14:36 +00:00
Docs: In various @return tags, list the expected type first, instead of false.
Follow-up to [46696]. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47060 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -435,7 +435,7 @@ class WP_Embed {
|
||||
* Conditionally makes a hyperlink based on an internal class variable.
|
||||
*
|
||||
* @param string $url URL to potentially be linked.
|
||||
* @return false|string Linked URL or the original URL. False if 'return_false_on_fail' is true.
|
||||
* @return string|false 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 ) {
|
||||
|
||||
Reference in New Issue
Block a user