Changeset 47794 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 05/14/2020 12:49:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r47790 r47794 257 257 * 258 258 * @since 3.1.0 259 * @since 3.2.0 Added 'Gray' color and 'Featured Image Header', 'Featured Images', 260 * 'Full Width Template', and 'Post Formats' features. 261 * @since 3.5.0 Added 'Flexible Header' feature. 262 * @since 3.8.0 Renamed 'Width' filter to 'Layout'. 263 * @since 3.8.0 Renamed 'Fixed Width' and 'Flexible Width' options 264 * to 'Fixed Layout' and 'Fluid Layout'. 265 * @since 3.8.0 Added 'Accessibility Ready' feature and 'Responsive Layout' option. 266 * @since 3.9.0 Combined 'Layout' and 'Columns' filters. 267 * @since 4.6.0 Removed 'Colors' filter. 268 * @since 4.6.0 Added 'Grid Layout' option. 269 * Removed 'Fixed Layout', 'Fluid Layout', and 'Responsive Layout' options. 270 * @since 4.6.0 Added 'Custom Logo' and 'Footer Widgets' features. 271 * Removed 'Blavatar' feature. 272 * @since 4.6.0 Added 'Blog', 'E-Commerce', 'Education', 'Entertainment', 'Food & Drink', 273 * 'Holiday', 'News', 'Photography', and 'Portfolio' subjects. 274 * Removed 'Photoblogging' and 'Seasonal' subjects. 275 * @since 4.9.0 Reordered the filters from 'Layout', 'Features', 'Subject' 276 * to 'Subject', 'Features', 'Layout'. 277 * @since 4.9.0 Removed 'BuddyPress', 'Custom Menu', 'Flexible Header', 278 * 'Front Page Posting', 'Microformats', 'RTL Language Support', 279 * 'Threaded Comments', and 'Translation Ready' features. 280 * @since 5.5.0 Added 'Block Editor Styles' and 'Wide Blocks' features. 259 281 * 260 282 * @param bool $api Optional. Whether try to fetch tags from the WordPress.org API. Defaults to true. … … 335 357 ); 336 358 359 $wporg_features = array(); 360 337 361 // Loop over the wp.org canonical list and apply translations. 338 $wporg_features = array();339 362 foreach ( (array) $feature_list as $feature_category => $feature_items ) { 340 363 if ( isset( $category_translations[ $feature_category ] ) ) { 341 364 $feature_category = $category_translations[ $feature_category ]; 342 365 } 366 343 367 $wporg_features[ $feature_category ] = array(); 344 368
Note: See TracChangeset
for help on using the changeset viewer.