Ticket #36735: 36735.4.patch
File 36735.4.patch, 533 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/js/shortcode.js
326 326 _.each( options.attrs, function( value, attr ) { 327 327 text += ' ' + attr; 328 328 329 // Use empty attribute notation where possible.330 if ( '' === value ) {331 return;332 }333 334 329 // Convert boolean values to strings. 335 330 if ( _.isBoolean( value ) ) { 336 331 value = value ? 'true' : 'false';