Changeset 53907
- Timestamp:
- 08/18/2022 02:07:53 PM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/theme.js
r53906 r53907 1696 1696 // for each section. 1697 1697 if ( 'blockthemes' === section ) { 1698 1699 var request = { tag: 'full-site-editing' };1700 1701 1698 // Get the themes by sending Ajax POST request to api.wordpress.org/themes 1702 1699 // or searching the local cache. 1703 this.collection.query( request ); 1704 return; 1705 1700 this.collection.query( { tag: 'full-site-editing' } ); 1706 1701 } else { 1707 1702 this.collection.query( { browse: section } ); -
trunk/src/wp-admin/theme-install.php
r53906 r53907 91 91 * Possible hook names include: 92 92 * 93 * - `install_themes_pre_blockthemes` 93 94 * - `install_themes_pre_dashboard` 94 95 * - `install_themes_pre_featured` … … 97 98 * - `install_themes_pre_updated` 98 99 * - `install_themes_pre_upload` 99 * - `install_themes_pre_blockthemes`100 100 * 101 101 * @since 2.8.0 102 * @since 6.1.0 Added `install_themes_pre_blockthemes` .102 * @since 6.1.0 Added `install_themes_pre_blockthemes` hook name. 103 103 */ 104 104 do_action( "install_themes_pre_{$tab}" ); … … 267 267 * Possible hook names include: 268 268 * 269 * - `install_themes_blockthemes` 269 270 * - `install_themes_dashboard` 270 271 * - `install_themes_featured` … … 273 274 * - `install_themes_updated` 274 275 * - `install_themes_upload` 275 * - `install_themes_blockthemes`276 276 * 277 277 * @since 2.8.0 278 * @since 6.1.0 Added `install_themes_blockthemes` .278 * @since 6.1.0 Added `install_themes_blockthemes` hook name. 279 279 * 280 280 * @param int $paged Number of the current page of results being viewed.
Note: See TracChangeset
for help on using the changeset viewer.