- Location:
- trunk/src/wp-content/themes/twentyten
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/author.php
r52448 r60061 30 30 <?php 31 31 /* translators: %s: Author display name. */ 32 printf( __( 'Author Archives: %s', 'twentyten' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '"rel="me">' . get_the_author() . '</a></span>' );32 printf( __( 'Author Archives: %s', 'twentyten' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" rel="me">' . get_the_author() . '</a></span>' ); 33 33 ?> 34 34 </h1> -
trunk/src/wp-content/themes/twentyten/block-patterns.php
r52448 r60061 34 34 'categories' => array( 'twentyten' ), 35 35 'viewportWidth' => 700, 36 'content' => '<!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} --><figure class="wp-block-image size-large"><img src="' . get_template_directory_uri() . '/images/patterns/pattern-barn.jpg" alt="' . esc_attr__( 'A red barn with a white roof in a field.', 'twentyten' ) . '" /><figcaption><em>' . esc_html__( 'An old barn we passed on the drive', 'twentyten' ) . '</em></figcaption></figure><!-- /wp:image --><!-- wp:heading {"style":{"typography":{"fontSize":60}}} --><h2 style="font-size:60px">' . esc_html__( 'A Weekend Away', 'twentyten' ) . '</h2><!-- /wp:heading --><!-- wp:paragraph --><p>' . esc_html__( 'It’s amazing what a good weekend can do. After a tough couple weeks at work, I knew I needed to get away and be in nature. My partner and I decided to take a long weekend and stay in a cabin in the woods. We packed up after work on Friday and drove out into the country, passing through fields full of horses, old farms, and quaint little town squares. It was an idyllic drive. Eventually, we reached our destination and unpacked the car. We couldn’t wait to cook up a simple dinner and then relax by the fireplace.', 'twentyten' ) . '</p><!-- /wp:paragraph -->',36 'content' => '<!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} --><figure class="wp-block-image size-large"><img src="' . esc_url( get_template_directory_uri() ) . '/images/patterns/pattern-barn.jpg" alt="' . esc_attr__( 'A red barn with a white roof in a field.', 'twentyten' ) . '" /><figcaption><em>' . esc_html__( 'An old barn we passed on the drive', 'twentyten' ) . '</em></figcaption></figure><!-- /wp:image --><!-- wp:heading {"style":{"typography":{"fontSize":60}}} --><h2 style="font-size:60px">' . esc_html__( 'A Weekend Away', 'twentyten' ) . '</h2><!-- /wp:heading --><!-- wp:paragraph --><p>' . esc_html__( 'It’s amazing what a good weekend can do. After a tough couple weeks at work, I knew I needed to get away and be in nature. My partner and I decided to take a long weekend and stay in a cabin in the woods. We packed up after work on Friday and drove out into the country, passing through fields full of horses, old farms, and quaint little town squares. It was an idyllic drive. Eventually, we reached our destination and unpacked the car. We couldn’t wait to cook up a simple dinner and then relax by the fireplace.', 'twentyten' ) . '</p><!-- /wp:paragraph -->', 37 37 ) 38 38 ); … … 56 56 'categories' => array( 'twentyten' ), 57 57 'viewportWidth' => 700, 58 'content' => '<!-- wp:columns {"verticalAlignment":"center"} --><div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"66.66%"} --><div class="wp-block-column is-vertically-aligned-center" style="flex-basis:66.66%"><!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} --><figure class="wp-block-image size-large"><img src="' . get_template_directory_uri() . '/images/patterns/pattern-dock.jpg" alt="' . esc_attr__( 'A lake with several boats docked. The sun is rising behind mountains in the background.', 'twentyten' ) . '" /><figcaption><em>' . esc_html__( 'The lake at 6:54 AM', 'twentyten' ) . '</em></figcaption></figure><!-- /wp:image --></div><!-- /wp:column --><!-- wp:column {"verticalAlignment":"top","width":"33.33%"} --><div class="wp-block-column is-vertically-aligned-top" style="flex-basis:33.33%"><!-- wp:paragraph --><p><em>' . esc_html__( 'Nearby our cabin was a lake. The sunrise looked beautiful as it rose over the hills beyond the water, reflecting down onto the gentle morning waves. I sat on the dock and drank a cup of coffee, enjoying the cool air on my skin. The coffee kept me warm inside.', 'twentyten' ) . '</em></p><!-- /wp:paragraph --></div><!-- /wp:column --></div><!-- /wp:columns --><!-- wp:columns --><div class="wp-block-columns"><!-- wp:column {"width":"33.33%"} --><div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:paragraph --><p><em>' . esc_html__( 'Later that night, we went back to the lake and sat by the shore. It felt different at night; quieter, as if all of nature had gone to sleep for a little while. The only noises were the chirp of crickets and the soft splash of the waves lapping at the shore. What a beautiful way to end the day.', 'twentyten' ) . '</em></p><!-- /wp:paragraph --></div><!-- /wp:column --><!-- wp:column {"width":"66.66%"} --><div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} --><figure class="wp-block-image size-large"><img src="' . get_template_directory_uri() . '/images/patterns/pattern-lake.jpg" alt="' . esc_attr__( 'A lake at night, with Adirondack chairs in the foreground. The sun sets in the background.', 'twentyten' ) . '" /><figcaption><em>' . esc_html__( 'Relaxing at the lake after dinner', 'twentyten' ) . '</em></figcaption></figure><!-- /wp:image --></div><!-- /wp:column --></div><!-- /wp:columns -->',58 'content' => '<!-- wp:columns {"verticalAlignment":"center"} --><div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"66.66%"} --><div class="wp-block-column is-vertically-aligned-center" style="flex-basis:66.66%"><!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} --><figure class="wp-block-image size-large"><img src="' . esc_url( get_template_directory_uri() ) . '/images/patterns/pattern-dock.jpg" alt="' . esc_attr__( 'A lake with several boats docked. The sun is rising behind mountains in the background.', 'twentyten' ) . '" /><figcaption><em>' . esc_html__( 'The lake at 6:54 AM', 'twentyten' ) . '</em></figcaption></figure><!-- /wp:image --></div><!-- /wp:column --><!-- wp:column {"verticalAlignment":"top","width":"33.33%"} --><div class="wp-block-column is-vertically-aligned-top" style="flex-basis:33.33%"><!-- wp:paragraph --><p><em>' . esc_html__( 'Nearby our cabin was a lake. The sunrise looked beautiful as it rose over the hills beyond the water, reflecting down onto the gentle morning waves. I sat on the dock and drank a cup of coffee, enjoying the cool air on my skin. The coffee kept me warm inside.', 'twentyten' ) . '</em></p><!-- /wp:paragraph --></div><!-- /wp:column --></div><!-- /wp:columns --><!-- wp:columns --><div class="wp-block-columns"><!-- wp:column {"width":"33.33%"} --><div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:paragraph --><p><em>' . esc_html__( 'Later that night, we went back to the lake and sat by the shore. It felt different at night; quieter, as if all of nature had gone to sleep for a little while. The only noises were the chirp of crickets and the soft splash of the waves lapping at the shore. What a beautiful way to end the day.', 'twentyten' ) . '</em></p><!-- /wp:paragraph --></div><!-- /wp:column --><!-- wp:column {"width":"66.66%"} --><div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} --><figure class="wp-block-image size-large"><img src="' . esc_url( get_template_directory_uri() ) . '/images/patterns/pattern-lake.jpg" alt="' . esc_attr__( 'A lake at night, with Adirondack chairs in the foreground. The sun sets in the background.', 'twentyten' ) . '" /><figcaption><em>' . esc_html__( 'Relaxing at the lake after dinner', 'twentyten' ) . '</em></figcaption></figure><!-- /wp:image --></div><!-- /wp:column --></div><!-- /wp:columns -->', 59 59 ) 60 60 ); -
trunk/src/wp-content/themes/twentyten/blocks.css
r52448 r60061 21 21 /* Captions */ 22 22 23 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {23 [class^="wp-block-"]:not(.wp-block-gallery) > figcaption { 24 24 color: #777; 25 25 font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; … … 111 111 } 112 112 113 .wp-block-file .wp-block-file__button { 114 padding: 0.5em 1em; 115 color: #fff; 116 line-height: 1.5; 117 } 118 113 119 /*-------------------------------------------------------------- 114 120 3.0 Blocks - Formatting … … 125 131 /* Pullquote */ 126 132 133 .wp-block-pullquote { 134 font-size: 1em; 135 } 136 127 137 .wp-block-pullquote p { 128 138 font-size: 1.5em; 139 line-height: 1.3; 129 140 } 130 141 … … 152 163 } 153 164 165 #content .wp-block-table[style*="font-size"] *, 166 #content .wp-block-table[class*="-font-size"] *, 167 #content .wp-block-calendar[style*="font-size"] *, 168 #content .wp-block-calendar[class*="-font-size"] * { 169 font-size: inherit; 170 line-height: 1.5; 171 } 172 154 173 /*-------------------------------------------------------------- 155 174 4.0 Blocks - Layout Elements … … 206 225 207 226 .has-blue-color, 208 .has-blue-color:visited { 227 .has-blue-color:visited, 228 #content .has-blue-color, 229 #content .has-blue-color:visited { 209 230 color: #0066cc; 210 231 } … … 216 237 217 238 .has-black-color, 218 .has-black-color:visited { 239 .has-black-color:visited, 240 #content .has-black-color, 241 #content .has-black-color:visited { 219 242 color: #000; 220 243 } … … 226 249 227 250 .has-medium-gray-color, 228 .has-medium-gray-color:visited { 251 .has-medium-gray-color:visited, 252 #content .has-medium-gray-color, 253 #content .has-medium-gray-color:visited { 229 254 color: #666; 230 255 } … … 236 261 237 262 .has-light-gray-color, 238 .has-light-gray-color:visited { 263 .has-light-gray-color:visited, 264 #content .has-light-gray-color, 265 #content .has-light-gray-color:visited { 239 266 color: #f1f1f1; 240 267 } … … 246 273 247 274 .has-white-color, 248 .has-white-color:visited { 275 .has-white-color:visited, 276 #content .has-white-color, 277 #content .has-white-color:visited { 249 278 color: #fff; 250 279 } -
trunk/src/wp-content/themes/twentyten/comments.php
r52448 r60061 35 35 <h3 id="comments-title"> 36 36 <?php 37 if ( 1=== get_comments_number() ) {37 if ( '1' === get_comments_number() ) { 38 38 printf( 39 39 /* translators: %s: The post title. */ -
trunk/src/wp-content/themes/twentyten/editor-blocks.css
r52448 r60061 150 150 /* Caption styles */ 151 151 152 [class^="wp-block-"] figcaption {152 [class^="wp-block-"]:not(.wp-block-gallery) > figcaption { 153 153 color: #777; 154 154 font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; … … 262 262 /* Pullquote */ 263 263 264 .wp-block-pullquote { 265 font-size: 1em; 266 } 267 268 .wp-block-pullquote blockquote > p.rich-text, 264 269 .wp-block-pullquote blockquote > .editor-rich-text p { 265 270 font-size: 1.5em; 271 line-height: 1.3; 266 272 } 267 273 … … 289 295 } 290 296 297 .wp-block-table[style*="font-size"] *, 298 .wp-block-table[class*="-font-size"] *, 299 .wp-block-calendar[style*="font-size"] *, 300 .wp-block-calendar[class*="-font-size"] * { 301 font-size: inherit; 302 line-height: 1.5; 303 } 304 291 305 /*-------------------------------------------------------------- 292 306 5.0 Blocks - Widgets … … 368 382 background-color: #fff; 369 383 } 384 385 /* Inserter Icon */ 386 387 .editor-styles-wrapper .block-editor-inserter path { 388 color: #fff; 389 } -
trunk/src/wp-content/themes/twentyten/footer.php
r52448 r60061 25 25 26 26 <div id="site-info"> 27 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"rel="home">27 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> 28 28 <?php bloginfo( 'name' ); ?> 29 29 </a> -
trunk/src/wp-content/themes/twentyten/functions.php
r52448 r60061 129 129 * Make theme available for translation. 130 130 * Translations can be filed in the /languages/ directory. 131 * 132 * Manual loading of text domain is not required after the introduction of 133 * just in time translation loading in WordPress version 4.6. 134 * 135 * @ticket 58318 131 136 */ 132 load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' ); 137 if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { 138 load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' ); 139 } 133 140 134 141 // This theme uses wp_nav_menu() in one location. … … 166 173 'width' => apply_filters( 'twentyten_header_image_width', 940 ), 167 174 /** 168 * Filters the Twenty Ten defaul header image height.175 * Filters the Twenty Ten default header image height. 169 176 * 170 177 * @since Twenty Ten 1.0 … … 284 291 endif; 285 292 293 294 if ( ! function_exists( 'twentyten_header_image' ) ) : 295 /** 296 * Custom header image markup displayed. 297 * 298 * @since Twenty Ten 4.0 299 */ 300 function twentyten_header_image() { 301 $attrs = array( 302 'alt' => get_bloginfo( 'name', 'display' ), 303 ); 304 305 // Compatibility with versions of WordPress prior to 3.4. 306 if ( function_exists( 'get_custom_header' ) ) { 307 $custom_header = get_custom_header(); 308 $attrs['width'] = $custom_header->width; 309 $attrs['height'] = $custom_header->height; 310 } else { 311 $attrs['width'] = HEADER_IMAGE_WIDTH; 312 $attrs['height'] = HEADER_IMAGE_HEIGHT; 313 } 314 315 if ( function_exists( 'the_header_image_tag' ) ) { 316 the_header_image_tag( $attrs ); 317 return; 318 } 319 320 ?> 321 <img src="<?php header_image(); ?>" width="<?php echo esc_attr( $attrs['width'] ); ?>" height="<?php echo esc_attr( $attrs['height'] ); ?>" alt="<?php echo esc_attr( $attrs['alt'] ); ?>" /> 322 <?php 323 } 324 endif; // twentyten_header_image() 325 286 326 /** 287 327 * Show a home link for our wp_nav_menu() fallback, wp_page_menu(). … … 327 367 */ 328 368 function twentyten_continue_reading_link() { 329 return ' <a href="' . get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) . '</a>';369 return ' <a href="' . esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) . '</a>'; 330 370 } 331 371 endif; … … 390 430 * @deprecated Deprecated in Twenty Ten 1.2 for WordPress 3.1 391 431 * 432 * @param string $css Default CSS styles and opening HTML div container 433 * for the gallery shortcode output. 392 434 * @return string The gallery style filter, with the styles themselves removed. 393 435 */ … … 440 482 ?> 441 483 442 <?php if ( '0' == $comment->comment_approved ) : ?>484 <?php if ( '0' === $comment->comment_approved ) : ?> 443 485 <em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em> 444 486 <br /> … … 608 650 sprintf( 609 651 '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', 610 get_permalink(),652 esc_url( get_permalink() ), 611 653 esc_attr( get_the_time() ), 612 654 get_the_date() … … 614 656 sprintf( 615 657 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', 616 get_author_posts_url( get_the_author_meta( 'ID') ),658 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 617 659 /* translators: %s: Author display name. */ 618 660 esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), … … 649 691 get_the_category_list( ', ' ), 650 692 $tags_list, 651 get_permalink(),693 esc_url( get_permalink() ), 652 694 the_title_attribute( 'echo=0' ) 653 695 ); … … 725 767 function twentyten_scripts_styles() { 726 768 // Theme block stylesheet. 727 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20 181218' );769 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20240703' ); 728 770 } 729 771 add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' ); … … 736 778 function twentyten_block_editor_styles() { 737 779 // Block styles. 738 wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '202 01208' );780 wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20240703' ); 739 781 } 740 782 add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' ); 741 783 742 // Block Patterns. 743 require get_template_directory() . '/block-patterns.php'; 784 /** 785 * Register block patterns and pattern categories. 786 * 787 * @since Twenty Ten 4.3 788 */ 789 function twentyten_register_block_patterns() { 790 require get_template_directory() . '/block-patterns.php'; 791 } 792 793 add_action( 'init', 'twentyten_register_block_patterns' ); 744 794 745 795 if ( ! function_exists( 'wp_body_open' ) ) : -
trunk/src/wp-content/themes/twentyten/header.php
r52448 r60061 22 22 wp_title( '|', true, 'right' ); 23 23 24 // Add the blogname.24 // Add the site name. 25 25 bloginfo( 'name' ); 26 26 27 // Add the blogdescription for the home/front page.27 // Add the site description for the home/front page. 28 28 $site_description = get_bloginfo( 'description', 'display' ); 29 29 if ( $site_description && ( is_home() || is_front_page() ) ) { … … 40 40 </title> 41 41 <link rel="profile" href="https://gmpg.org/xfn/11" /> 42 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>?ver=20190507" />42 <link rel="stylesheet" type="text/css" media="all" href="<?php echo esc_url( get_stylesheet_uri() ); ?>?ver=20241112" /> 43 43 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 44 44 <?php … … 64 64 <?php wp_body_open(); ?> 65 65 <div id="wrapper" class="hfeed"> 66 <?php // Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. ?> 67 <a href="#content" class="screen-reader-text skip-link"><?php _e( 'Skip to content', 'twentyten' ); ?></a> 66 68 <div id="header"> 67 69 <div id="masthead"> … … 70 72 <<?php echo $heading_tag; ?> id="site-title"> 71 73 <span> 72 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> 74 <?php $is_front = ! is_paged() && ( is_front_page() || ( is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ); ?> 75 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>><?php bloginfo( 'name' ); ?></a> 73 76 </span> 74 77 </<?php echo $heading_tag; ?>> … … 96 99 echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); 97 100 } else { 98 // Compatibility with versions of WordPress prior to 3.4. 99 if ( function_exists( 'get_custom_header' ) ) { 100 $header_image_width = get_custom_header()->width; 101 $header_image_height = get_custom_header()->height; 102 } else { 103 $header_image_width = HEADER_IMAGE_WIDTH; 104 $header_image_height = HEADER_IMAGE_HEIGHT; 105 } 106 ?> 107 <img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="" /> 108 <?php 101 twentyten_header_image(); 109 102 } // End check for featured image or standard header. 110 103 ?> … … 112 105 113 106 <div id="access" role="navigation"> 114 <?php // Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. ?>115 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>116 107 <?php 117 108 /* -
trunk/src/wp-content/themes/twentyten/loop-attachment.php
r52448 r60061 46 46 sprintf( 47 47 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 48 get_author_posts_url( get_the_author_meta( 'ID') ),48 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 49 49 /* translators: %s: Author display name. */ 50 50 esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), … … 101 101 ); 102 102 foreach ( $attachments as $k => $attachment ) { 103 if ( $attachment->ID == $post->ID ) {103 if ( $attachment->ID === $post->ID ) { 104 104 break; 105 105 } … … 108 108 // If there is more than 1 image attachment in a gallery... 109 109 if ( count( $attachments ) > 1 ) { 110 $k++;110 ++$k; 111 111 if ( isset( $attachments[ $k ] ) ) { 112 112 // ...get the URL of the next image attachment. … … 155 155 <?php 156 156 if ( ! empty( $post->post_excerpt ) ) { 157 the_excerpt();} 157 the_excerpt(); 158 } 158 159 ?> 159 160 </div> -
trunk/src/wp-content/themes/twentyten/readme.txt
r52448 r60061 1 1 === Twenty Ten === 2 2 Contributors: wordpressdotorg 3 Tested up to: 5.9 4 Stable tag: 3.5 3 Requires at least: 3.0 4 Tested up to: 6.7 5 Requires PHP: 5.2.4 6 Stable tag: 4.3 5 7 License: GPLv2 or later 6 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 16 == Installation == 15 17 16 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.18 1. In your admin panel, go to Appearance -> Themes and click the 'Add' button. 17 19 2. Type in Twenty Ten in the search form and press the 'Enter' key in your keyboard. 18 20 3. Click on the 'Activate' button to use your new theme right away. … … 22 24 == Copyright == 23 25 24 Twenty Ten WordPress Theme, Copyright 2010-202 2 WordPress.org & Automattic.com26 Twenty Ten WordPress Theme, Copyright 2010-2025 WordPress.org, Automattic Inc., and contributors. 25 27 Twenty Ten is Distributed under the terms of the GNU GPL 26 28 … … 43 45 == Changelog == 44 46 47 = 4.3 = 48 * Released: November 12, 2024 49 50 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.3 51 52 = 4.2 = 53 * Released: July 16, 2024 54 55 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.2 56 57 = 4.1 = 58 * Released: April 2, 2024 59 60 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.1 61 62 = 4.0 = 63 * Released: November 7, 2023 64 65 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.0 66 67 = 3.9 = 68 * Released: August 8, 2023 69 70 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.9 71 72 = 3.8 = 73 * Released: March 28, 2023 74 75 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.8 76 77 = 3.7 = 78 * Released: November 1, 2022 79 80 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.7 81 82 = 3.6 = 83 * Released: January 25, 2022 84 85 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.6 86 45 87 = 3.5 = 46 88 * Released: July 26, 2021 47 89 48 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.590 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.5 49 91 50 92 = 3.4 = 51 93 * Released: July 20, 2021 52 94 53 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.495 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.4 54 96 55 97 = 3.3 = 56 98 * Released: March 9, 2021 57 99 58 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.3100 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.3 59 101 60 102 = 3.2 = 61 103 * Released: December 8, 2020 62 104 63 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.2105 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.2 64 106 65 107 = 3.1 = 66 108 * Released: August 11, 2020 67 109 68 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.1110 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.1 69 111 70 112 = 3.0 = 71 113 * Released: March 31, 2020 72 114 73 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.0115 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.0 74 116 75 117 = 2.9 = 76 118 * Released: May 7, 2019 77 119 78 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.9120 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.9 79 121 80 122 = 2.8 = 81 123 * Released: February 21, 2019 82 124 83 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.8125 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.8 84 126 85 127 = 2.7 = 86 128 * Released: December 19, 2018 87 129 88 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.7130 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.7 89 131 90 132 = 2.6 = 91 133 * Released: December 6, 2018 92 134 93 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.6135 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.6 94 136 95 137 = 2.5 = 96 138 * Released: May 17, 2018 97 139 98 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.5140 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.5 99 141 100 142 = 2.4 = 101 143 * Released: November 14, 2017 102 144 103 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.4145 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.4 104 146 105 147 = 2.3 = 106 148 * Released: June 8, 2017 107 149 108 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.3150 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.3 109 151 110 152 = 2.2 = 111 153 * Released: August 15, 2016 112 154 113 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.2155 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.2 114 156 115 157 = 2.1 = 116 158 * Released: December 8, 2015 117 159 118 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.1160 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.1 119 161 120 162 = 2.0 = 121 163 * Released: August 18, 2015 122 164 123 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.0165 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.0 124 166 125 167 = 1.9 = 126 168 * Released: April 23, 2015 127 169 128 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.9170 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.9 129 171 130 172 = 1.8 = 131 173 * Released: December 18, 2014 132 174 133 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.8175 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.8 134 176 135 177 = 1.7 = 136 178 * Released: September 4, 2014 137 179 138 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.7180 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.7 139 181 140 182 = 1.6 = 141 183 * Released: August 1, 2013 142 184 143 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.6185 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.6 144 186 145 187 = 1.5 = 146 188 * Released: December 11, 2012 147 189 148 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.5190 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.5 149 191 150 192 = 1.4 = 151 193 * Released: June 13, 2012 152 194 153 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.4195 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.4 154 196 155 197 = 1.3 = 156 198 * Released: December 12, 2011 157 199 158 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.3200 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.3 159 201 160 202 = 1.2 = 161 203 * Released: February 23, 2011 162 204 163 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.2205 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.2 164 206 165 207 = 1.1 = 166 208 * Released: July 29, 2010 167 209 168 https:// codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.1210 https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.1 169 211 170 212 = 1.0 = -
trunk/src/wp-content/themes/twentyten/style.css
r52448 r60061 5 5 Author: the WordPress team 6 6 Author URI: https://wordpress.org/ 7 Version: 3.58 Tested up to: 5.97 Version: 4.3 8 Tested up to: 6.7 9 9 Requires at least: 3.0 10 10 Requires PHP: 5.2.4 … … 324 324 background: #f9f9f9; 325 325 border: 1px solid #ccc; 326 -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 327 -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 326 328 box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 327 -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);328 -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);329 329 padding: 2px; 330 330 } … … 342 342 /* Text meant only for screen readers */ 343 343 .screen-reader-text { 344 clip : rect(1px, 1px, 1px, 1px);344 clip-path: inset(50%); 345 345 overflow: hidden; 346 346 position: absolute !important; … … 349 349 } 350 350 351 a.skip-link:focus { 352 background-color: #ddd; 353 clip-path: none; 354 color: #333; 355 display: block; 356 font-size: 16px; 357 height: auto; 358 left: 5px; 359 line-height: 1.5; 360 padding: 16px 24px; 361 text-decoration: none; 362 top: 5px; 363 width: auto; 364 z-index: 100000; 365 } 351 366 352 367 /* =Header … … 419 434 } 420 435 #access ul ul { 421 box-shadow: 0px3px 3px rgba(0,0,0,0.2);422 -moz-box-shadow: 0 px3px 3px rgba(0,0,0,0.2);423 -webkit-box-shadow: 0px3px 3px rgba(0,0,0,0.2);436 -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); 437 -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); 438 box-shadow: 0 3px 3px rgba(0,0,0,0.2); 424 439 display: none; 425 440 position: absolute; … … 1000 1015 left: 0; 1001 1016 } 1002 .comment-author {1003 }1004 1017 .comment-author cite { 1005 1018 color: #000; … … 1022 1035 .comment-meta a:hover { 1023 1036 color: #ff4b33; 1024 }1025 .commentlist .even {1026 }1027 .commentlist .bypostauthor {1028 1037 } 1029 1038 .reply { … … 1203 1212 #wp-calendar thead { 1204 1213 font-size: 11px; 1205 }1206 #wp-calendar thead th {1207 1214 } 1208 1215 #wp-calendar tbody { … … 1292 1299 } 1293 1300 1294 #primary {1295 }1296 #secondary {1297 }1298 1299 /* Footer widget areas */1300 #footer-widget-area {1301 }1302 1303 1301 1304 1302 /* =Footer
Note: See TracChangeset
for help on using the changeset viewer.