Ticket #39041: 39041.diff
File 39041.diff, 477 bytes (added by , 6 years ago) |
---|
-
src/js/_enqueues/wp/theme.js
180 180 // Start with a full collection 181 181 this.reset( themes.data.themes, { silent: true } ); 182 182 183 // Trim the term 184 term = term.trim(); 185 183 186 // Escape the term string for RegExp meta characters 184 187 term = term.replace( /[-\/\\^$*+?.()|[\]{}]/g, '\\$&' ); 185 188