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' ); |
| 346 | 346 | * Add preconnect for Google Fonts. |
| 347 | 347 | * |
| 348 | 348 | * @since Twenty Thirteen 2.1 |
| | 349 | * |
| 349 | 350 | * @deprecated Twenty Thirteen 3.8 Disabled filter because, by default, fonts are self-hosted. |
| 350 | 351 | * |
| | 352 | * @global string $wp_version WordPress version. |
| | 353 | * |
| 351 | 354 | * @param array $urls URLs to print for resource hints. |
| 352 | 355 | * @param string $relation_type The relation type the URLs are printed. |
| 353 | 356 | * @return array URLs to print for resource hints. |
| … |
… |
if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : |
| 474 | 477 | * Display navigation to next/previous set of posts when applicable. |
| 475 | 478 | * |
| 476 | 479 | * @since Twenty Thirteen 1.0 |
| | 480 | * |
| | 481 | * @global WP_Query $wp_query WordPress Query object. |
| 477 | 482 | */ |
| 478 | 483 | function twentythirteen_paging_nav() { |
| 479 | 484 | global $wp_query; |
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' ); |
| 32 | 32 | * Twenty Thirteen on WordPress versions prior to 3.6. |
| 33 | 33 | * |
| 34 | 34 | * @since Twenty Thirteen 1.0 |
| | 35 | * |
| | 36 | * @global string $wp_version WordPress version. |
| 35 | 37 | */ |
| 36 | 38 | function twentythirteen_upgrade_notice() { |
| 37 | 39 | printf( |
| … |
… |
function twentythirteen_upgrade_notice() { |
| 48 | 50 | * Prevent the Customizer from being loaded on WordPress versions prior to 3.6. |
| 49 | 51 | * |
| 50 | 52 | * @since Twenty Thirteen 1.0 |
| | 53 | * |
| | 54 | * @global string $wp_version WordPress version. |
| 51 | 55 | */ |
| 52 | 56 | function twentythirteen_customize() { |
| 53 | 57 | wp_die( |
| … |
… |
add_action( 'load-customize.php', 'twentythirteen_customize' ); |
| 68 | 72 | * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4. |
| 69 | 73 | * |
| 70 | 74 | * @since Twenty Thirteen 1.0 |
| | 75 | * |
| | 76 | * @global string $wp_version WordPress version. |
| 71 | 77 | */ |
| 72 | 78 | function twentythirteen_preview() { |
| 73 | 79 | if ( isset( $_GET['preview'] ) ) { |