]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/shortcode.js
Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / js / shortcode.js
index 7028f6a8bdb5a0888ada2e88633265a041c51771..79423eecfff2a37b4a0101e5116aab8be5b94487 100644 (file)
@@ -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';