Make WordPress Core

Ticket #58606: 58606.2.patch

File 58606.2.patch, 2.2 KB (added by shailu25, 19 months ago)

Patch Added

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

    diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php
    index fe3d0caaed..a72a7d3598 100644
    a b add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); 
    346346 * Add preconnect for Google Fonts.
    347347 *
    348348 * @since Twenty Thirteen 2.1
     349 *
    349350 * @deprecated Twenty Thirteen 3.8 Disabled filter because, by default, fonts are self-hosted.
    350351 *
     352 * @global string $wp_version WordPress version.
     353 *
    351354 * @param array   $urls          URLs to print for resource hints.
    352355 * @param string  $relation_type The relation type the URLs are printed.
    353356 * @return array URLs to print for resource hints.
    if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : 
    474477         * Display navigation to next/previous set of posts when applicable.
    475478         *
    476479         * @since Twenty Thirteen 1.0
     480         *
     481         * @global WP_Query $wp_query WordPress Query object.
    477482         */
    478483        function twentythirteen_paging_nav() {
    479484                global $wp_query;
  • src/wp-content/themes/twentythirteen/inc/back-compat.php

    diff --git a/src/wp-content/themes/twentythirteen/inc/back-compat.php b/src/wp-content/themes/twentythirteen/inc/back-compat.php
    index 2f30c1c713..c60f843dbf 100644
    a b add_action( 'after_switch_theme', 'twentythirteen_switch_theme' ); 
    3232 * Twenty Thirteen on WordPress versions prior to 3.6.
    3333 *
    3434 * @since Twenty Thirteen 1.0
     35 *
     36 * @global string $wp_version WordPress version.
    3537 */
    3638function twentythirteen_upgrade_notice() {
    3739        printf(
    function twentythirteen_upgrade_notice() { 
    4850 * Prevent the Customizer from being loaded on WordPress versions prior to 3.6.
    4951 *
    5052 * @since Twenty Thirteen 1.0
     53 *
     54 * @global string $wp_version WordPress version.
    5155 */
    5256function twentythirteen_customize() {
    5357        wp_die(
    add_action( 'load-customize.php', 'twentythirteen_customize' ); 
    6872 * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4.
    6973 *
    7074 * @since Twenty Thirteen 1.0
     75 *
     76 * @global string $wp_version WordPress version.
    7177 */
    7278function twentythirteen_preview() {
    7379        if ( isset( $_GET['preview'] ) ) {