Make WordPress Core

Ticket #34476: twentythirteen-custom-background.patch

File twentythirteen-custom-background.patch, 3.3 KB (added by ErKu, 9 years ago)

The patch!

  • src/wp-content/themes/twentythirteen/functions.php

     
    9393                'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video'
    9494        ) );
    9595
     96        // This theme allows users to set a custom background.
     97        add_theme_support( 'custom-background', apply_filters( 'twentythirteen_custom_background_args', array(
     98                'default-color' => 'ffffff',
     99        ) ) );
     100
    96101        // This theme uses wp_nav_menu() in one location.
    97102        register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );
    98103
  • src/wp-content/themes/twentythirteen/readme.txt

     
    55Stable tag: 1.6
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
     8Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
    99
    1010== Description ==
    1111The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
  • src/wp-content/themes/twentythirteen/style.css

     
    77Version: 1.6
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10 Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
     10Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
    1111Text Domain: twentythirteen
    1212
    1313This theme, like WordPress, is licensed under the GPL.
     
    107107}
    108108
    109109body {
     110        background-color: #fff;
    110111        color: #141412;
    111112        line-height: 1.5;
    112113        margin: 0;
     
    778779 */
    779780
    780781.site {
    781         background-color: #fff;
    782782        border-left: 1px solid #f2f2f2;
    783783        border-right: 1px solid #f2f2f2;
    784784        margin: 0 auto;