Ticket #56283: 56283.2.diff
File 56283.2.diff, 2.3 KB (added by , 20 months ago) |
---|
-
src/js/_enqueues/wp/theme.js
1694 1694 browse: function( section ) { 1695 1695 // Create a new collection with the proper theme data 1696 1696 // for each section. 1697 if ( 'block themes' === section ) {1697 if ( 'block-themes' === section ) { 1698 1698 // Get the themes by sending Ajax POST request to api.wordpress.org/themes 1699 1699 // or searching the local cache. 1700 1700 this.collection.query( { tag: 'full-site-editing' } ); -
src/wp-admin/theme-install.php
90 90 * 91 91 * Possible hook names include: 92 92 * 93 * - `install_themes_pre_block themes`93 * - `install_themes_pre_block-themes` 94 94 * - `install_themes_pre_dashboard` 95 95 * - `install_themes_pre_featured` 96 96 * - `install_themes_pre_new` … … 99 99 * - `install_themes_pre_upload` 100 100 * 101 101 * @since 2.8.0 102 * @since 6.1.0 Added `install_themes_pre_block themes` hook name.102 * @since 6.1.0 Added `install_themes_pre_block-themes` hook name. 103 103 */ 104 104 do_action( "install_themes_pre_{$tab}" ); 105 105 } … … 187 187 <ul class="filter-links"> 188 188 <li><a href="#" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></a></li> 189 189 <li><a href="#" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a></li> 190 <li><a href="#" data-sort="block themes"><?php _ex( 'Block Themes', 'themes' ); ?></a></li>190 <li><a href="#" data-sort="block-themes"><?php _ex( 'Block Themes', 'themes' ); ?></a></li> 191 191 <li><a href="#" data-sort="favorites"><?php _ex( 'Favorites', 'themes' ); ?></a></li> 192 192 </ul> 193 193 … … 266 266 * 267 267 * Possible hook names include: 268 268 * 269 * - `install_themes_block themes`269 * - `install_themes_block-themes` 270 270 * - `install_themes_dashboard` 271 271 * - `install_themes_featured` 272 272 * - `install_themes_new` … … 275 275 * - `install_themes_upload` 276 276 * 277 277 * @since 2.8.0 278 * @since 6.1.0 Added `install_themes_block themes` hook name.278 * @since 6.1.0 Added `install_themes_block-themes` hook name. 279 279 * 280 280 * @param int $paged Number of the current page of results being viewed. 281 281 */