Don't use esc_attr_e() function for a non-translatable context.
props yoavf, mattheu. fixes #26187. git-svn-id: https://develop.svn.wordpress.org/trunk@26347 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
72e4fe6420
commit
8c915b97ae
@ -847,7 +847,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="add-to-menu">
|
<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 class="spinner"></span>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user