WordPress.org

Making WordPress.org

Changeset 4391


Ignore:
Timestamp:
11/21/2016 06:53:32 AM (5 years ago)
Author:
dd32
Message:

Plugin Directory: Remove the custom background and nav menu support from the theme - we're not using it.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php

    r4387 r4391  
    2525    // Don't include Adjacent Posts functionality
    2626    remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
    27 
    28     // This theme uses wp_nav_menu() in one location.
    29     register_nav_menus( array(
    30         'primary' => esc_html__( 'Primary', 'wporg-plugins' ),
    31     ) );
    3227
    3328    /*
     
    4338    ) );
    4439
    45     // Set up the WordPress core custom background feature.
    46     add_theme_support( 'custom-background', apply_filters( 'wporg_plugins_custom_background_args', array(
    47         'default-color' => 'ffffff',
    48         'default-image' => '',
    49     ) ) );
    5040}
    5141add_action( 'after_setup_theme', __NAMESPACE__ . '\setup' );
Note: See TracChangeset for help on using the changeset viewer.