mirror of
git://develop.git.wordpress.org/
synced 2025-04-26 15:13:30 +02:00
Docs: Correct the type of the $return
parameter in embed_handler_html
filter.
The value cannot be `false` at this point, as the filter is only applied to non-empty embed HTML. Follow-up to [25726], [46661]. Reviewed by SergeyBiryukov, audrasjb. Merges [60149] to 6.8 branch. Props apermo, jasonsa19. Fixes #63248. git-svn-id: https://develop.svn.wordpress.org/branches/6.8@60157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a61cf41420
commit
1dee9c2d1e
@ -163,9 +163,9 @@ class WP_Embed {
|
||||
*
|
||||
* @see WP_Embed::shortcode()
|
||||
*
|
||||
* @param string|false $return The HTML result of the shortcode, or false on failure.
|
||||
* @param string $url The embed URL.
|
||||
* @param array $attr An array of shortcode attributes.
|
||||
* @param string $return The HTML result of the shortcode.
|
||||
* @param string $url The embed URL.
|
||||
* @param array $attr An array of shortcode attributes.
|
||||
*/
|
||||
return apply_filters( 'embed_handler_html', $return, $url, $attr );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user