Changeset 60513
- Timestamp:
- 07/25/2025 05:01:20 PM (6 months ago)
- Location:
- trunk/src/wp-content/themes/twentyeleven
- Files:
-
- 3 edited
-
functions.php (modified) (11 diffs)
-
inc/theme-options.php (modified) (15 diffs)
-
inc/widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r60506 r60513 53 53 if ( ! function_exists( 'twentyeleven_setup' ) ) : 54 54 /** 55 * Set up theme defaults and registers support for various WordPress features.55 * Sets up theme defaults and registers support for various WordPress features. 56 56 * 57 57 * Note that this function is hooked into the after_setup_theme hook, which runs … … 412 412 if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) : 413 413 /** 414 * Custom header image markup displayedon the Appearance > Header admin panel.414 * Displays custom header image markup on the Appearance > Header admin panel. 415 415 * 416 416 * Referenced via add_theme_support('custom-header') in twentyeleven_setup(). … … 443 443 if ( ! function_exists( 'twentyeleven_header_image' ) ) : 444 444 /** 445 * Custom header image markup displayed.445 * Displays custom header image markup. 446 446 * 447 447 * @since Twenty Eleven 4.5 … … 492 492 if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) : 493 493 /** 494 * Return a "Continue Reading" link for excerpts494 * Returns a "Continue Reading" link for excerpts. 495 495 * 496 496 * @since Twenty Eleven 1.0 … … 504 504 505 505 /** 506 * Replace "[...]" in the Read More link with an ellipsis.506 * Replaces "[...]" in the Read More link with an ellipsis. 507 507 * 508 508 * The "[...]" is appended to automatically generated excerpts. … … 655 655 656 656 /** 657 * Return the first link from the post content. If none found, the657 * Returns the first link from the post content. If none found, the 658 658 * post permalink is used as a fallback. 659 659 * … … 677 677 678 678 /** 679 * Return the URL for the first link found in the post content.679 * Returns the URL for the first link found in the post content. 680 680 * 681 681 * @since Twenty Eleven 1.0 … … 692 692 693 693 /** 694 * Count the number of footer sidebars to enable dynamic classes for the footer.694 * Counts the number of footer sidebars to enable dynamic classes for the footer. 695 695 * 696 696 * @since Twenty Eleven 1.0 … … 829 829 if ( ! function_exists( 'twentyeleven_posted_on' ) ) : 830 830 /** 831 * Print HTML with meta information for the current post-date/time and author.831 * Prints HTML with meta information for the current post-date/time and author. 832 832 * 833 833 * Create your own twentyeleven_posted_on to override in a child theme … … 941 941 if ( ! function_exists( 'wp_body_open' ) ) : 942 942 /** 943 * Fire the wp_body_open action.943 * Fires the wp_body_open action. 944 944 * 945 945 * Added for backward compatibility to support pre-5.2.0 WordPress versions. … … 958 958 959 959 /** 960 * Include a skip to content link at the top of the page so that users can bypass the menu.960 * Includes a skip to content link at the top of the page so that users can bypass the menu. 961 961 * 962 962 * @since Twenty Eleven 3.4 -
trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php
r60506 r60513 9 9 10 10 /** 11 * Properly enqueue styles and scripts for our theme options page.11 * Properly enqueues styles and scripts for our theme options page. 12 12 * 13 13 * This function is attached to the admin_enqueue_scripts action hook. … … 66 66 67 67 /** 68 * Change the capability required to save the 'twentyeleven_options' options group.68 * Changes the capability required to save the 'twentyeleven_options' options group. 69 69 * 70 70 * @see twentyeleven_theme_options_init() First parameter to register_setting() is the name of the options group. … … 142 142 143 143 /** 144 * Return an array of color schemes registered for Twenty Eleven.144 * Returns an array of color schemes registered for Twenty Eleven. 145 145 * 146 146 * @since Twenty Eleven 1.0 … … 173 173 174 174 /** 175 * Return an array of layout options registered for Twenty Eleven.175 * Returns an array of layout options registered for Twenty Eleven. 176 176 * 177 177 * @since Twenty Eleven 1.0 … … 207 207 208 208 /** 209 * Return the default options for Twenty Eleven.209 * Returns the default options for Twenty Eleven. 210 210 * 211 211 * @since Twenty Eleven 1.0 … … 235 235 236 236 /** 237 * Return the default link color for Twenty Eleven, based on color scheme.237 * Returns the default link color for Twenty Eleven, based on color scheme. 238 238 * 239 239 * @since Twenty Eleven 1.0 … … 258 258 259 259 /** 260 * Return the options array for Twenty Eleven.260 * Returns the options array for Twenty Eleven. 261 261 * 262 262 * @since Twenty Eleven 1.0 … … 267 267 268 268 /** 269 * Render the Color Scheme setting field.269 * Renders the Color Scheme setting field. 270 270 * 271 271 * @since Twenty Eleven 1.3 … … 291 291 292 292 /** 293 * Render the Link Color setting field.293 * Renders the Link Color setting field. 294 294 * 295 295 * @since Twenty Eleven 1.3 … … 313 313 314 314 /** 315 * Render the Layout setting field.315 * Renders the Layout setting field. 316 316 * 317 317 * @since Twenty Eleven 1.3 … … 335 335 336 336 /** 337 * Render the theme options page for Twenty Eleven.337 * Renders the theme options page for Twenty Eleven. 338 338 * 339 339 * @since Twenty Eleven 1.2 … … 363 363 364 364 /** 365 * Sanitize and validateform input.365 * Sanitizes and validates form input. 366 366 * 367 367 * Accepts an array, return a sanitized array. … … 641 641 642 642 /** 643 * Render the site title for the selective refresh partial.643 * Renders the site title for the selective refresh partial. 644 644 * 645 645 * @since Twenty Eleven 2.4 … … 654 654 655 655 /** 656 * Render the site tagline for the selective refresh partial.656 * Renders the site tagline for the selective refresh partial. 657 657 * 658 658 * @since Twenty Eleven 2.4 … … 667 667 668 668 /** 669 * Bind JS handlers to make Customizer preview reload changes asynchronously.669 * Binds JS handlers to make Customizer preview reload changes asynchronously. 670 670 * 671 671 * Used with blogname and blogdescription. -
trunk/src/wp-content/themes/twentyeleven/inc/widgets.php
r60506 r60513 151 151 152 152 /** 153 * Update widget settings.153 * Updates widget settings. 154 154 * 155 155 * Deals with the settings when they are saved by the admin. Here is … … 173 173 174 174 /** 175 * Flush widget cache.175 * Flushes widget cache. 176 176 * 177 177 * @since Twenty Eleven 1.0
Note: See TracChangeset
for help on using the changeset viewer.