]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/shortcode.js
WordPress 3.9.1
[autoinstalls/wordpress.git] / wp-includes / js / shortcode.js
index 677c99a5e89bb4db933ebd0eba7ae36a632fa98c..2f4f2642e55d37d178488c86e68b1d2630a5ee11 100644 (file)
@@ -37,13 +37,13 @@ window.wp = window.wp || {};
                        // If we matched a leading `[`, strip it from the match
                        // and increment the index accordingly.
                        if ( match[1] ) {
-                               result.match = result.match.slice( 1 );
+                               result.content = result.content.slice( 1 );
                                result.index++;
                        }
 
                        // If we matched a trailing `]`, strip it from the match.
                        if ( match[7] ) {
-                               result.match = result.match.slice( 0, -1 );
+                               result.content = result.content.slice( 0, -1 );
                        }
 
                        return result;