File tree Expand file tree Collapse file tree
wp-content/themes/twentyfifteen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737/**
3838 * Twenty Fifteen only works in WordPress 4.1 or later.
39+ *
40+ * @global string $wp_version The WordPress version string.
3941 */
4042if ( version_compare ( $ GLOBALS ['wp_version ' ], '4.1-alpha ' , '< ' ) ) {
4143 require get_template_directory () . '/inc/back-compat.php ' ;
5052 * as indicating support for post thumbnails.
5153 *
5254 * @since Twenty Fifteen 1.0
55+ *
56+ * @global string $wp_version The WordPress version string.
5357 */
5458 function twentyfifteen_setup () {
5559
@@ -499,6 +503,8 @@ function twentyfifteen_block_editor_styles() {
499503 * @since Twenty Fifteen 1.7
500504 * @deprecated Twenty Fifteen 3.4 Disabled filter because, by default, fonts are self-hosted.
501505 *
506+ * @global string $wp_version The WordPress version string.
507+ *
502508 * @param array $urls URLs to print for resource hints.
503509 * @param string $relation_type The relation type the URLs are printed.
504510 * @return array URLs to print for resource hints.
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ function twentyfifteen_switch_theme() {
3232 * Twenty Fifteen on WordPress versions prior to 4.1.
3333 *
3434 * @since Twenty Fifteen 1.0
35+ *
36+ * @global string $wp_version The WordPress version string.
3537 */
3638function twentyfifteen_upgrade_notice () {
3739 printf (
@@ -48,6 +50,8 @@ function twentyfifteen_upgrade_notice() {
4850 * Prevents the Customizer from being loaded on WordPress versions prior to 4.1.
4951 *
5052 * @since Twenty Fifteen 1.0
53+ *
54+ * @global string $wp_version The WordPress version string.
5155 */
5256function twentyfifteen_customize () {
5357 wp_die (
@@ -68,6 +72,8 @@ function twentyfifteen_customize() {
6872 * Prevents the Theme Preview from being loaded on WordPress versions prior to 4.1.
6973 *
7074 * @since Twenty Fifteen 1.0
75+ *
76+ * @global string $wp_version The WordPress version string.
7177 */
7278function twentyfifteen_preview () {
7379 if ( isset ( $ _GET ['preview ' ] ) ) {
Original file line number Diff line number Diff line change 1616 *
1717 * @global string $wp_version
1818 */
19- $ wp_version = '7.1-alpha-62467 ' ;
19+ $ wp_version = '7.1-alpha-62468 ' ;
2020
2121/**
2222 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
You can’t perform that action at this time.
0 commit comments