- Timestamp:
- 06/04/2026 10:29:23 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r62344 r62465 39 39 /** 40 40 * Twenty Fourteen only works in WordPress 3.6 or later. 41 * 42 * @global string $wp_version The WordPress version string. 41 43 */ 42 44 if ( version_compare( $GLOBALS['wp_version'], '3.6', '<' ) ) { … … 55 57 * 56 58 * @since Twenty Fourteen 1.0 59 * 60 * @global string $wp_version The WordPress version string. 57 61 */ 58 62 function twentyfourteen_setup() { … … 227 231 * 228 232 * @since Twenty Fourteen 1.0 233 * 234 * @global int $content_width Content width. 229 235 */ 230 236 function twentyfourteen_content_width() { … … 417 423 * @deprecated Twenty Fourteen 3.6 Disabled filter because, by default, fonts are self-hosted. 418 424 * 425 * @global string $wp_version The WordPress version string. 426 * 419 427 * @param array $urls URLs to print for resource hints. 420 428 * @param string $relation_type The relation type the URLs are printed. … … 524 532 * 525 533 * @since Twenty Fourteen 1.0 534 * 535 * @global string $wp_version The WordPress version string. 526 536 */ 527 537 function twentyfourteen_list_authors() { … … 596 606 * @since Twenty Fourteen 1.0 597 607 * 608 * @global string $pagenow The filename of the current screen. 609 * 598 610 * @param array $classes A list of existing body class values. 599 611 * @return array The filtered body class list. … … 665 677 * @since Twenty Fourteen 1.0 666 678 * 667 * @global int $paged WordPress archive pagination page count.668 * @global int $page WordPress paginated post page count.679 * @global int $paged Page number of a list of posts. 680 * @global int $page Page number of a single post. 669 681 * 670 682 * @param string $title Default title text for current view. … … 744 756 * To overwrite in a plugin, define your own Featured_Content class on or 745 757 * before the 'setup_theme' hook. 758 * 759 * @global string $pagenow The filename of the current screen. 746 760 */ 747 761 if ( ! class_exists( 'Featured_Content' ) && 'plugins.php' !== $GLOBALS['pagenow'] ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)