WordPress.org

Make WordPress Core

Changeset 24390


Ignore:
Timestamp:
05/31/2013 05:23:48 AM (8 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: remove unused custom-font body class value. See #24445.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/functions.php

    r24351 r24390  
    462462 *
    463463 * Adds body classes to denote:
    464  * 1. Custom fonts enabled.
    465  * 2. Single or multiple authors.
    466  * 3. Active widgets in the sidebar to change the layout and spacing.
    467  * 4. When avatars are disabled in discussion settings.
     464 * 1. Single or multiple authors.
     465 * 2. Active widgets in the sidebar to change the layout and spacing.
     466 * 3. When avatars are disabled in discussion settings.
    468467 *
    469468 * @since Twenty Thirteen 1.0
     
    473472 */
    474473function twentythirteen_body_class( $classes ) {
    475 
    476     // Enable custom font class only if the font CSS is queued to load.
    477     if ( wp_style_is( 'twentythirteen-fonts', 'enqueued' ) )
    478         $classes[] = 'custom-font';
    479 
    480474    if ( ! is_multi_author() )
    481475        $classes[] = 'single-author';
Note: See TracChangeset for help on using the changeset viewer.