diff --git a/src/wp-includes/js/shortcode.js b/src/wp-includes/js/shortcode.js index 7028f6a8bd..79423eecff 100644 --- a/src/wp-includes/js/shortcode.js +++ b/src/wp-includes/js/shortcode.js @@ -326,11 +326,6 @@ window.wp = window.wp || {}; _.each( options.attrs, function( value, attr ) { text += ' ' + attr; - // Use empty attribute notation where possible. - if ( '' === value ) { - return; - } - // Convert boolean values to strings. if ( _.isBoolean( value ) ) { value = value ? 'true' : 'false';