Don't use esc_attr_e() function for a non-translatable context.
props yoavf, mattheu. fixes #26187. Built from https://develop.svn.wordpress.org/trunk@26347 git-svn-id: http://core.svn.wordpress.org/trunk@26248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5624f82c38
commit
df6010446a
|
@ -847,7 +847,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
|
|||
</span>
|
||||
|
||||
<span class="add-to-menu">
|
||||
<input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button-secondary submit-add-to-menu right" value="<?php esc_attr_e( __( 'Add to Menu' ) ); ?>" name="add-post-type-menu-item" id="<?php esc_attr_e( 'submit-posttype-' . $post_type_name ); ?>" />
|
||||
<input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button-secondary submit-add-to-menu right" value="<?php esc_attr_e( __( 'Add to Menu' ) ); ?>" name="add-post-type-menu-item" id="<?php echo esc_attr( 'submit-posttype-' . $post_type_name ); ?>" />
|
||||
<span class="spinner"></span>
|
||||
</span>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue