mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Coding Standards: Consistently use do_action_deprecated() and apply_filters_deprecated() for deprecated hooks.
Props jrf. See #48255. git-svn-id: https://develop.svn.wordpress.org/trunk@46684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -654,7 +654,7 @@ function media_buttons( $editor_id = 'content' ) {
|
||||
*
|
||||
* @param string $string Media buttons context. Default empty.
|
||||
*/
|
||||
$legacy_filter = apply_filters( 'media_buttons_context', '' );
|
||||
$legacy_filter = apply_filters_deprecated( 'media_buttons_context', array( '' ), '3.5.0', 'media_buttons' );
|
||||
|
||||
if ( $legacy_filter ) {
|
||||
// #WP22559. Close <a> if a plugin started by closing <a> to open their own <a> tag.
|
||||
|
||||
Reference in New Issue
Block a user