diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php
index c941e62..64608c1 100644
a
|
b
|
function media_buttons( $editor_id = 'content' ) { |
620 | 620 | * |
621 | 621 | * @param string $string Media buttons context. Default empty. |
622 | 622 | */ |
623 | | $legacy_filter = apply_filters( 'media_buttons_context', '' ); |
| 623 | $legacy_filter = apply_filters_deprecated( 'media_buttons_context', array(''), '3.5.0', false, __( 'Please use "media_buttons" action instead.' ) ); |
624 | 624 | |
625 | 625 | if ( $legacy_filter ) { |
626 | 626 | // #WP22559. Close <a> if a plugin started by closing <a> to open their own <a> tag. |