Changeset 60515
- Timestamp:
- 07/27/2025 01:03:38 PM (7 months ago)
- Location:
- trunk/src/wp-content/themes/twentythirteen
- Files:
-
- 4 edited
-
functions.php (modified) (22 diffs)
-
inc/back-compat.php (modified) (4 diffs)
-
inc/custom-header.php (modified) (6 diffs)
-
js/functions.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/functions.php
r60159 r60515 47 47 48 48 /** 49 * Register block patterns and pattern categories.49 * Registers block patterns and pattern categories. 50 50 * 51 51 * @since Twenty Thirteen 4.3 … … 263 263 if ( ! function_exists( 'twentythirteen_fonts_url' ) ) : 264 264 /** 265 * Return the font stylesheet URL, if available.265 * Returns the font stylesheet URL, if available. 266 266 * 267 267 * The use of Source Sans Pro and Bitter by default is localized. For languages … … 307 307 308 308 /** 309 * Enqueue scripts and styles for the front end.309 * Enqueues scripts and styles for the front end. 310 310 * 311 311 * @since Twenty Thirteen 1.0 … … 357 357 358 358 /** 359 * Add preconnect for Google Fonts.359 * Adds preconnect for Google Fonts. 360 360 * 361 361 * @since Twenty Thirteen 2.1 … … 383 383 384 384 /** 385 * Enqueue styles for the block-based editor.385 * Enqueues styles for the block-based editor. 386 386 * 387 387 * @since Twenty Thirteen 2.5 … … 397 397 398 398 /** 399 * Filter the page title.399 * Filters the page title. 400 400 * 401 401 * Creates a nicely formatted and more specific title element text for output … … 438 438 439 439 /** 440 * Register two widget areas.440 * Registers two widget areas. 441 441 * 442 442 * @since Twenty Thirteen 1.0 … … 485 485 if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : 486 486 /** 487 * Display navigation to next/previous set of posts when applicable.487 * Displays navigation to next/previous set of posts when applicable. 488 488 * 489 489 * @since Twenty Thirteen 1.0 … … 522 522 if ( ! function_exists( 'twentythirteen_post_nav' ) ) : 523 523 /** 524 * Display navigation to next/previous post when applicable.524 * Displays navigation to next/previous post when applicable. 525 525 * 526 526 * @since Twenty Thirteen 1.0 … … 559 559 if ( ! function_exists( 'twentythirteen_entry_meta' ) ) : 560 560 /** 561 * Print HTML with meta information for current post: categories, tags, permalink, author, and date.561 * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. 562 562 * 563 563 * Create your own twentythirteen_entry_meta() to override in a child theme. … … 599 599 if ( ! function_exists( 'twentythirteen_entry_date' ) ) : 600 600 /** 601 * Print HTML with date information for current post.601 * Prints HTML with date information for current post. 602 602 * 603 603 * Create your own twentythirteen_entry_date() to override in a child theme. … … 635 635 if ( ! function_exists( 'twentythirteen_the_attached_image' ) ) : 636 636 /** 637 * Print the attached image with a link to the next attached image.637 * Prints the attached image with a link to the next attached image. 638 638 * 639 639 * @since Twenty Thirteen 1.0 … … 701 701 702 702 /** 703 * Return the post URL.703 * Returns the post URL. 704 704 * 705 705 * @uses get_url_in_content() to get the URL in the post meta (if it exists) or … … 742 742 743 743 /** 744 * Extend the default WordPress body classes.744 * Extends the default WordPress body classes. 745 745 * 746 746 * Adds body classes to denote: … … 772 772 773 773 /** 774 * Adjust content_width value for video post formats and attachment templates.774 * Adjusts content_width value for video post formats and attachment templates. 775 775 * 776 776 * @since Twenty Thirteen 1.0 … … 790 790 791 791 /** 792 * Add postMessage support for site title and description for the Customizer.792 * Adds postMessage support for site title and description for the Customizer. 793 793 * 794 794 * @since Twenty Thirteen 1.0 … … 823 823 824 824 /** 825 * Render the site title for the selective refresh partial.825 * Renders the site title for the selective refresh partial. 826 826 * 827 827 * @since Twenty Thirteen 1.9 … … 836 836 837 837 /** 838 * Render the site tagline for the selective refresh partial.838 * Renders the site tagline for the selective refresh partial. 839 839 * 840 840 * @since Twenty Thirteen 1.9 … … 849 849 850 850 /** 851 * Enqueue JavaScript postMessage handlers for the Customizer.851 * Enqueues JavaScript postMessage handlers for the Customizer. 852 852 * 853 853 * Binds JavaScript handlers to make the Customizer preview … … 904 904 if ( ! function_exists( 'wp_body_open' ) ) : 905 905 /** 906 * Fire the wp_body_open action.906 * Fires the wp_body_open action. 907 907 * 908 908 * Added for backward compatibility to support pre-5.2.0 WordPress versions. … … 921 921 922 922 /** 923 * Register Custom Block Styles923 * Registers Custom Block Styles. 924 924 * 925 925 * @since Twenty Thirteen 3.4 … … 928 928 function twentythirteen_register_block_styles() { 929 929 930 /**931 * Register block style932 */933 930 register_block_style( 934 931 'core/button', -
trunk/src/wp-content/themes/twentythirteen/inc/back-compat.php
r51155 r60515 13 13 14 14 /** 15 * Prevent switching to Twenty Thirteen on old versions of WordPress.15 * Prevents switching to Twenty Thirteen 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 3.6.48 * Prevents the Customizer from being loaded on WordPress versions prior to 3.6. 49 49 * 50 50 * @since Twenty Thirteen 1.0 … … 66 66 67 67 /** 68 * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4.68 * Prevents the Theme Preview from being loaded on WordPress versions prior to 3.4. 69 69 * 70 70 * @since Twenty Thirteen 1.0 -
trunk/src/wp-content/themes/twentythirteen/inc/custom-header.php
r59832 r60515 1 1 <?php 2 2 /** 3 * Implement a custom header for Twenty Thirteen3 * Implements a custom header for Twenty Thirteen 4 4 * 5 5 * @link https://codex.wordpress.org/Custom_Headers … … 11 11 12 12 /** 13 * Set up the WordPress core custom header arguments and settings.13 * Sets up the WordPress core custom header arguments and settings. 14 14 * 15 15 * @uses add_theme_support() to register support for 3.4 and up. … … 66 66 67 67 /** 68 * Load our special font CSS files.68 * Loads our special font CSS files. 69 69 * 70 70 * @since Twenty Thirteen 1.0 … … 80 80 81 81 /** 82 * Style the header text displayed on the blog.82 * Styles the header text displayed on the blog. 83 83 * 84 84 * get_header_textcolor() options: Hide text (returns 'blank'), or any hex value. … … 148 148 149 149 /** 150 * Style the header image displayed on the Appearance > Header admin panel.150 * Styles the header image displayed on the Appearance > Header admin panel. 151 151 * 152 152 * @since Twenty Thirteen 1.0 … … 213 213 214 214 /** 215 * Output markup to be displayed on the Appearance > Header admin panel.215 * Outputs markup to be displayed on the Appearance > Header admin panel. 216 216 * 217 217 * This callback overrides the default markup displayed there. -
trunk/src/wp-content/themes/twentythirteen/js/functions.js
r55861 r60515 76 76 77 77 /** 78 * Add or removeARIA attributes.78 * Adds or removes ARIA attributes. 79 79 * 80 80 * Uses jQuery's width() function to determine the size of the window and add
Note: See TracChangeset
for help on using the changeset viewer.