Make WordPress Core

Ticket #27115: 27115-twenty-eleven.patch

File 27115-twenty-eleven.patch, 8.2 KB (added by netweb, 10 years ago)
  • src/wp-content/themes/twentyeleven/archive.php

     
    55 * Used to display archive-type pages if nothing more specific matches a query.
    66 * For example, puts together date-based pages if no date.php file exists.
    77 *
    8  * @link http://codex.wordpress.org/Template_Hierarchy
     8 * @link https://codex.wordpress.org/Template_Hierarchy
    99 *
    1010 * @package WordPress
    1111 * @subpackage Twenty_Eleven
     
    6969                </section><!-- #primary -->
    7070
    7171<?php get_sidebar(); ?>
    72 <?php get_footer(); ?>
    73  No newline at end of file
     72<?php get_footer(); ?>
  • src/wp-content/themes/twentyeleven/content-aside.php

     
    44 *
    55 * Used on index and archive pages.
    66 *
    7  * @link http://codex.wordpress.org/Post_Formats
     7 * @link https://codex.wordpress.org/Post_Formats
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Eleven
  • src/wp-content/themes/twentyeleven/content-gallery.php

     
    44 *
    55 * Used on index and archive pages.
    66 *
    7  * @link http://codex.wordpress.org/Post_Formats
     7 * @link https://codex.wordpress.org/Post_Formats
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Eleven
  • src/wp-content/themes/twentyeleven/content-image.php

     
    44 *
    55 * Used on index and archive pages.
    66 *
    7  * @link http://codex.wordpress.org/Post_Formats
     7 * @link https://codex.wordpress.org/Post_Formats
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Eleven
  • src/wp-content/themes/twentyeleven/content-link.php

     
    44 *
    55 * Used on index and archive pages
    66 *
    7  * @link http://codex.wordpress.org/Post_Formats
     7 * @link https://codex.wordpress.org/Post_Formats
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Eleven
  • src/wp-content/themes/twentyeleven/content-status.php

     
    44 *
    55 * Used on index and archive pages
    66 *
    7  * @link http://codex.wordpress.org/Post_Formats
     7 * @link https://codex.wordpress.org/Post_Formats
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Eleven
  • src/wp-content/themes/twentyeleven/functions.php

     
    99 * The first function, twentyeleven_setup(), sets up the theme by registering support
    1010 * for various features in WordPress, such as post thumbnails, navigation menus, and the like.
    1111 *
    12  * When using a child theme (see http://codex.wordpress.org/Theme_Development and
    13  * http://codex.wordpress.org/Child_Themes), you can override certain functions
     12 * When using a child theme (see https://codex.wordpress.org/Theme_Development and
     13 * https://codex.wordpress.org/Child_Themes), you can override certain functions
    1414 * (those wrapped in a function_exists() call) by defining them first in your child theme's
    1515 * functions.php file. The child theme's functions.php file is included before the parent
    1616 * theme's file, so the child theme functions would be used.
     
    3131 * }
    3232 * </code>
    3333 *
    34  * For more information on hooks, actions, and filters, see http://codex.wordpress.org/Plugin_API.
     34 * For more information on hooks, actions, and filters, see https://codex.wordpress.org/Plugin_API.
    3535 *
    3636 * @package WordPress
    3737 * @subpackage Twenty_Eleven
  • src/wp-content/themes/twentyeleven/inc/theme-options.php

     
    117117                        '<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>';
    118118
    119119        $sidebar = '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' .
    120                 '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .
    121                 '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>';
     120                '<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .
     121                '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>';
    122122
    123123        $screen = get_current_screen();
    124124
     
    583583function twentyeleven_customize_preview_js() {
    584584        wp_enqueue_script( 'twentyeleven-customizer', get_template_directory_uri() . '/inc/theme-customizer.js', array( 'customize-preview' ), '20120523', true );
    585585}
    586 add_action( 'customize_preview_init', 'twentyeleven_customize_preview_js' );
    587  No newline at end of file
     586add_action( 'customize_preview_init', 'twentyeleven_customize_preview_js' );
  • src/wp-content/themes/twentyeleven/inc/widgets.php

     
    44 *
    55 * Handles displaying Aside, Link, Status, and Quote Posts available with Twenty Eleven.
    66 *
    7  * @link http://codex.wordpress.org/Widgets_API#Developing_Widgets
     7 * @link https://codex.wordpress.org/Widgets_API#Developing_Widgets
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Eleven
     
    171171                        <input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p>
    172172                <?php
    173173        }
    174 }
    175  No newline at end of file
     174}
  • src/wp-content/themes/twentyeleven/index.php

     
    66 * and one of the two required files for a theme (the other being style.css).
    77 * It is used to display a page when nothing more specific matches a query.
    88 * E.g., it puts together the home page when no home.php file exists.
    9  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     9 * Learn more: https://codex.wordpress.org/Template_Hierarchy
    1010 *
    1111 * @package WordPress
    1212 * @subpackage Twenty_Eleven
     
    4949                </div><!-- #primary -->
    5050
    5151<?php get_sidebar(); ?>
    52 <?php get_footer(); ?>
    53  No newline at end of file
     52<?php get_footer(); ?>
  • src/wp-content/themes/twentyeleven/rtl.css

     
    55it's just a matter of overwriting all the horizontal positioning attributes
    66of your CSS stylesheet in a separate stylesheet file named rtl.css.
    77
    8 http://codex.wordpress.org/Right_to_Left_Language_Support
     8https://codex.wordpress.org/Right_to_Left_Language_Support
    99
    1010*/
    1111