Changeset 60533
- Timestamp:
- 08/01/2025 11:27:03 AM (7 months ago)
- Location:
- trunk/src/wp-content/themes/twentyseventeen
- Files:
-
- 6 edited
-
functions.php (modified) (11 diffs)
-
inc/back-compat.php (modified) (1 diff)
-
inc/color-patterns.php (modified) (1 diff)
-
inc/custom-header.php (modified) (2 diffs)
-
inc/customizer.php (modified) (9 diffs)
-
inc/icon-functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r60494 r60533 245 245 246 246 /** 247 * Set the content width in pixels, based on the theme's design and stylesheet.247 * Sets the content width in pixels, based on the theme's design and stylesheet. 248 248 * 249 249 * Priority 0 to make it available to lower priority callbacks. … … 285 285 if ( ! function_exists( 'twentyseventeen_fonts_url' ) ) : 286 286 /** 287 * Register custom fonts.287 * Registers custom fonts. 288 288 * 289 289 * @since Twenty Seventeen 1.0 … … 310 310 311 311 /** 312 * Add preconnect for Google Fonts.312 * Adds preconnect for Google Fonts. 313 313 * 314 314 * @since Twenty Seventeen 1.0 … … 332 332 333 333 /** 334 * Register widget area.334 * Registers widget area. 335 335 * 336 336 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar … … 412 412 413 413 /** 414 * Add a pingback url auto-discovery header for singularly identifiable articles.414 * Adds a pingback url auto-discovery header for singularly identifiable articles. 415 415 */ 416 416 function twentyseventeen_pingback_header() { … … 422 422 423 423 /** 424 * Display custom color CSS.424 * Displays custom color CSS. 425 425 */ 426 426 function twentyseventeen_colors_css_wrap() { … … 552 552 553 553 /** 554 * Add custom image sizes attribute to enhance responsive image functionality554 * Adds custom image sizes attribute to enhance responsive image functionality 555 555 * for content images. 556 556 * … … 599 599 600 600 /** 601 * Add custom image sizes attribute to enhance responsive image functionality601 * Adds custom image sizes attribute to enhance responsive image functionality 602 602 * for post thumbnails. 603 603 * … … 623 623 624 624 /** 625 * Use front-page.php when Front page displays is set to a static page.625 * Uses front-page.php when Front page displays is set to a static page. 626 626 * 627 627 * @since Twenty Seventeen 1.0 … … 693 693 694 694 /** 695 * Show the featured image below the header on single posts and pages, unless the696 * page is the front page.697 * 698 * Use the filter `twentyseventeen_should_show_featured_image` in a child theme or695 * Shows the featured image below the header on single posts and pages, unless 696 * the page is the front page. 697 * 698 * Uses the filter `twentyseventeen_should_show_featured_image` in a child theme or 699 699 * plugin to change when the image is shown. This example prevents the image 700 700 * from showing: … … 750 750 751 751 /** 752 * Register block patterns and pattern categories.752 * Registers block patterns and pattern categories. 753 753 * 754 754 * @since Twenty Seventeen 3.8 -
trunk/src/wp-content/themes/twentyseventeen/inc/back-compat.php
r51155 r60533 13 13 14 14 /** 15 * Prevent switching to Twenty Seventeen on old versions of WordPress.15 * Prevents switching to Twenty Seventeen on old versions of WordPress. 16 16 * 17 17 * Switches to the default theme. -
trunk/src/wp-content/themes/twentyseventeen/inc/color-patterns.php
r48782 r60533 9 9 10 10 /** 11 * Generate the CSS for the current custom color scheme.11 * Generates the CSS for the current custom color scheme. 12 12 */ 13 13 function twentyseventeen_custom_colors_css() { -
trunk/src/wp-content/themes/twentyseventeen/inc/custom-header.php
r59832 r60533 11 11 12 12 /** 13 * Set up the WordPress core custom header feature.13 * Sets up the WordPress core custom header feature. 14 14 * 15 15 * @uses twentyseventeen_header_style() … … 119 119 120 120 /** 121 * Customize video play/pause button in the custom header.121 * Customizes video play/pause button in the custom header. 122 122 * 123 123 * @param array $settings Video settings. -
trunk/src/wp-content/themes/twentyseventeen/inc/customizer.php
r60478 r60533 9 9 10 10 /** 11 * Add postMessage support for site title and description for the Theme Customizer.11 * Adds postMessage support for site title and description for the Theme Customizer. 12 12 * 13 13 * @param WP_Customize_Manager $wp_customize Theme Customizer object. … … 163 163 164 164 /** 165 * Sanitize the page layout options.165 * Sanitizes the page layout options. 166 166 * 167 167 * @param string $input Page layout. … … 181 181 182 182 /** 183 * Sanitize the colorscheme.183 * Sanitizes the colorscheme. 184 184 * 185 185 * @param string $input Color scheme. … … 196 196 197 197 /** 198 * Render the site title for the selective refresh partial.198 * Renders the site title for the selective refresh partial. 199 199 * 200 200 * @since Twenty Seventeen 1.0 … … 209 209 210 210 /** 211 * Render the site tagline for the selective refresh partial.211 * Renders the site tagline for the selective refresh partial. 212 212 * 213 213 * @since Twenty Seventeen 1.0 … … 222 222 223 223 /** 224 * Return whether we're previewing the front page and it's a static page.224 * Returns whether we're previewing the front page and it's a static page. 225 225 * 226 226 * This function is an alias for twentyseventeen_is_frontpage(). … … 236 236 237 237 /** 238 * Return whether we're on a view that supports a one or two column layout.238 * Returns whether we're on a view that supports a one or two column layout. 239 239 */ 240 240 function twentyseventeen_is_view_with_layout_option() { … … 244 244 245 245 /** 246 * Bind JS handlers to instantly live-preview changes.246 * Binds JS handlers to instantly live-preview changes. 247 247 */ 248 248 function twentyseventeen_customize_preview_js() { … … 252 252 253 253 /** 254 * Load dynamic logic for the customizer controls area.254 * Loads dynamic logic for the customizer controls area. 255 255 */ 256 256 function twentyseventeen_panels_js() { -
trunk/src/wp-content/themes/twentyseventeen/inc/icon-functions.php
r57275 r60533 9 9 10 10 /** 11 * Add SVG definitions to the footer.11 * Adds SVG definitions to the footer. 12 12 */ 13 13 function twentyseventeen_include_svg_icons() { … … 23 23 24 24 /** 25 * Return SVG markup.25 * Returns SVG markup. 26 26 * 27 27 * @param array $args { … … 116 116 117 117 /** 118 * Display SVG icons in social links menu.118 * Displays SVG icons in social links menu. 119 119 * 120 120 * @param string $item_output The menu item's starting HTML output. … … 142 142 143 143 /** 144 * Add dropdown icon if menu item has children.144 * Adds dropdown icon if menu item has children. 145 145 * 146 146 * @param string $title The menu item's title.
Note: See TracChangeset
for help on using the changeset viewer.