Changeset 63664
- Timestamp:
- 09/17/2026 05:33:45 PM (4 weeks ago)
- Location:
- branches/7.1
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/js/_enqueues/wp/theme.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/7.1
-
branches/7.1/src/js/_enqueues/wp/theme.js
r62878 r63664 2083 2083 self.view.collection.trigger( 'update' ); 2084 2084 2085 // Open the theme preview. 2085 // Open the theme preview. The slug comes from the URL, so escape it. 2086 2086 self.view.collection.once( 'query:success', function() { 2087 $( 'div [data-slug="' + slug+ '"]' ).trigger( 'click' );2087 $( 'div.theme[data-slug="' + $.escapeSelector( slug ) + '"]' ).trigger( 'click' ); 2088 2088 }); 2089 2089
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)