Make WordPress Core

Ticket #27115: 27115-twenty-twelve.patch

File 27115-twenty-twelve.patch, 6.9 KB (added by netweb, 11 years ago)
  • src/wp-content/themes/twentytwelve/archive.php

     
    1010 * has tag.php for Tag archives, category.php for Category archives, and
    1111 * author.php for Author archives.
    1212 *
    13  * @link http://codex.wordpress.org/Template_Hierarchy
     13 * @link https://codex.wordpress.org/Template_Hierarchy
    1414 *
    1515 * @package WordPress
    1616 * @subpackage Twenty_Twelve
     
    6060        </section><!-- #primary -->
    6161
    6262<?php get_sidebar(); ?>
    63 <?php get_footer(); ?>
    64  No newline at end of file
     63<?php get_footer(); ?>
  • src/wp-content/themes/twentytwelve/author.php

     
    44 *
    55 * Used to display archive-type pages for posts by an author.
    66 *
    7  * @link http://codex.wordpress.org/Template_Hierarchy
     7 * @link https://codex.wordpress.org/Template_Hierarchy
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Twelve
     
    8181        </section><!-- #primary -->
    8282
    8383<?php get_sidebar(); ?>
    84 <?php get_footer(); ?>
    85  No newline at end of file
     84<?php get_footer(); ?>
  • src/wp-content/themes/twentytwelve/category.php

     
    44 *
    55 * Used to display archive-type pages for posts in a category.
    66 *
    7  * @link http://codex.wordpress.org/Template_Hierarchy
     7 * @link https://codex.wordpress.org/Template_Hierarchy
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Twelve
     
    4848        </section><!-- #primary -->
    4949
    5050<?php get_sidebar(); ?>
    51 <?php get_footer(); ?>
    52  No newline at end of file
     51<?php get_footer(); ?>
  • src/wp-content/themes/twentytwelve/functions.php

     
    66 * in the theme as custom template tags. Others are attached to action and
    77 * filter hooks in WordPress to change core functionality.
    88 *
    9  * When using a child theme (see http://codex.wordpress.org/Theme_Development and
    10  * http://codex.wordpress.org/Child_Themes), you can override certain functions
     9 * When using a child theme (see https://codex.wordpress.org/Theme_Development and
     10 * https://codex.wordpress.org/Child_Themes), you can override certain functions
    1111 * (those wrapped in a function_exists() call) by defining them first in your child theme's
    1212 * functions.php file. The child theme's functions.php file is included before the parent
    1313 * theme's file, so the child theme functions would be used.
     
    1515 * Functions that are not pluggable (not wrapped in function_exists()) are instead attached
    1616 * to a filter or action hook.
    1717 *
    18  * For more information on hooks, actions, and filters, @link http://codex.wordpress.org/Plugin_API
     18 * For more information on hooks, actions, and filters, @link https://codex.wordpress.org/Plugin_API
    1919 *
    2020 * @package WordPress
    2121 * @subpackage Twenty_Twelve
  • src/wp-content/themes/twentytwelve/image.php

     
    22/**
    33 * The template for displaying image attachments
    44 *
    5  * @link http://codex.wordpress.org/Template_Hierarchy
     5 * @link https://codex.wordpress.org/Template_Hierarchy
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twelve
     
    113113                </div><!-- #content -->
    114114        </div><!-- #primary -->
    115115
    116 <?php get_footer(); ?>
    117  No newline at end of file
     116<?php get_footer(); ?>
  • src/wp-content/themes/twentytwelve/inc/custom-header.php

     
    22/**
    33 * Implement an optional custom header for Twenty Twelve
    44 *
    5  * See http://codex.wordpress.org/Custom_Headers
     5 * See https://codex.wordpress.org/Custom_Headers
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twelve
     
    162162                        <img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
    163163                <?php endif; ?>
    164164        </div>
    165 <?php }
    166  No newline at end of file
     165<?php }
  • src/wp-content/themes/twentytwelve/index.php

     
    77 * It is used to display a page when nothing more specific matches a query.
    88 * For example, it puts together the home page when no home.php file exists.
    99 *
    10  * @link http://codex.wordpress.org/Template_Hierarchy
     10 * @link https://codex.wordpress.org/Template_Hierarchy
    1111 *
    1212 * @package WordPress
    1313 * @subpackage Twenty_Twelve
     
    6363        </div><!-- #primary -->
    6464
    6565<?php get_sidebar(); ?>
    66 <?php get_footer(); ?>
    67  No newline at end of file
     66<?php get_footer(); ?>
  • src/wp-content/themes/twentytwelve/rtl.css

     
    44It's easy, just a matter of overwriting all the horizontal positioning attributes
    55of your CSS stylesheet in a separate stylesheet file named rtl.css.
    66
    7 See http://codex.wordpress.org/Right_to_Left_Language_Support
     7See https://codex.wordpress.org/Right_to_Left_Language_Support
    88*/
    99
    1010
     
    234234                margin-right: 3.428571429rem;
    235235                margin-left: auto;
    236236        }
    237 }
    238  No newline at end of file
     237}
  • src/wp-content/themes/twentytwelve/tag.php

     
    44 *
    55 * Used to display archive-type pages for posts in a tag.
    66 *
    7  * @link http://codex.wordpress.org/Template_Hierarchy
     7 * @link https://codex.wordpress.org/Template_Hierarchy
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Twelve
     
    4949        </section><!-- #primary -->
    5050
    5151<?php get_sidebar(); ?>
    52 <?php get_footer(); ?>
    53  No newline at end of file
     52<?php get_footer(); ?>