Changeset 53908
- Timestamp:
- 08/19/2022 01:09:12 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
-
js/_enqueues/wp/theme.js (modified) (1 diff)
-
wp-admin/theme-install.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/theme.js
r53907 r53908 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. -
trunk/src/wp-admin/theme-install.php
r53907 r53908 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` … … 100 100 * 101 101 * @since 2.8.0 102 * @since 6.1.0 Added `install_themes_pre_blockthemes` hook name.102 * @since 6.1.0 Added the `install_themes_pre_block-themes` hook name. 103 103 */ 104 104 do_action( "install_themes_pre_{$tab}" ); … … 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> … … 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` … … 276 276 * 277 277 * @since 2.8.0 278 * @since 6.1.0 Added `install_themes_blockthemes` hook name.278 * @since 6.1.0 Added the `install_themes_block-themes` 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.