~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-includes/js/shortcode.js

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
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';