Changeset 60521
- Timestamp:
- 07/29/2025 12:56:16 PM (4 months ago)
- Location:
- trunk/src/wp-content/themes/twentyfifteen
- Files:
-
- 7 edited
-
functions.php (modified) (10 diffs)
-
inc/back-compat.php (modified) (4 diffs)
-
inc/custom-header.php (modified) (2 diffs)
-
inc/customizer.php (modified) (6 diffs)
-
inc/template-tags.php (modified) (6 diffs)
-
js/color-scheme-control.js (modified) (1 diff)
-
js/functions.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/functions.php
r60159 r60521 3 3 * Twenty Fifteen functions and definitions 4 4 * 5 * Set up the theme and provides some helper functions, which are used in the5 * Sets up the theme and provides some helper functions, which are used in the 6 6 * theme as custom template tags. Others are attached to action and filter 7 7 * hooks in WordPress to change core functionality. … … 339 339 340 340 /** 341 * Register widget area.341 * Registers widget area. 342 342 * 343 343 * @since Twenty Fifteen 1.0 … … 362 362 if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) : 363 363 /** 364 * Register fonts for Twenty Fifteen.364 * Registers fonts for Twenty Fifteen. 365 365 * 366 366 * @since Twenty Fifteen 1.0 … … 418 418 419 419 /** 420 * Enqueue scripts and styles.420 * Enqueues scripts and styles. 421 421 * 422 422 * @since Twenty Fifteen 1.0 … … 479 479 480 480 /** 481 * Enqueue styles for the block-based editor.481 * Enqueues styles for the block-based editor. 482 482 * 483 483 * @since Twenty Fifteen 2.1 … … 494 494 495 495 /** 496 * Add preconnect for Google Fonts.496 * Adds preconnect for Google Fonts. 497 497 * 498 498 * @since Twenty Fifteen 1.7 … … 520 520 521 521 /** 522 * Add featured image as background image to post navigation elements.522 * Adds featured image as background image to post navigation elements. 523 523 * 524 524 * @since Twenty Fifteen 1.0 … … 562 562 563 563 /** 564 * Display descriptions in main navigation.564 * Displays descriptions in main navigation. 565 565 * 566 566 * @since Twenty Fifteen 1.0 … … 582 582 583 583 /** 584 * Add a `screen-reader-text` class to the search form's submit button.584 * Adds a `screen-reader-text` class to the search form's submit button. 585 585 * 586 586 * @since Twenty Fifteen 1.0 … … 658 658 659 659 /** 660 * Register block patterns and pattern categories.660 * Registers block patterns and pattern categories. 661 661 * 662 662 * @since Twenty Fifteen 3.9 -
trunk/src/wp-content/themes/twentyfifteen/inc/back-compat.php
r51155 r60521 13 13 14 14 /** 15 * Prevent switching to Twenty Fifteen on old versions of WordPress.15 * Prevents switching to Twenty Fifteen on old versions of WordPress. 16 16 * 17 17 * Switches to the default theme. … … 27 27 28 28 /** 29 * Add message for unsuccessful theme switch.29 * Adds message for unsuccessful theme switch. 30 30 * 31 31 * Prints an update nag after an unsuccessful attempt to switch to … … 46 46 47 47 /** 48 * Prevent the Customizer from being loaded on WordPress versions prior to 4.1.48 * Prevents the Customizer from being loaded on WordPress versions prior to 4.1. 49 49 * 50 50 * @since Twenty Fifteen 1.0 … … 66 66 67 67 /** 68 * Prevent the Theme Preview from being loaded on WordPress versions prior to 4.1.68 * Prevents the Theme Preview from being loaded on WordPress versions prior to 4.1. 69 69 * 70 70 * @since Twenty Fifteen 1.0 -
trunk/src/wp-content/themes/twentyfifteen/inc/custom-header.php
r59832 r60521 9 9 10 10 /** 11 * Set up the WordPress core custom header feature.11 * Sets up the WordPress core custom header feature. 12 12 * 13 13 * @uses twentyfifteen_header_style() … … 48 48 49 49 /** 50 * Convert HEX to RGB.50 * Converts HEX to RGB. 51 51 * 52 52 * @since Twenty Fifteen 1.0 -
trunk/src/wp-content/themes/twentyfifteen/inc/customizer.php
r56526 r60521 9 9 10 10 /** 11 * Add postMessage support for site title and description for the Customizer.11 * Adds postMessage support for site title and description for the Customizer. 12 12 * 13 13 * @since Twenty Fifteen 1.0 … … 114 114 115 115 /** 116 * Render the site title for the selective refresh partial.116 * Renders the site title for the selective refresh partial. 117 117 * 118 118 * @since Twenty Fifteen 1.5 … … 127 127 128 128 /** 129 * Render the site tagline for the selective refresh partial.129 * Renders the site tagline for the selective refresh partial. 130 130 * 131 131 * @since Twenty Fifteen 1.5 … … 140 140 141 141 /** 142 * Register color schemes for Twenty Fifteen.142 * Registers color schemes for Twenty Fifteen. 143 143 * 144 144 * Can be filtered with {@see 'twentyfifteen_color_schemes'}. … … 253 253 if ( ! function_exists( 'twentyfifteen_get_color_scheme' ) ) : 254 254 /** 255 * Get the current Twenty Fifteen color scheme.255 * Gets the current Twenty Fifteen color scheme. 256 256 * 257 257 * @since Twenty Fifteen 1.0 … … 771 771 772 772 /** 773 * Output an Underscore template for generating CSS for the color scheme.773 * Outputs an Underscore template for generating CSS for the color scheme. 774 774 * 775 775 * The template generates the css dynamically for instant display in the Customizer -
trunk/src/wp-content/themes/twentyfifteen/inc/template-tags.php
r59110 r60521 12 12 if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) : 13 13 /** 14 * Display navigation to next/previous comments when applicable.14 * Displays navigation to next/previous comments when applicable. 15 15 * 16 16 * @since Twenty Fifteen 1.0 … … 151 151 152 152 /** 153 * Determine whether blog/site has more than one category.153 * Determines whether blog/site has more than one category. 154 154 * 155 155 * @since Twenty Fifteen 1.0 … … 187 187 188 188 /** 189 * Flush out the transients used in {@see twentyfifteen_categorized_blog()}.189 * Flushes out the transients used in {@see twentyfifteen_categorized_blog()}. 190 190 * 191 191 * @since Twenty Fifteen 1.0 … … 200 200 if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) : 201 201 /** 202 * Display an optional post thumbnail.202 * Displays an optional post thumbnail. 203 203 * 204 204 * Wraps the post thumbnail in an anchor element on index views, or a div … … 234 234 if ( ! function_exists( 'twentyfifteen_get_link_url' ) ) : 235 235 /** 236 * Return the post URL.236 * Returns the post URL. 237 237 * 238 238 * Falls back to the post permalink if no URL is found in the post. … … 289 289 if ( ! function_exists( 'wp_body_open' ) ) : 290 290 /** 291 * Fire the wp_body_open action.291 * Fires the wp_body_open action. 292 292 * 293 293 * Added for backward compatibility to support pre-5.2.0 WordPress versions. -
trunk/src/wp-content/themes/twentyfifteen/js/color-scheme-control.js
r30893 r60521 1 1 /* global colorScheme, Color */ 2 2 /** 3 * Add a listener to the Color Scheme control to update other color controls to new values/defaults.4 * Also trigger an update of the Color Scheme CSS when a color is changed.3 * Adds a listener to the Color Scheme control to update other color controls to new values/defaults. 4 * Also triggers an update of the Color Scheme CSS when a color is changed. 5 5 */ 6 6 -
trunk/src/wp-content/themes/twentyfifteen/js/functions.js
r59916 r60521 93 93 94 94 /** 95 * Add or removeARIA attributes.95 * Adds or removes ARIA attributes. 96 96 * 97 97 * Uses jQuery's width() function to determine the size of the window and add
Note: See TracChangeset
for help on using the changeset viewer.