Make WordPress Core


Ignore:
Location:
trunk/src/wp-content/themes/twentyten
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/author.php

    r52448 r60061  
    3030                <?php
    3131                /* 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>' );
    3333                ?>
    3434                </h1>
  • trunk/src/wp-content/themes/twentyten/block-patterns.php

    r52448 r60061  
    3434            'categories'    => array( 'twentyten' ),
    3535            '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 -->',
    3737        )
    3838    );
     
    5656            'categories'    => array( 'twentyten' ),
    5757            '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 -->',
    5959        )
    6060    );
  • trunk/src/wp-content/themes/twentyten/blocks.css

    r52448 r60061  
    2121/* Captions */
    2222
    23 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     23[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    2424    color: #777;
    2525    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
     
    111111}
    112112
     113.wp-block-file .wp-block-file__button {
     114    padding: 0.5em 1em;
     115    color: #fff;
     116    line-height: 1.5;
     117}
     118
    113119/*--------------------------------------------------------------
    1141203.0 Blocks - Formatting
     
    125131/* Pullquote */
    126132
     133.wp-block-pullquote {
     134    font-size: 1em;
     135}
     136
    127137.wp-block-pullquote p {
    128138    font-size: 1.5em;
     139    line-height: 1.3;
    129140}
    130141
     
    152163}
    153164
     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
    154173/*--------------------------------------------------------------
    1551744.0 Blocks - Layout Elements
     
    206225
    207226.has-blue-color,
    208 .has-blue-color:visited {
     227.has-blue-color:visited,
     228#content .has-blue-color,
     229#content .has-blue-color:visited {
    209230    color: #0066cc;
    210231}
     
    216237
    217238.has-black-color,
    218 .has-black-color:visited {
     239.has-black-color:visited,
     240#content .has-black-color,
     241#content .has-black-color:visited {
    219242    color: #000;
    220243}
     
    226249
    227250.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 {
    229254    color: #666;
    230255}
     
    236261
    237262.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 {
    239266    color: #f1f1f1;
    240267}
     
    246273
    247274.has-white-color,
    248 .has-white-color:visited {
     275.has-white-color:visited,
     276#content .has-white-color,
     277#content .has-white-color:visited {
    249278    color: #fff;
    250279}
  • trunk/src/wp-content/themes/twentyten/comments.php

    r52448 r60061  
    3535            <h3 id="comments-title">
    3636            <?php
    37             if ( 1 === get_comments_number() ) {
     37            if ( '1' === get_comments_number() ) {
    3838                printf(
    3939                    /* translators: %s: The post title. */
  • trunk/src/wp-content/themes/twentyten/editor-blocks.css

    r52448 r60061  
    150150/* Caption styles */
    151151
    152 [class^="wp-block-"] figcaption {
     152[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    153153    color: #777;
    154154    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
     
    262262/* Pullquote */
    263263
     264.wp-block-pullquote {
     265    font-size: 1em;
     266}
     267
     268.wp-block-pullquote blockquote > p.rich-text,
    264269.wp-block-pullquote blockquote > .editor-rich-text p {
    265270    font-size: 1.5em;
     271    line-height: 1.3;
    266272}
    267273
     
    289295}
    290296
     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
    291305/*--------------------------------------------------------------
    2923065.0 Blocks - Widgets
     
    368382    background-color: #fff;
    369383}
     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  
    2525
    2626            <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">
    2828                    <?php bloginfo( 'name' ); ?>
    2929                </a>
  • trunk/src/wp-content/themes/twentyten/functions.php

    r52448 r60061  
    129129         * Make theme available for translation.
    130130         * 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
    131136         */
    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        }
    133140
    134141        // This theme uses wp_nav_menu() in one location.
     
    166173            'width'               => apply_filters( 'twentyten_header_image_width', 940 ),
    167174            /**
    168              * Filters the Twenty Ten defaul header image height.
     175             * Filters the Twenty Ten default header image height.
    169176             *
    170177             * @since Twenty Ten 1.0
     
    284291endif;
    285292
     293
     294if ( ! 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    }
     324endif; // twentyten_header_image()
     325
    286326/**
    287327 * Show a home link for our wp_nav_menu() fallback, wp_page_menu().
     
    327367     */
    328368    function twentyten_continue_reading_link() {
    329         return ' <a href="' . get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) . '</a>';
     369        return ' <a href="' . esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) . '</a>';
    330370    }
    331371endif;
     
    390430 * @deprecated Deprecated in Twenty Ten 1.2 for WordPress 3.1
    391431 *
     432 * @param string $css Default CSS styles and opening HTML div container
     433 *                    for the gallery shortcode output.
    392434 * @return string The gallery style filter, with the styles themselves removed.
    393435 */
     
    440482                ?>
    441483
    442                 <?php if ( '0' == $comment->comment_approved ) : ?>
     484                <?php if ( '0' === $comment->comment_approved ) : ?>
    443485            <em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em>
    444486            <br />
     
    608650            sprintf(
    609651                '<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() ),
    611653                esc_attr( get_the_time() ),
    612654                get_the_date()
     
    614656            sprintf(
    615657                '<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' ) ) ),
    617659                /* translators: %s: Author display name. */
    618660                esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ),
     
    649691            get_the_category_list( ', ' ),
    650692            $tags_list,
    651             get_permalink(),
     693            esc_url( get_permalink() ),
    652694            the_title_attribute( 'echo=0' )
    653695        );
     
    725767function twentyten_scripts_styles() {
    726768    // Theme block stylesheet.
    727     wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181218' );
     769    wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20240703' );
    728770}
    729771add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' );
     
    736778function twentyten_block_editor_styles() {
    737779    // Block styles.
    738     wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20201208' );
     780    wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20240703' );
    739781}
    740782add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' );
    741783
    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 */
     789function twentyten_register_block_patterns() {
     790    require get_template_directory() . '/block-patterns.php';
     791}
     792
     793add_action( 'init', 'twentyten_register_block_patterns' );
    744794
    745795if ( ! function_exists( 'wp_body_open' ) ) :
  • trunk/src/wp-content/themes/twentyten/header.php

    r52448 r60061  
    2222    wp_title( '|', true, 'right' );
    2323
    24     // Add the blog name.
     24    // Add the site name.
    2525    bloginfo( 'name' );
    2626
    27     // Add the blog description for the home/front page.
     27    // Add the site description for the home/front page.
    2828    $site_description = get_bloginfo( 'description', 'display' );
    2929if ( $site_description && ( is_home() || is_front_page() ) ) {
     
    4040    </title>
    4141<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" />
    4343<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
    4444<?php
     
    6464<?php wp_body_open(); ?>
    6565<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>
    6668    <div id="header">
    6769        <div id="masthead">
     
    7072                <<?php echo $heading_tag; ?> id="site-title">
    7173                    <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>
    7376                    </span>
    7477                </<?php echo $heading_tag; ?>>
     
    9699                    echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
    97100                } 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();
    109102                } // End check for featured image or standard header.
    110103                ?>
     
    112105
    113106            <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>
    116107                <?php
    117108                /*
  • trunk/src/wp-content/themes/twentyten/loop-attachment.php

    r52448 r60061  
    4646                                sprintf(
    4747                                    '<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' ) ) ),
    4949                                    /* translators: %s: Author display name. */
    5050                                    esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ),
     
    101101            );
    102102            foreach ( $attachments as $k => $attachment ) {
    103                 if ( $attachment->ID == $post->ID ) {
     103                if ( $attachment->ID === $post->ID ) {
    104104                    break;
    105105                }
     
    108108            // If there is more than 1 image attachment in a gallery...
    109109            if ( count( $attachments ) > 1 ) {
    110                 $k++;
     110                ++$k;
    111111                if ( isset( $attachments[ $k ] ) ) {
    112112                    // ...get the URL of the next image attachment.
     
    155155                        <?php
    156156                        if ( ! empty( $post->post_excerpt ) ) {
    157                             the_excerpt();}
     157                            the_excerpt();
     158                        }
    158159                        ?>
    159160</div>
  • trunk/src/wp-content/themes/twentyten/readme.txt

    r52448 r60061  
    11=== Twenty Ten ===
    22Contributors: wordpressdotorg
    3 Tested up to: 5.9
    4 Stable tag: 3.5
     3Requires at least: 3.0
     4Tested up to: 6.7
     5Requires PHP: 5.2.4
     6Stable tag: 4.3
    57License: GPLv2 or later
    68License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1416== Installation ==
    1517
    16 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     181. In your admin panel, go to Appearance -> Themes and click the 'Add' button.
    17192. Type in Twenty Ten in the search form and press the 'Enter' key in your keyboard.
    18203. Click on the 'Activate' button to use your new theme right away.
     
    2224== Copyright ==
    2325
    24 Twenty Ten WordPress Theme, Copyright 2010-2022 WordPress.org & Automattic.com
     26Twenty Ten WordPress Theme, Copyright 2010-2025 WordPress.org, Automattic Inc., and contributors.
    2527Twenty Ten is Distributed under the terms of the GNU GPL
    2628
     
    4345== Changelog ==
    4446
     47= 4.3 =
     48* Released: November 12, 2024
     49
     50https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.3
     51
     52= 4.2 =
     53* Released: July 16, 2024
     54
     55https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.2
     56
     57= 4.1 =
     58* Released: April 2, 2024
     59
     60https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.1
     61
     62= 4.0 =
     63* Released: November 7, 2023
     64
     65https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_4.0
     66
     67= 3.9 =
     68* Released: August 8, 2023
     69
     70https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.9
     71
     72= 3.8 =
     73* Released: March 28, 2023
     74
     75https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.8
     76
     77= 3.7 =
     78* Released: November 1, 2022
     79
     80https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.7
     81
     82= 3.6 =
     83* Released: January 25, 2022
     84
     85https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.6
     86
    4587= 3.5 =
    4688* Released: July 26, 2021
    4789
    48 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.5
     90https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.5
    4991
    5092= 3.4 =
    5193* Released: July 20, 2021
    5294
    53 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.4
     95https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.4
    5496
    5597= 3.3 =
    5698* Released: March 9, 2021
    5799
    58 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.3
     100https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.3
    59101
    60102= 3.2 =
    61103* Released: December 8, 2020
    62104
    63 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.2
     105https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.2
    64106
    65107= 3.1 =
    66108* Released: August 11, 2020
    67109
    68 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.1
     110https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.1
    69111
    70112= 3.0 =
    71113* Released: March 31, 2020
    72114
    73 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.0
     115https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_3.0
    74116
    75117= 2.9 =
    76118* Released: May 7, 2019
    77119
    78 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.9
     120https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.9
    79121
    80122= 2.8 =
    81123* Released: February 21, 2019
    82124
    83 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.8
     125https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.8
    84126
    85127= 2.7 =
    86128* Released: December 19, 2018
    87129
    88 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.7
     130https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.7
    89131
    90132= 2.6 =
    91133* Released: December 6, 2018
    92134
    93 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.6
     135https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.6
    94136
    95137= 2.5 =
    96138* Released: May 17, 2018
    97139
    98 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.5
     140https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.5
    99141
    100142= 2.4 =
    101143* Released: November 14, 2017
    102144
    103 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.4
     145https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.4
    104146
    105147= 2.3 =
    106148* Released: June 8, 2017
    107149
    108 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.3
     150https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.3
    109151
    110152= 2.2 =
    111153* Released: August 15, 2016
    112154
    113 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.2
     155https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.2
    114156
    115157= 2.1 =
    116158* Released: December 8, 2015
    117159
    118 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.1
     160https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.1
    119161
    120162= 2.0 =
    121163* Released: August 18, 2015
    122164
    123 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.0
     165https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_2.0
    124166
    125167= 1.9 =
    126168* Released: April 23, 2015
    127169
    128 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.9
     170https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.9
    129171
    130172= 1.8 =
    131173* Released: December 18, 2014
    132174
    133 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.8
     175https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.8
    134176
    135177= 1.7 =
    136178* Released: September 4, 2014
    137179
    138 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.7
     180https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.7
    139181
    140182= 1.6 =
    141183* Released: August 1, 2013
    142184
    143 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.6
     185https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.6
    144186
    145187= 1.5 =
    146188* Released: December 11, 2012
    147189
    148 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.5
     190https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.5
    149191
    150192= 1.4 =
    151193* Released: June 13, 2012
    152194
    153 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.4
     195https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.4
    154196
    155197= 1.3 =
    156198* Released: December 12, 2011
    157199
    158 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.3
     200https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.3
    159201
    160202= 1.2 =
    161203* Released: February 23, 2011
    162204
    163 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.2
     205https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.2
    164206
    165207= 1.1 =
    166208* Released: July 29, 2010
    167209
    168 https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.1
     210https://wordpress.org/documentation/article/twenty-ten-changelog/#Version_1.1
    169211
    170212= 1.0 =
  • trunk/src/wp-content/themes/twentyten/style.css

    r52448 r60061  
    55Author: the WordPress team
    66Author URI: https://wordpress.org/
    7 Version: 3.5
    8 Tested up to: 5.9
     7Version: 4.3
     8Tested up to: 6.7
    99Requires at least: 3.0
    1010Requires PHP: 5.2.4
     
    324324    background: #f9f9f9;
    325325    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);
    326328    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);
    329329    padding: 2px;
    330330}
     
    342342/* Text meant only for screen readers */
    343343.screen-reader-text {
    344     clip: rect(1px, 1px, 1px, 1px);
     344    clip-path: inset(50%);
    345345    overflow: hidden;
    346346    position: absolute !important;
     
    349349}
    350350
     351a.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}
    351366
    352367/* =Header
     
    419434}
    420435#access ul ul {
    421     box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    422     -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    423     -webkit-box-shadow: 0px 3px 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);
    424439    display: none;
    425440    position: absolute;
     
    10001015    left: 0;
    10011016}
    1002 .comment-author {
    1003 }
    10041017.comment-author cite {
    10051018    color: #000;
     
    10221035.comment-meta a:hover {
    10231036    color: #ff4b33;
    1024 }
    1025 .commentlist .even {
    1026 }
    1027 .commentlist .bypostauthor {
    10281037}
    10291038.reply {
     
    12031212#wp-calendar thead {
    12041213    font-size: 11px;
    1205 }
    1206 #wp-calendar thead th {
    12071214}
    12081215#wp-calendar tbody {
     
    12921299}
    12931300
    1294 #primary {
    1295 }
    1296 #secondary {
    1297 }
    1298 
    1299 /* Footer widget areas */
    1300 #footer-widget-area {
    1301 }
    1302 
    13031301
    13041302/* =Footer
Note: See TracChangeset for help on using the changeset viewer.