diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php
index 0a1b3a2e6d..a8ebce3234 100644
|
a
|
b
|
if ( ! function_exists( 'twentyfifteen_setup' ) ) : |
| 50 | 50 | * as indicating support for post thumbnails. |
| 51 | 51 | * |
| 52 | 52 | * @since Twenty Fifteen 1.0 |
| | 53 | * |
| | 54 | * @global string $wp_version The WordPress version string. |
| 53 | 55 | */ |
| 54 | 56 | function twentyfifteen_setup() { |
| 55 | 57 | |
| … |
… |
add_action( 'enqueue_block_editor_assets', 'twentyfifteen_block_editor_styles' ) |
| 498 | 500 | * @since Twenty Fifteen 1.7 |
| 499 | 501 | * @deprecated Twenty Fifteen 3.4 Disabled filter because, by default, fonts are self-hosted. |
| 500 | 502 | * |
| | 503 | * @global string $wp_version The WordPress version string. |
| | 504 | * |
| 501 | 505 | * @param array $urls URLs to print for resource hints. |
| 502 | 506 | * @param string $relation_type The relation type the URLs are printed. |
| 503 | 507 | * @return array URLs to print for resource hints. |
diff --git a/src/wp-content/themes/twentyfifteen/inc/back-compat.php b/src/wp-content/themes/twentyfifteen/inc/back-compat.php
index 6b871f5e0e..29e2674d12 100644
|
a
|
b
|
add_action( 'after_switch_theme', 'twentyfifteen_switch_theme' ); |
| 32 | 32 | * Twenty Fifteen on WordPress versions prior to 4.1. |
| 33 | 33 | * |
| 34 | 34 | * @since Twenty Fifteen 1.0 |
| | 35 | * |
| | 36 | * @global string $wp_version The WordPress version string. |
| 35 | 37 | */ |
| 36 | 38 | function twentyfifteen_upgrade_notice() { |
| 37 | 39 | printf( |
| … |
… |
function twentyfifteen_upgrade_notice() { |
| 48 | 50 | * Prevent the Customizer from being loaded on WordPress versions prior to 4.1. |
| 49 | 51 | * |
| 50 | 52 | * @since Twenty Fifteen 1.0 |
| | 53 | * |
| | 54 | * @global string $wp_version The WordPress version string. |
| 51 | 55 | */ |
| 52 | 56 | function twentyfifteen_customize() { |
| 53 | 57 | wp_die( |
| … |
… |
add_action( 'load-customize.php', 'twentyfifteen_customize' ); |
| 68 | 72 | * Prevent the Theme Preview from being loaded on WordPress versions prior to 4.1. |
| 69 | 73 | * |
| 70 | 74 | * @since Twenty Fifteen 1.0 |
| | 75 | * |
| | 76 | * @global string $wp_version The WordPress version string. |
| 71 | 77 | */ |
| 72 | 78 | function twentyfifteen_preview() { |
| 73 | 79 | if ( isset( $_GET['preview'] ) ) { |
diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php
index f6db24f3c1..30cf025384 100644
|
a
|
b
|
add_action( 'after_setup_theme', 'twentyfourteen_setup' ); |
| 226 | 226 | * Adjust content_width value for image attachment template. |
| 227 | 227 | * |
| 228 | 228 | * @since Twenty Fourteen 1.0 |
| | 229 | * |
| | 230 | * @global int $content_width Content width. |
| 229 | 231 | */ |
| 230 | 232 | function twentyfourteen_content_width() { |
| 231 | 233 | if ( is_attachment() && wp_attachment_is_image() ) { |
| … |
… |
add_action( 'admin_print_scripts-appearance_page_custom-header', 'twentyfourteen |
| 417 | 419 | * @since Twenty Fourteen 1.9 |
| 418 | 420 | * @deprecated Twenty Fourteen 3.6 Disabled filter because, by default, fonts are self-hosted. |
| 419 | 421 | * |
| | 422 | * @global string $wp_version The WordPress version string. |
| | 423 | * |
| 420 | 424 | * @param array $urls URLs to print for resource hints. |
| 421 | 425 | * @param string $relation_type The relation type the URLs are printed. |
| 422 | 426 | * @return array URLs to print for resource hints. |
| … |
… |
if ( ! function_exists( 'twentyfourteen_list_authors' ) ) : |
| 524 | 528 | * Print a list of all site contributors who published at least one post. |
| 525 | 529 | * |
| 526 | 530 | * @since Twenty Fourteen 1.0 |
| | 531 | * |
| | 532 | * @global string $wp_version The WordPress version string. |
| 527 | 533 | */ |
| 528 | 534 | function twentyfourteen_list_authors() { |
| 529 | 535 | $args = array( |
diff --git a/src/wp-content/themes/twentyfourteen/inc/back-compat.php b/src/wp-content/themes/twentyfourteen/inc/back-compat.php
index a0e0b118d6..36fe3a6601 100644
|
a
|
b
|
add_action( 'after_switch_theme', 'twentyfourteen_switch_theme' ); |
| 32 | 32 | * Twenty Fourteen on WordPress versions prior to 3.6. |
| 33 | 33 | * |
| 34 | 34 | * @since Twenty Fourteen 1.0 |
| | 35 | * |
| | 36 | * @global string $wp_version The WordPress version string. |
| 35 | 37 | */ |
| 36 | 38 | function twentyfourteen_upgrade_notice() { |
| 37 | 39 | printf( |
| … |
… |
function twentyfourteen_upgrade_notice() { |
| 48 | 50 | * Prevent the Customizer from being loaded on WordPress versions prior to 3.6. |
| 49 | 51 | * |
| 50 | 52 | * @since Twenty Fourteen 1.0 |
| | 53 | * |
| | 54 | * @global string $wp_version The WordPress version string. |
| 51 | 55 | */ |
| 52 | 56 | function twentyfourteen_customize() { |
| 53 | 57 | wp_die( |
| … |
… |
add_action( 'load-customize.php', 'twentyfourteen_customize' ); |
| 68 | 72 | * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4. |
| 69 | 73 | * |
| 70 | 74 | * @since Twenty Fourteen 1.0 |
| | 75 | * |
| | 76 | * @global string $wp_version The WordPress version string. |
| 71 | 77 | */ |
| 72 | 78 | function twentyfourteen_preview() { |
| 73 | 79 | if ( isset( $_GET['preview'] ) ) { |
diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php
index 3e0c3a957f..18f067acf4 100644
|
a
|
b
|
add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); |
| 355 | 355 | * Add preconnect for Google Fonts. |
| 356 | 356 | * |
| 357 | 357 | * @since Twenty Thirteen 2.1 |
| | 358 | * |
| 358 | 359 | * @deprecated Twenty Thirteen 3.8 Disabled filter because, by default, fonts are self-hosted. |
| 359 | 360 | * |
| | 361 | * @global string $wp_version WordPress version. |
| | 362 | * |
| 360 | 363 | * @param array $urls URLs to print for resource hints. |
| 361 | 364 | * @param string $relation_type The relation type the URLs are printed. |
| 362 | 365 | * @return array URLs to print for resource hints. |
| … |
… |
if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : |
| 483 | 486 | * Display navigation to next/previous set of posts when applicable. |
| 484 | 487 | * |
| 485 | 488 | * @since Twenty Thirteen 1.0 |
| | 489 | * |
| | 490 | * @global WP_Query $wp_query WordPress Query object. |
| 486 | 491 | */ |
| 487 | 492 | function twentythirteen_paging_nav() { |
| 488 | 493 | 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'] ) ) { |