Make WordPress Core

Changeset 37287


Ignore:
Timestamp:
04/21/2016 09:10:03 PM (10 years ago)
Author:
ocean90
Message:

Themes: Update list of WordPress theme features.

  • Remove color tags.
  • Layout: Add Grid Layout, remove Fixed Layout, Fluid Layout, and Responsive Layout.
  • Features: Add Footer Widgets, remove Blavatar.
  • Subject: Add Blog, E-Commerce, Education, Entertainment, Food & Drink, Holiday, News, Photography and Portfolio, remove Photoblogging and Seasonal.

Props grapplerulrich, davewarfel.
Fixes #33407.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/theme.php

    r37209 r37287  
    219219        // Hard-coded list is used if api not accessible.
    220220        $features = array(
    221                         __( 'Colors' ) => array(
    222                                 'black'   => __( 'Black' ),
    223                                 'blue'    => __( 'Blue' ),
    224                                 'brown'   => __( 'Brown' ),
    225                                 'gray'    => __( 'Gray' ),
    226                                 'green'   => __( 'Green' ),
    227                                 'orange'  => __( 'Orange' ),
    228                                 'pink'    => __( 'Pink' ),
    229                                 'purple'  => __( 'Purple' ),
    230                                 'red'     => __( 'Red' ),
    231                                 'silver'  => __( 'Silver' ),
    232                                 'tan'     => __( 'Tan' ),
    233                                 'white'   => __( 'White' ),
    234                                 'yellow'  => __( 'Yellow' ),
    235                                 'dark'    => __( 'Dark' ),
    236                                 'light'   => __( 'Light' ),
    237                         ),
    238221
    239222                __( 'Layout' ) => array(
    240                         'fixed-layout'      => __( 'Fixed Layout' ),
    241                         'fluid-layout'      => __( 'Fluid Layout' ),
    242                         'responsive-layout' => __( 'Responsive Layout' ),
     223                        'grid-layout'   => __( 'Grid Layout' ),
    243224                        'one-column'    => __( 'One Column' ),
    244225                        'two-columns'   => __( 'Two Columns' ),
     
    251232                __( 'Features' ) => array(
    252233                        'accessibility-ready'   => __( 'Accessibility Ready' ),
    253                         'blavatar'              => __( 'Blavatar' ),
    254234                        'buddypress'            => __( 'BuddyPress' ),
    255235                        'custom-background'     => __( 'Custom Background' ),
     
    261241                        'featured-images'       => __( 'Featured Images' ),
    262242                        'flexible-header'       => __( 'Flexible Header' ),
     243                        'footer-widgets'        => __( 'Footer Widgets' ),
    263244                        'front-page-post-form'  => __( 'Front Page Posting' ),
    264245                        'full-width-template'   => __( 'Full Width Template' ),
     
    273254
    274255                __( 'Subject' )  => array(
    275                         'holiday'       => __( 'Holiday' ),
    276                         'photoblogging' => __( 'Photoblogging' ),
    277                         'seasonal'      => __( 'Seasonal' ),
     256                        'blog'           => __( 'Blog' ),
     257                        'e-commerce'     => __( 'E-Commerce' ),
     258                        'education'      => __( 'Education' ),
     259                        'entertainment'  => __( 'Entertainment' ),
     260                        'food-and-drink' => __( 'Food & Drink' ),
     261                        'holiday'        => __( 'Holiday' ),
     262                        'news'           => __( 'News' ),
     263                        'photography'    => __( 'Photography' ),
     264                        'portfolio'      => __( 'Portfolio' ),
    278265                )
    279266        );
Note: See TracChangeset for help on using the changeset viewer.