Changeset 62438
- Timestamp:
- 05/31/2026 11:13:47 PM (9 hours ago)
- Location:
- trunk/src/wp-content/themes/twentyten
- Files:
-
- 2 edited
-
functions.php (modified) (3 diffs)
-
header.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/functions.php
r61411 r62438 73 73 * 74 74 * @since Twenty Ten 1.0 75 * 76 * @global string $wp_version The WordPress version string. 75 77 */ 76 78 function twentyten_setup() { … … 437 439 return preg_replace( "#<style type='text/css'>(.*?)</style>#s", '', $css ); 438 440 } 439 // Backward compatibility with WordPress 3.0. 441 442 /** 443 * Backward compatibility with WordPress 3.0. 444 * 445 * @global string $wp_version The WordPress version string. 446 */ 440 447 if ( version_compare( $GLOBALS['wp_version'], '3.1', '<' ) ) { 441 448 add_filter( 'gallery_style', 'twentyten_remove_gallery_css' ); … … 453 460 * @since Twenty Ten 1.0 454 461 * 462 * @global WP_Comment $comment Global comment object. 463 * 455 464 * @param WP_Comment $comment The comment object. 456 * @param array $args An array of arguments. @see get_comment_reply_link()465 * @param array $args An array of comment arguments. @see get_comment_reply_link() 457 466 * @param int $depth The depth of the comment. 458 467 */ -
trunk/src/wp-content/themes/twentyten/header.php
r62344 r62438 9 9 * @since Twenty Ten 1.0 10 10 */ 11 12 /** 13 * @global int $page WordPress paginated post page count. 14 * @global int $paged WordPress archive pagination page count. 15 */ 16 global $page, $paged; 17 11 18 ?><!DOCTYPE html> 12 19 <html <?php language_attributes(); ?>> … … 15 22 <title> 16 23 <?php 17 /* 18 * Print the <title> tag based on what is being viewed. 19 */ 20 global $page, $paged; 21 24 // Print the <title> tag based on what is being viewed. 22 25 wp_title( '|', true, 'right' ); 23 26
Note: See TracChangeset
for help on using the changeset viewer.