Changeset 61302
- Timestamp:
- 11/25/2025 05:00:39 AM (3 weeks ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 21 edited
-
twentyeleven/functions.php (modified) (1 diff)
-
twentyfifteen/functions.php (modified) (1 diff)
-
twentyfourteen/functions.php (modified) (2 diffs)
-
twentyfourteen/inc/widgets.php (modified) (1 diff)
-
twentynineteen/classes/class-twentynineteen-svg-icons.php (modified) (2 diffs)
-
twentynineteen/functions.php (modified) (1 diff)
-
twentynineteen/inc/customizer.php (modified) (1 diff)
-
twentynineteen/inc/template-functions.php (modified) (1 diff)
-
twentyseventeen/functions.php (modified) (2 diffs)
-
twentyseventeen/inc/template-functions.php (modified) (1 diff)
-
twentyseventeen/inc/template-tags.php (modified) (1 diff)
-
twentysixteen/functions.php (modified) (1 diff)
-
twentythirteen/functions.php (modified) (2 diffs)
-
twentytwelve/functions.php (modified) (2 diffs)
-
twentytwenty/classes/class-twentytwenty-customize.php (modified) (1 diff)
-
twentytwenty/functions.php (modified) (4 diffs)
-
twentytwenty/inc/custom-css.php (modified) (2 diffs)
-
twentytwenty/inc/template-tags.php (modified) (2 diffs)
-
twentytwentyone/functions.php (modified) (1 diff)
-
twentytwentyone/inc/custom-css.php (modified) (1 diff)
-
twentytwentyone/inc/template-functions.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r61096 r61302 989 989 * Added for backward compatibility to support pre-6.0.0 WordPress versions. 990 990 * 991 * @since 6.0.0 991 * @since Twenty Eleven 4.1 992 * 993 * @return string Locale-specific list item separator. 992 994 */ 993 995 function wp_get_list_item_separator() { -
trunk/src/wp-content/themes/twentyfifteen/functions.php
r61109 r61302 367 367 * @since Twenty Fifteen 3.4 Replaced Google URL with self-hosted fonts. 368 368 * 369 * @return string Font s URL for the theme.369 * @return string Font stylesheet URL or empty string if disabled. 370 370 */ 371 371 function twentyfifteen_fonts_url() { -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r61109 r61302 316 316 * @since Twenty Fourteen 3.6 Replaced Google URL with self-hosted fonts. 317 317 * 318 * @return string 318 * @return string Font stylesheet URL or empty string if disabled. 319 319 */ 320 320 function twentyfourteen_font_url() { … … 756 756 * 757 757 * @global WP_Customize_Manager $wp_customize Customizer object. 758 * 759 * @return bool Whether the site is being previewed in the Customizer. 758 760 */ 759 761 if ( ! function_exists( 'is_customize_preview' ) ) : -
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r60519 r61302 27 27 * @since Twenty Fourteen 1.0 28 28 * 29 * @return Twenty_Fourteen_Ephemera_Widget 29 * @return Twenty_Fourteen_Ephemera_Widget Widget instance. 30 30 */ 31 31 public function __construct() { -
trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php
r59090 r61302 28 28 * @param string $icon The specific icon to retrieve. 29 29 * @param int $size The desired width and height for the SVG icon. 30 * @return string|null SVG code for the icon, or null if not found. 30 31 */ 31 32 public static function get_svg( $group, $icon, $size ) { … … 52 53 * @param string $uri The URL of the social network link. 53 54 * @param int $size The desired width and height for the SVG icon. 55 * @return string|null SVG code for the social link icon, or null if not found. 54 56 */ 55 57 public static function get_social_link_svg( $uri, $size ) { -
trunk/src/wp-content/themes/twentynineteen/functions.php
r61064 r61302 182 182 * Added for backward compatibility to support pre-6.0.0 WordPress versions. 183 183 * 184 * @since 6.0.0 184 * @since Twenty Nineteen 2.3 185 * 186 * @return string Locale-specific list item separator. 185 187 */ 186 188 function wp_get_list_item_separator() { -
trunk/src/wp-content/themes/twentynineteen/inc/customizer.php
r60535 r61302 143 143 * 144 144 * @param string $choice Whether image filter is active. 145 * @return string 145 * @return string Sanitized color option. 146 146 */ 147 147 function twentynineteen_sanitize_color_option( $choice ) { -
trunk/src/wp-content/themes/twentynineteen/inc/template-functions.php
r59921 r61302 12 12 * 13 13 * @param array $classes Classes for the body element. 14 * @return array14 * @return string[] The filtered body class list. 15 15 */ 16 16 function twentynineteen_body_classes( $classes ) { -
trunk/src/wp-content/themes/twentyseventeen/functions.php
r60966 r61302 290 290 * @since Twenty Seventeen 3.2 Replaced Google URL with self-hosted fonts. 291 291 * 292 * @return string Font s URL for the theme.292 * @return string Font stylesheet URL or empty string if disabled. 293 293 */ 294 294 function twentyseventeen_fonts_url() { … … 682 682 * Added for backward compatibility to support pre-6.0.0 WordPress versions. 683 683 * 684 * @since 6.0.0 684 * @since Twenty Seventeen 3.0 685 * 686 * @return string Locale-specific list item separator. 685 687 */ 686 688 function wp_get_list_item_separator() { -
trunk/src/wp-content/themes/twentyseventeen/inc/template-functions.php
r56549 r61302 12 12 * 13 13 * @param array $classes Classes for the body element. 14 * @return array14 * @return string[] Filtered body classes with theme-specific additions. 15 15 */ 16 16 function twentyseventeen_body_classes( $classes ) { -
trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php
r58687 r61302 185 185 * Returns true if a blog has more than 1 category. 186 186 * 187 * @return bool 187 * @return bool Whether the blog has more than 1 category. 188 188 */ 189 189 function twentyseventeen_categorized_blog() { -
trunk/src/wp-content/themes/twentysixteen/functions.php
r61109 r61302 335 335 * @since Twenty Sixteen 2.9 Replaced Google URL with self-hosted fonts. 336 336 * 337 * @return string Font s URL for the theme.337 * @return string Font stylesheet URL or empty string if disabled. 338 338 */ 339 339 function twentysixteen_fonts_url() { -
trunk/src/wp-content/themes/twentythirteen/functions.php
r61109 r61302 271 271 * @since Twenty Thirteen 3.8 Replaced Google URL with self-hosted fonts. 272 272 * 273 * @return string Font stylesheet or empty string if disabled.273 * @return string Font stylesheet URL or empty string if disabled. 274 274 */ 275 275 function twentythirteen_fonts_url() { … … 474 474 * Added for backward compatibility to support pre-6.0.0 WordPress versions. 475 475 * 476 * @since 6.0.0 476 * @since Twenty Thirteen 3.7 477 * 478 * @return string Locale-specific list item separator. 477 479 */ 478 480 function wp_get_list_item_separator() { -
trunk/src/wp-content/themes/twentytwelve/functions.php
r61095 r61302 161 161 * @since Twenty Twelve 3.9 Replaced Google URL with self-hosted font. 162 162 * 163 * @return string Font stylesheet or empty string if disabled.163 * @return string Font stylesheet URL or empty string if disabled. 164 164 */ 165 165 function twentytwelve_get_font_url() { … … 397 397 * Added for backward compatibility to support pre-6.0.0 WordPress versions. 398 398 * 399 * @since 6.0.0 399 * @since Twenty Twelve 3.7 400 * 401 * @return string Locale-specific list item separator. 400 402 */ 401 403 function wp_get_list_item_separator() { -
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php
r60536 r61302 460 460 * 461 461 * @param bool $checked Whether or not a box is checked. 462 * @return bool 462 * @return bool Whether the checkbox is checked. 463 463 */ 464 464 public static function sanitize_checkbox( $checked ) { -
trunk/src/wp-content/themes/twentytwenty/functions.php
r60681 r61302 305 305 * 306 306 * @param string $html The HTML output from get_custom_logo() (core function). 307 * @return string 307 * @return string Custom logo HTML with "retina" resolution applied if enabled. 308 308 */ 309 309 function twentytwenty_get_custom_logo( $html ) { … … 636 636 * 637 637 * @param string $html The default output HTML for the more tag. 638 * @return string 638 * @return string The the read more link wrapped in a `div`. 639 639 */ 640 640 function twentytwenty_read_more_tag( $html ) { … … 737 737 * @since Twenty Twenty 1.0 738 738 * 739 * @return array 739 * @return array Customizer color variables for the preview. 740 740 */ 741 741 function twentytwenty_get_customizer_color_vars() { … … 756 756 * @since Twenty Twenty 1.0 757 757 * 758 * @return array 758 * @return array Elements to apply custom colors to. 759 759 */ 760 760 function twentytwenty_get_elements_array() { -
trunk/src/wp-content/themes/twentytwenty/inc/custom-css.php
r60536 r61302 21 21 * @param string $suffix The CSS suffix. 22 22 * @param bool $display Print the styles. 23 * @return string Generated CSS. 23 24 */ 24 25 function twentytwenty_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $display = true ) { … … 55 56 * 56 57 * @param string $type Whether to return CSS for the "front-end", "block-editor", or "classic-editor". 58 * @return string CSS styles built from Customizer options. 57 59 */ 58 60 function twentytwenty_get_customizer_css( $type = 'front-end' ) { -
trunk/src/wp-content/themes/twentytwenty/inc/template-tags.php
r60913 r61302 149 149 * 150 150 * @param object $comment Comment data. 151 * @return bool 151 * @return bool Whether the comment is by the post author. 152 152 */ 153 153 function twentytwenty_is_comment_by_post_author( $comment = null ) { … … 250 250 * @param int $post_id The ID of the post. 251 251 * @param string $location The location where the meta is shown. 252 * @return string Post meta HTML. 252 253 */ 253 254 function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' ) { -
trunk/src/wp-content/themes/twentytwentyone/functions.php
r61070 r61302 656 656 * Added for backward compatibility to support pre-6.0.0 WordPress versions. 657 657 * 658 * @since 6.0.0 658 * @since Twenty Twenty-One 1.6 659 * 660 * @return string Locale-specific list item separator. 659 661 */ 660 662 function wp_get_list_item_separator() { -
trunk/src/wp-content/themes/twentytwentyone/inc/custom-css.php
r60537 r61302 19 19 * @param string $suffix The CSS suffix. 20 20 * @param bool $display Print the styles. 21 * @return string 21 * @return string Generated CSS. 22 22 */ 23 23 function twenty_twenty_one_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $display = true ) { -
trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php
r60913 r61302 14 14 * 15 15 * @param array $classes Classes for the body element. 16 * @return array16 * @return string[] Body classes with theme-specific additions. 17 17 */ 18 18 function twenty_twenty_one_body_classes( $classes ) { … … 44 44 * 45 45 * @param array $classes An array of CSS classes. 46 * @return array46 * @return string[] Post classes with 'entry' class added. 47 47 */ 48 48 function twenty_twenty_one_post_classes( $classes ) { … … 92 92 * 93 93 * @param array $defaults The form defaults. 94 * @return array 94 * @return array Comment form defaults with adjusted textarea height. 95 95 */ 96 96 function twenty_twenty_one_comment_form_defaults( $defaults ) { … … 201 201 * @param string $icon The icon. 202 202 * @param int $size The icon size in pixels. 203 * @return string 203 * @return string SVG code for the requested icon. 204 204 */ 205 205 function twenty_twenty_one_get_icon_svg( $group, $icon, $size = 24 ) { … … 213 213 * 214 214 * @param string $calendar_output The generated HTML of the calendar. 215 * @return string 215 * @return string Calendar HTML with SVG navigation arrows. 216 216 */ 217 217 function twenty_twenty_one_change_calendar_nav_arrows( $calendar_output ) { … … 230 230 * 231 231 * @param string $type Whether to return CSS for the "front-end", "block-editor", or "classic-editor". 232 * @return string 232 * @return string CSS styles for non-Latin languages based on the site locale. 233 233 */ 234 234 function twenty_twenty_one_get_non_latin_css( $type = 'front-end' ) {
Note: See TracChangeset
for help on using the changeset viewer.