Changeset 60535
- Timestamp:
- 08/02/2025 01:26:26 PM (6 months ago)
- Location:
- trunk/src/wp-content/themes/twentynineteen
- Files:
-
- 7 edited
-
functions.php (modified) (6 diffs)
-
inc/back-compat.php (modified) (1 diff)
-
inc/color-patterns.php (modified) (1 diff)
-
inc/customizer.php (modified) (6 diffs)
-
inc/icon-functions.php (modified) (2 diffs)
-
inc/template-tags.php (modified) (3 diffs)
-
js/touch-keyboard-navigation.js (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/functions.php
r60495 r60535 191 191 192 192 /** 193 * Register widget area.193 * Registers widget area. 194 194 * 195 195 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar … … 236 236 237 237 /** 238 * Set the content width in pixels, based on the theme's design and stylesheet.238 * Sets the content width in pixels, based on the theme's design and stylesheet. 239 239 * 240 240 * Priority 0 to make it available to lower priority callbacks. … … 292 292 293 293 /** 294 * Fix skip link focus in IE11.294 * Fixes skip link focus in IE11. 295 295 * 296 296 * This does not enqueue the script because it is tiny and because it is only for IE11, … … 312 312 313 313 /** 314 * Enqueue supplemental block editor styles.314 * Enqueues supplemental block editor styles. 315 315 */ 316 316 function twentynineteen_editor_customizer_styles() { … … 327 327 328 328 /** 329 * Display custom color CSS in customizer and on frontend.329 * Displays custom color CSS in customizer and on frontend. 330 330 */ 331 331 function twentynineteen_colors_css_wrap() { … … 387 387 388 388 /** 389 * Register block patterns and pattern categories.389 * Registers block patterns and pattern categories. 390 390 * 391 391 * @since Twenty Nineteen 3.0 -
trunk/src/wp-content/themes/twentynineteen/inc/back-compat.php
r51155 r60535 13 13 14 14 /** 15 * Prevent switching to Twenty Nineteen on old versions of WordPress.15 * Prevents switching to Twenty Nineteen on old versions of WordPress. 16 16 * 17 17 * Switches to the default theme. -
trunk/src/wp-content/themes/twentynineteen/inc/color-patterns.php
r57712 r60535 9 9 10 10 /** 11 * Generate the CSS for the current primary color.11 * Generates the CSS for the current primary color. 12 12 */ 13 13 function twentynineteen_custom_colors_css() { -
trunk/src/wp-content/themes/twentynineteen/inc/customizer.php
r60478 r60535 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. … … 106 106 107 107 /** 108 * Render the site title for the selective refresh partial.108 * Renders the site title for the selective refresh partial. 109 109 * 110 110 * @return void … … 115 115 116 116 /** 117 * Render the site tagline for the selective refresh partial.117 * Renders the site tagline for the selective refresh partial. 118 118 * 119 119 * @return void … … 124 124 125 125 /** 126 * Bind JS handlers to instantly live-preview changes.126 * Binds JS handlers to instantly live-preview changes. 127 127 */ 128 128 function twentynineteen_customize_preview_js() { … … 132 132 133 133 /** 134 * Load dynamic logic for the customizer controls area.134 * Loads dynamic logic for the customizer controls area. 135 135 */ 136 136 function twentynineteen_panels_js() { … … 140 140 141 141 /** 142 * Sanitize custom color choice.142 * Sanitizes custom color choice. 143 143 * 144 144 * @param string $choice Whether image filter is active. -
trunk/src/wp-content/themes/twentynineteen/inc/icon-functions.php
r59103 r60535 39 39 40 40 /** 41 * Display SVG icons in social links menu.41 * Displays SVG icons in social links menu. 42 42 * 43 43 * @param string $item_output The menu item's starting HTML output. … … 62 62 63 63 /** 64 * Add a dropdown icon to top-level menu items.64 * Adds a dropdown icon to top-level menu items. 65 65 * 66 66 * @param string $item_output The menu item's starting HTML output. -
trunk/src/wp-content/themes/twentynineteen/inc/template-tags.php
r55276 r60535 203 203 if ( ! function_exists( 'twentynineteen_comment_form' ) ) : 204 204 /** 205 * D ocumentation for function.205 * Displays the comment form. 206 206 */ 207 207 function twentynineteen_comment_form( $order ) { … … 219 219 if ( ! function_exists( 'twentynineteen_the_posts_navigation' ) ) : 220 220 /** 221 * D ocumentation for function.221 * Displays the next and previous posts navigation. 222 222 */ 223 223 function twentynineteen_the_posts_navigation() { … … 242 242 if ( ! function_exists( 'wp_body_open' ) ) : 243 243 /** 244 * Fire the wp_body_open action.244 * Fires the wp_body_open action. 245 245 * 246 246 * Added for backward compatibility to support pre-5.2.0 WordPress versions. -
trunk/src/wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js
r55972 r60535 44 44 45 45 /** 46 * Add class.46 * Adds class to an element. 47 47 * 48 48 * @param {Object} el … … 56 56 57 57 /** 58 * Delete class.58 * Deletes class from an element. 59 59 * 60 60 * @param {Object} el … … 66 66 67 67 /** 68 * Has class?68 * Determines whether an element has the given class. 69 69 * 70 70 * @param {Object} el … … 81 81 82 82 /** 83 * Toggle Aria Expanded state for screenreaders.83 * Toggles Aria Expanded state for screenreaders. 84 84 * 85 85 * @param {Object} ariaItem … … 100 100 101 101 /** 102 * Open sub-menu.102 * Opens sub-menu. 103 103 * 104 104 * @param {Object} currentSubMenu … … 117 117 118 118 /** 119 * Close sub-menu.119 * Closes sub-menu. 120 120 * 121 121 * @param {Object} currentSubMenu … … 153 153 154 154 /** 155 * Find first ancestor of an element by selector.155 * Finds first ancestor of an element by selector. 156 156 * 157 157 * @param {Object} child … … 182 182 183 183 /** 184 * Remove all off-canvas states.184 * Removes all off-canvas states. 185 185 */ 186 186 function removeAllFocusStates() { … … 210 210 211 211 /** 212 * Toggle `focus` class to allow sub-menu access on touch screens.212 * Toggles `focus` class to allow sub-menu access on touch screens. 213 213 */ 214 214 function toggleSubmenuDisplay() {
Note: See TracChangeset
for help on using the changeset viewer.