Make WordPress Core

Changeset 13025


Ignore:
Timestamp:
02/08/2010 06:02:23 PM (16 years ago)
Author:
ryan
Message:

Trim trailing whitespace

Location:
trunk
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tag-form.php

    r12941 r13025  
    6262                </tr>
    6363                <?php
    64                 if ( 'category' == $taxonomy ) 
     64                if ( 'category' == $taxonomy )
    6565                        do_action('edit_category_form_fields', $tag);
    6666                else
     
    7070        </table>
    7171<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php esc_attr_e('Update Tag'); ?>" /></p>
    72 <?php 
    73 if ( 'category' == $taxonomy ) 
     72<?php
     73if ( 'category' == $taxonomy )
    7474        do_action('edit_category_form_', $tag);
    7575else
  • trunk/wp-admin/edit-tags.php

    r12941 r13025  
    329329</div>
    330330
    331 <?php 
    332 if ( 'category' == $taxonomy ) 
     331<?php
     332if ( 'category' == $taxonomy )
    333333        do_action('add_category_form_fields');
    334334else
  • trunk/wp-admin/includes/class-wp-filesystem-direct.php

    r13001 r13025  
    205205                        return false;
    206206
    207                 // try using rename first.  if that fails (for example, source is read only) try copy 
     207                // try using rename first.  if that fails (for example, source is read only) try copy
    208208                if ( @rename($source, $destination) )
    209209                        return true;
  • trunk/wp-admin/includes/file.php

    r13015 r13025  
    566566                        $needed_dirs[] = $to . untrailingslashit(dirname($info['name']));
    567567        }
    568        
     568
    569569        $needed_dirs = array_unique($needed_dirs);
    570570        asort($needed_dirs);
    571        
     571
    572572        // Create those directories if need be:
    573573        foreach ( $needed_dirs as $_dir ) {
     
    576576        }
    577577        unset($needed_dirs);
    578        
     578
    579579        for ( $i = 0; $i < $z->numFiles; $i++ ) {
    580580                if ( ! $info = $z->statIndex($i) )
  • trunk/wp-admin/includes/post.php

    r12987 r13025  
    483483                        if ( time() + $temp > 86400 ) // 1 day: $temp is equal to -1 * time( then )
    484484                                unset($draft_ids[$temp]);
    485        
     485
    486486                if ( isset($draft_ids[$temp_id]) ) { // Edit, don't write
    487487                        $_POST['post_ID'] = $draft_ids[$temp_id];
  • trunk/wp-admin/js/post.dev.js

    r12798 r13025  
    254254
    255255        // categories
    256         $('.categorydiv').each(function(){ 
    257                 var this_id = $(this).attr('id'), noSyncChecks = false, syncChecks, catAddAfter, popularCats; 
    258                 var taxonomy_parts = this_id.split('-'); 
     256        $('.categorydiv').each(function(){
     257                var this_id = $(this).attr('id'), noSyncChecks = false, syncChecks, catAddAfter, popularCats;
     258                var taxonomy_parts = this_id.split('-');
    259259                taxonomy_parts.shift();
    260260                var taxonomy = taxonomy_parts.join('-');
    261                 var settingName = taxonomy+'_tab'; 
    262                 if(taxonomy == 'category') 
    263                         settingName = 'cats'; 
    264                                
     261                var settingName = taxonomy+'_tab';
     262                if(taxonomy == 'category')
     263                        settingName = 'cats';
     264
    265265                // TODO: move to jQuery 1.3+, support for multiple hierarchical taxonomies, see wp-lists.dev.js
    266266                $('a', '#'+taxonomy+'-tabs').click(function(){
     
    275275                        return false;
    276276                });
    277                
     277
    278278                if ( getUserSetting(settingName) )
    279279                        $('a[href="#'+taxonomy+'-pop"]', '#'+taxonomy+'-tabs').click();
    280280
    281281                // Ajax Cat
    282                 $('#new'+taxonomy).one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ) } ); 
    283                 $('#'+taxonomy+'-add-submit').click(function(){$('#new'+taxonomy).focus();}); 
    284                
    285                 syncChecks = function() { 
    286                                 if ( noSyncChecks ) 
    287                                         return; 
    288                                 noSyncChecks = true; 
    289                                 var th = jQuery(this), c = th.is(':checked'), id = th.val().toString(); 
    290                                 $('#in-'+taxonomy+'-' + id + ', #in-'+taxonomy+'-category-' + id).attr( 'checked', c ); 
    291                                 noSyncChecks = false; 
    292                         }; 
    293                        
    294                        
    295                
     282                $('#new'+taxonomy).one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ) } );
     283                $('#'+taxonomy+'-add-submit').click(function(){$('#new'+taxonomy).focus();});
     284
     285                syncChecks = function() {
     286                                if ( noSyncChecks )
     287                                        return;
     288                                noSyncChecks = true;
     289                                var th = jQuery(this), c = th.is(':checked'), id = th.val().toString();
     290                                $('#in-'+taxonomy+'-' + id + ', #in-'+taxonomy+'-category-' + id).attr( 'checked', c );
     291                                noSyncChecks = false;
     292                        };
     293
     294
     295
    296296                catAddBefore = function( s ) {
    297297                        if ( !$('#new'+taxonomy).val() )
  • trunk/wp-admin/network.php

    r13000 r13025  
    364364                check_admin_referer( 'install-network-1' );
    365365
    366                 if ( isset( $_POST[ 'existing_network' ] ) ) { 
     366                if ( isset( $_POST[ 'existing_network' ] ) ) {
    367367                        // Install!
    368368                        $base = stripslashes( dirname( dirname( $_SERVER['SCRIPT_NAME'] ) ) );
  • trunk/wp-content/themes/twentyten/404.php

    r13012 r13025  
    33        <div id="container">
    44                <div id="content">
    5                        
     5
    66                        <div id="post-0" class="post error404 not-found">
    77                                <h1 class="entry-title">Not Found</h1>
     
    1212                        </div><!-- #post-0 -->
    1313
    14                 </div><!-- #content -->         
     14                </div><!-- #content -->
    1515        </div><!-- #container -->
    1616        <script type="text/javascript">
    1717                // focus on search field after it has loaded
    1818                document.getElementById('s') && document.getElementById('s').focus();
    19         </script>               
     19        </script>
    2020
    2121<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/archive.php

    r13012 r13025  
    11<?php get_header(); ?>
    2        
    3                 <div id="container">   
     2
     3                <div id="container">
    44                        <div id="content">
    5                        
    6 <?php the_post(); ?>                   
    7                        
     5
     6<?php the_post(); ?>
     7
    88<?php if ( is_day() ) : ?>
    99                                <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_time(get_option('date_format')) ) ?></h1>
     
    1717
    1818<?php rewind_posts(); ?>
    19                        
     19
    2020<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    2121                                <div id="nav-above" class="navigation">
     
    2323                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    2424                                </div><!-- #nav-above -->
    25 <?php } ?>                     
     25<?php } ?>
    2626
    2727<?php while ( have_posts() ) : the_post(); ?>
     
    3535                the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    3636                                                <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span>
    37                                                 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>                                     
     37                                                <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    3838                                        </div><!-- .entry-meta -->
    3939
    40                                         <div class="entry-summary">     
     40                                        <div class="entry-summary">
    4141<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    4242                                        </div><!-- .entry-summary -->
     
    4848                                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    4949                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
    50                                         </div><!-- #entry-utility -->   
     50                                        </div><!-- #entry-utility -->
    5151                                </div><!-- #post-<?php the_ID(); ?> -->
    5252
    53 <?php endwhile; ?>                     
     53<?php endwhile; ?>
    5454
    5555<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
     
    5858                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    5959                                </div><!-- #nav-below -->
    60 <?php } ?>                     
    61                        
    62                         </div><!-- #content -->         
     60<?php } ?>
     61
     62                        </div><!-- #content -->
    6363                </div><!-- #container -->
    64                
    65 <?php get_sidebar(); ?> 
     64
     65<?php get_sidebar(); ?>
    6666<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/attachment.php

    r13012 r13025  
    11<?php get_header(); ?>
    22
    3                 <div id="container">   
     3                <div id="container">
    44                        <div id="content">
    55
     
    77
    88                                <p class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php printf( __( 'Return to %s', 'twentyten' ), wp_specialchars( get_the_title($post->post_parent), 1 ) ) ?>" rel="gallery">&larr; <?php echo get_the_title($post->post_parent) ?></a></p>
    9                                
     9
    1010                                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1111                                        <h2 class="entry-title"><?php the_title(); ?></h2>
    12                                        
     12
    1313                                        <div class="entry-meta">
    1414                                                <span class="meta-prep meta-prep-author"><?php _e('By ', 'twentyten'); ?></span>
     
    1717                                                <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'twentyten'); ?></span>
    1818                                                <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr></span>
    19                                                 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>                                               
     19                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>
    2020                                        </div><!-- .entry-meta -->
    21                                        
     21
    2222                                        <div class="entry-content">
    23                                                 <div class="entry-attachment">                                 
     23                                                <div class="entry-attachment">
    2424<?php if ( wp_attachment_is_image( $post->id ) ) : $att_image = wp_get_attachment_image_src( $post->id, array(640,640)); ?>
    2525                                                <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->id); ?>" title="<?php the_title(); ?>" rel="attachment"><img src="<?php echo $att_image[0];?>" width="<?php echo $att_image[1];?>" height="<?php echo $att_image[2];?>"  class="attachment-medium" alt="<?php $post->post_excerpt; ?>" /></a>
    2626                                                </p>
    27                                                
     27
    2828
    2929                                <div id="nav-below" class="navigation">
    3030                                        <div class="nav-previous"><?php previous_image_link( false ); ?></div>
    3131                                        <div class="nav-next"><?php next_image_link( false ); ?></div>
    32                                 </div><!-- #nav-below -->                                               
    33 <?php else : ?>         
    34                                                 <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a>         
    35 <?php endif; ?>         
    36                                                 </div>                         
     32                                </div><!-- #nav-below -->
     33<?php else : ?>
     34                                                <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a>
     35<?php endif; ?>
     36                                                </div>
    3737                                                <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt() ?></div>
    3838
     
    4141
    4242                                        </div><!-- .entry-content -->
    43                                
     43
    4444                                        <div class="entry-utility">
    4545                                        <?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'twentyten' ),
     
    6868                </div><!-- #container -->
    6969
    70 <?php get_sidebar(); ?> 
     70<?php get_sidebar(); ?>
    7171<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/author.php

    r13012 r13025  
    11<?php get_header(); ?>
    2        
    3                 <div id="container">   
     2
     3                <div id="container">
    44                        <div id="content">
    5                        
    6 <?php the_post(); ?>                   
    7                        
     5
     6<?php the_post(); ?>
     7
    88                                <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='$authordata->user_url' title='$authordata->display_name' rel='me'>$authordata->display_name</a>" ) ?></h1>
    99
    10 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries  ?>                                       
     10<?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries  ?>
    1111                                        <div id="entry-author-info">
    1212                                                <div id="author-avatar">
    1313<?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>
    14                                                 </div><!-- #author-avatar       -->             
     14                                                </div><!-- #author-avatar       -->
    1515                                                <div id="author-description">
    16                                                         <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2>                                                             
     16                                                        <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2>
    1717<?php the_author_meta('description'); ?>
    1818                                                </div><!-- #author-description  -->
     
    2121
    2222<?php rewind_posts(); ?>
    23                        
     23
    2424<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    2525                                <div id="nav-above" class="navigation">
     
    2727                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    2828                                </div><!-- #nav-above -->
    29 <?php } ?>                     
     29<?php } ?>
    3030
    3131<?php while ( have_posts() ) : the_post(); ?>
     
    3939                the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    4040                                        </div><!-- .entry-meta -->
    41                                        
    42                                         <div class="entry-summary">     
     41
     42                                        <div class="entry-summary">
    4343<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    4444                                        </div><!-- .entry-summary -->
     
    5050                                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    5151                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
    52                                         </div><!-- #entry-utility -->   
     52                                        </div><!-- #entry-utility -->
    5353                                </div><!-- #post-<?php the_ID(); ?> -->
    5454
    55 <?php endwhile; ?>                     
     55<?php endwhile; ?>
    5656
    5757<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
     
    6060                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    6161                                </div><!-- #nav-below -->
    62 <?php } ?>                     
    63                        
    64                         </div><!-- #content -->         
     62<?php } ?>
     63
     64                        </div><!-- #content -->
    6565                </div><!-- #container -->
    66                
    67 <?php get_sidebar(); ?> 
     66
     67<?php get_sidebar(); ?>
    6868<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/category.php

    r13012 r13025  
    11
    22<?php get_header(); ?>
    3        
    4                 <div id="container">   
     3
     4                <div id="container">
    55                        <div id="content">
    6                        
    7 <?php the_post(); ?>                   
    8                        
     6
     7<?php the_post(); ?>
     8
    99                                <h1 class="page-title"><?php _e( 'Category Archives:', 'twentyten' ) ?> <span><?php single_cat_title() ?></span></span></h1>
    1010                                <?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
    1111
    1212<?php rewind_posts(); ?>
    13                        
     13
    1414<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    1515                                <div id="nav-above" class="navigation">
     
    1717                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    1818                                </div><!-- #nav-above -->
    19 <?php } ?>                     
     19<?php } ?>
    2020
    2121<?php while ( have_posts() ) : the_post(); ?>
     
    2929                the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    3030                                                <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span>
    31                                                 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>                                     
     31                                                <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    3232                                        </div><!-- .entry-meta -->
    33                                        
    34                                         <div class="entry-summary">     
     33
     34                                        <div class="entry-summary">
    3535<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    3636                                        </div><!-- .entry-summary -->
    37                        
     37
    3838                                        <div class="entry-utility">
    3939<?php if ( $cats_meow = cats_meow(', ') ) : // Returns categories other than the one queried ?>
     
    4444                                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    4545                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
    46                                         </div><!-- #entry-utility -->   
     46                                        </div><!-- #entry-utility -->
    4747                                </div><!-- #post-<?php the_ID(); ?> -->
    4848
    49 <?php endwhile; ?>                     
     49<?php endwhile; ?>
    5050
    5151<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
     
    5454                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    5555                                </div><!-- #nav-below -->
    56 <?php } ?>                     
    57                        
    58                         </div><!-- #content -->         
     56<?php } ?>
     57
     58                        </div><!-- #content -->
    5959                </div><!-- #container -->
    60                
    61 <?php get_sidebar(); ?> 
     60
     61<?php get_sidebar(); ?>
    6262<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/editor-style.css

    r13012 r13025  
    145145        color: #444;
    146146        font-size: 16px;
    147         line-height: 24px;     
     147        line-height: 24px;
    148148}
    149149p,
     
    206206        font-size: 0.9em;
    207207}
    208 table { 
    209         border: 1px solid #e7e7e7 !important; 
    210         text-align: left; 
    211         margin: 0 -1px 24px 0; 
    212         width: 100%; 
     208table {
     209        border: 1px solid #e7e7e7 !important;
     210        text-align: left;
     211        margin: 0 -1px 24px 0;
     212        width: 100%;
    213213        border-collapse: collapse;
    214214        border-spacing: 0;
    215 } 
    216 tr th, 
     215}
     216tr th,
    217217thead th {
    218218        border: none !important;
    219         color: #888; 
    220         font-size: 12px; 
    221         font-weight: bold; 
    222         line-height: 18px; 
    223         padding: 9px 24px; 
    224 } 
     219        color: #888;
     220        font-size: 12px;
     221        font-weight: bold;
     222        line-height: 18px;
     223        padding: 9px 24px;
     224}
    225225tr td {
    226226        border: none !important;
    227         border-top: 1px solid #e7e7e7 !important; 
     227        border-top: 1px solid #e7e7e7 !important;
    228228        padding: 6px 24px;
    229229}
     
    270270        -khtml-border-radius: 0;
    271271        -webkit-border-radius: 0;
    272         border-radius: 0;       
     272        border-radius: 0;
    273273}
    274274.wp-caption img {
     
    278278        margin: 0 0 4px;
    279279}
    280 .wp-smiley { 
     280.wp-smiley {
    281281        margin:0;
    282282}
  • trunk/wp-content/themes/twentyten/functions.php

    r13012 r13025  
    44$content_width = apply_filters('twentyten_content_width', 640 );
    55
    6 // Your Changeable header business starts here 
     6// Your Changeable header business starts here
    77// No CSS, just IMG call
    88define( 'HEADER_TEXTCOLOR', '');
     
    9696                        <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    9797                </div>
    98         </div> 
     98        </div>
    9999
    100100        <?php } else { ?>
     
    179179                'after_title' => '</h3>',
    180180        ) );
    181        
     181
    182182        // Area 2
    183183        register_sidebar( array (
    184184                'name' => 'Secondary Widget Area',
    185                 'id' => 'secondary-widget-area', 
     185                'id' => 'secondary-widget-area',
    186186                'description' => __('The secondary widget area' , 'twentyten'),
    187187                'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
     
    190190                'after_title' => '</h3>',
    191191        ) );
    192        
     192
    193193        // Area 3
    194194        register_sidebar( array (
    195195                'name' => 'First Footer Widget Area',
    196                 'id' => 'first-footer-widget-area', 
     196                'id' => 'first-footer-widget-area',
    197197                'description' => __('The first footer widget area' , 'twentyten'),
    198198                'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
     
    200200                'before_title' => '<h3 class="widget-title">',
    201201                'after_title' => '</h3>',
    202         ) ); 
     202        ) );
    203203
    204204        // Area 4
    205205        register_sidebar( array (
    206206                'name' => 'Second Footer Widget Area',
    207                 'id' => 'second-footer-widget-area', 
     207                'id' => 'second-footer-widget-area',
    208208                'description' => __('The second footer widget area' , 'twentyten'),
    209209                'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
     
    211211                'before_title' => '<h3 class="widget-title">',
    212212                'after_title' => '</h3>',
    213         ) ); 
     213        ) );
    214214
    215215        // Area 5
    216216        register_sidebar( array (
    217217                'name' => 'Third Footer Widget Area',
    218                 'id' => 'third-footer-widget-area', 
     218                'id' => 'third-footer-widget-area',
    219219                'description' => __('The third footer widget area' , 'twentyten'),
    220220                'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
     
    222222                'before_title' => '<h3 class="widget-title">',
    223223                'after_title' => '</h3>',
    224         ) ); 
     224        ) );
    225225
    226226        // Area 6
    227227        register_sidebar( array (
    228228                'name' => 'Fourth Footer Widget Area',
    229                 'id' => 'fourth-footer-widget-area', 
     229                'id' => 'fourth-footer-widget-area',
    230230                'description' => __('The fourth footer widget area' , 'twentyten'),
    231231                'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
     
    233233                'before_title' => '<h3 class="widget-title">',
    234234                'after_title' => '</h3>',
    235         ) ); 
    236  
     235        ) );
     236
    237237} // end theme_widgets_init
    238238
  • trunk/wp-content/themes/twentyten/header.php

    r13012 r13025  
    33<head>
    44    <title><?php
    5         if ( is_single() ) { single_post_title(); print ' | '; bloginfo('name'); }       
     5        if ( is_single() ) { single_post_title(); print ' | '; bloginfo('name'); }
    66        elseif ( is_home() || is_front_page() ) { bloginfo('name'); print ' | '; bloginfo('description'); get_page_number(); }
    77        elseif ( is_page() ) { single_post_title(''); print ' | '; bloginfo('name'); }
     
    1010        else { bloginfo('name'); wp_title('|'); get_page_number(); }
    1111    ?></title>
    12        
     12
    1313        <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    14        
     14
    1515        <link rel="profile" href="http://gmpg.org/xfn/11">
    1616        <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
    1717        <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" />
    18        
     18
    1919        <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    20        
     20
    2121        <?php wp_head(); ?>
    22        
     22
    2323        <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( __( '%s latest posts', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" />
    2424        <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" />
    25         <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />       
     25        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    2626</head>
    2727
     
    3131        <div id="header">
    3232                <div id="masthead">
    33                
     33
    3434                        <div id="branding">
    3535                                <div id="site-title"><span><a href="<?php bloginfo( 'url' ) ?>/" title="<?php bloginfo( 'name' ) ?>" rel="home"><?php bloginfo( 'name' ) ?></a></span></div>
    3636                                <div id="site-description"><?php bloginfo( 'description' ) ?></div>
    37                                
     37
    3838                                <?php
    3939                                        global $post;
     
    4444                                <?php } ?>
    4545                        </div><!-- #branding -->
    46                        
     46
    4747                        <div id="access">
    4848                                <div class="skip-link screen-reader-text"><a href="#content" title="<?php _e( 'Skip to content', 'twentyten' ) ?>"><?php _e( 'Skip to content', 'twentyten' ) ?></a></div>
    49                                 <?php wp_page_menu( 'sort_column=menu_order' ); ?>                     
     49                                <?php wp_page_menu( 'sort_column=menu_order' ); ?>
    5050                        </div><!-- #access -->
    51                        
    52                 </div><!-- #masthead -->       
     51
     52                </div><!-- #masthead -->
    5353        </div><!-- #header -->
    54        
     54
    5555        <div id="main">
  • trunk/wp-content/themes/twentyten/page.php

    r13012 r13025  
    11<?php get_header(); ?>
    2        
    3                 <div id="container">   
     2
     3                <div id="container">
    44                        <div id="content">
    5                        
     5
    66<?php the_post(); ?>
    7                                
     7
    88                                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    99                                        <h1 class="entry-title"><?php the_title(); ?></h1>
    1010                                        <div class="entry-content">
    1111<?php the_content(); ?>
    12 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>                                       
     12<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
    1313<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ) ?>
    1414                                        </div><!-- .entry-content -->
    15                                 </div><!-- #post-<?php the_ID(); ?> -->                 
    16                        
    17 <?php comments_template(); ?>                   
    18                        
    19                         </div><!-- #content -->         
     15                                </div><!-- #post-<?php the_ID(); ?> -->
     16
     17<?php comments_template(); ?>
     18
     19                        </div><!-- #content -->
    2020                </div><!-- #container -->
    21                
    22 <?php get_sidebar(); ?> 
     21
     22<?php get_sidebar(); ?>
    2323<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/print.css

    r13012 r13025  
    1 /*   
     1/*
    22This stylesheet reformats the theme for the printed page.
    33*/
  • trunk/wp-content/themes/twentyten/rtl.css

    r13012 r13025  
    1 /*   
     1/*
    22Theme Name: Twenty Ten
    33*/
    44
    55
    6 /* -------------------------------------------------------------- 
    7  
     6/* --------------------------------------------------------------
     7
    88   RTL Basics
    9    
     9
    1010-------------------------------------------------------------- */
    1111
     
    4040/* =Fonts
    4141-------------------------------------------------------------- */
    42 body, 
    43 input, 
     42body,
     43input,
    4444textarea,
    4545.page-title span {
     
    6060.entry-content label,
    6161.entry-content tr th,
    62 .entry-content thead th, 
     62.entry-content thead th,
    6363.entry-meta,
    6464.entry-title,
     
    140140
    141141#access .menu {
    142     margin-right: 12px; 
    143     margin-left: 0; 
     142    margin-right: 12px;
     143    margin-left: 0;
    144144}
    145145
     
    150150
    151151#access ul ul {
    152         left:auto; 
     152        left:auto;
    153153        right:0;
    154154        float:right;
    155155}
    156156#access ul ul ul {
    157         left:auto; 
    158         right:100%; 
     157        left:auto;
     158        right:100%;
    159159}
    160160
     
    162162-------------------------------------------------------------- */
    163163
    164 #content table { 
    165         text-align: right; 
    166         margin: 0 0 24px -1px; 
     164#content table {
     165        text-align: right;
     166        margin: 0 0 24px -1px;
    167167}
    168168.entry-title,
     
    200200}
    201201
    202 /* Gallery listing 
     202/* Gallery listing
    203203-------------------------------------------------------------- */
    204204
     
    208208        margin-right:0;
    209209}
    210 #content .gallery .gallery-item { 
    211         float: right; 
     210#content .gallery .gallery-item {
     211        float: right;
    212212}
    213213
     
    215215-------------------------------------------------------------- */
    216216
    217 #content .gallery .gallery-caption { 
     217#content .gallery .gallery-caption {
    218218        margin-right: 0;
    219219}
  • trunk/wp-content/themes/twentyten/search.php

    r13012 r13025  
    11<?php get_header(); ?>
    2        
    3                 <div id="container">   
     2
     3                <div id="container">
    44                        <div id="content">
    5                        
     5
    66<?php if ( have_posts() ) : ?>
    7                                
     7
    88                                <h1 class="page-title"><?php _e( 'Search Results for: ', 'twentyten' ); ?><span><?php the_search_query(); ?></span></h1>
    9                                
     9
    1010<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    1111                                <div id="nav-above" class="navigation">
     
    1313                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    1414                                </div><!-- #nav-above -->
    15 <?php } ?>                                                     
     15<?php } ?>
    1616
    1717<?php while ( have_posts() ) : the_post() ?>
     
    2020                                        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( __('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    2121
    22 <?php if ( $post->post_type == 'post' ) { ?>                                                                   
     22<?php if ( $post->post_type == 'post' ) { ?>
    2323                                        <div class="entry-meta">
    2424                                                <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span>
     
    2626                the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    2727                                                <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span>
    28                                                 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>                                     
     28                                                <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    2929                                        </div><!-- .entry-meta -->
    3030<?php } ?>
    31                                        
    32                                         <div class="entry-summary">     
     31
     32                                        <div class="entry-summary">
    3333<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    3434<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?>
    3535                                        </div><!-- .entry-summary -->
    3636
    37 <?php if ( $post->post_type == 'post' ) { ?>                                                                   
     37<?php if ( $post->post_type == 'post' ) { ?>
    3838                                        <div class="entry-utility">
    3939                                                <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list(', '); ?></span>
     
    4242                                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    4343                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
    44                                         </div><!-- #entry-utility -->   
    45 <?php } ?>                                     
     44                                        </div><!-- #entry-utility -->
     45<?php } ?>
    4646                                </div><!-- #post-<?php the_ID(); ?> -->
    4747
     
    5353                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    5454                                </div><!-- #nav-below -->
    55 <?php } ?>                     
     55<?php } ?>
    5656
    5757<?php else : ?>
     
    6161                                        <div class="entry-content">
    6262                                                <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p>
    63         <?php get_search_form(); ?>                                             
     63        <?php get_search_form(); ?>
    6464                                        </div><!-- .entry-content -->
    6565                                </div>
    6666
    67 <?php endif; ?>                 
     67<?php endif; ?>
    6868
    69                         </div><!-- #content -->         
     69                        </div><!-- #content -->
    7070                </div><!-- #container -->
    71                
    72 <?php get_sidebar(); ?> 
     71
     72<?php get_sidebar(); ?>
    7373<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/sidebar-footer.php

    r13012 r13025  
    99                                                </ul>
    1010                                        </div><!-- #first .widget-area -->
    11 <?php endif; ?>         
     11<?php endif; ?>
    1212
    1313<?php if ( is_active_sidebar('second-footer-widget-area') ) : ?>
     
    1717                                        </ul>
    1818                                </div><!-- #second .widget-area -->
    19 <?php endif; ?>         
     19<?php endif; ?>
    2020
    2121<?php if ( is_active_sidebar('third-footer-widget-area') ) : ?>
     
    2525                                        </ul>
    2626                                </div><!-- #third .widget-area -->
    27 <?php endif; ?>         
     27<?php endif; ?>
    2828
    2929<?php if ( is_active_sidebar('fourth-footer-widget-area') ) : ?>
     
    3333                                        </ul>
    3434                                </div><!-- #fourth .widget-area -->
    35 <?php endif; ?>         
     35<?php endif; ?>
    3636
    3737                        </div><!-- #footer-widget-area -->
  • trunk/wp-content/themes/twentyten/sidebar.php

    r13012 r13025  
    1212                                </ul>
    1313                        </li>
    14                        
     14
    1515                        <li id="meta" class="widget-container">
    1616                                <h3 class="widget-title"><?php _e('Meta', 'twentyten') ?></h3>
     
    2222
    2323                                </ul>
    24                         </li>                   
     24                        </li>
    2525<?php endif; // end primary widget area  ?>
    2626                        </ul>
    2727                </div><!-- #primary .widget-area -->
    28                
     28
    2929<?php if ( is_active_sidebar('secondary-widget-area') ) : // Nothing here by default and design ?>
    3030                <div id="secondary" class="widget-area">
  • trunk/wp-content/themes/twentyten/single.php

    r13012 r13025  
    11<?php get_header(); ?>
    2        
    3                 <div id="container">   
     2
     3                <div id="container">
    44                        <div id="content">
    5                        
     5
    66<?php the_post(); ?>
    77
     
    1313                                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1414                                        <h1 class="entry-title"><?php the_title(); ?></h1>
    15                                        
     15
    1616                                        <div class="entry-meta">
    1717                                                <span class="meta-prep meta-prep-author"><?php _e('Posted by ', 'twentyten'); ?></span>
     
    2020                                                <a href="<?php
    2121the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    22                                                 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>                                               
     22                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>
    2323                                        </div><!-- .entry-meta -->
    24                                                                                
     24
    2525                                        <div class="entry-content">
    2626<?php the_content(); ?>
     
    2828                                        </div><!-- .entry-content -->
    2929
    30 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries  ?>                                       
     30<?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries  ?>
    3131                                        <div id="entry-author-info">
    3232                                                <div id="author-avatar">
    3333<?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>
    34                                                 </div><!-- #author-avatar       -->             
     34                                                </div><!-- #author-avatar       -->
    3535                                                <div id="author-description">
    36                                                         <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2>                                                             
     36                                                        <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2>
    3737<?php the_author_meta('description'); ?>
    3838                                                        <div id="author-link">
    3939                                                                <a href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php _e('View all posts by ', 'twentyten'); ?><?php the_author(); ?> &rarr;</a>
    40                                                         </div><!-- #author-link -->                                                                                                     
     40                                                        </div><!-- #author-link -->
    4141                                                </div><!-- #author-description  -->
    4242                                        </div><!-- .entry-author-info -->
    4343<?php endif; ?>
    44                                        
     44
    4545                                        <div class="entry-utility">
    4646                                        <?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'twentyten' ),
     
    5252
    5353<?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
    54                                         </div><!-- .entry-utility -->                                                                                                   
    55                                 </div><!-- #post-<?php the_ID(); ?> -->                 
    56                                
     54                                        </div><!-- .entry-utility -->
     55                                </div><!-- #post-<?php the_ID(); ?> -->
     56
    5757                                <div id="nav-below" class="navigation">
    5858                                        <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ) ?></div>
    5959                                        <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ) ?></div>
    60                                 </div><!-- #nav-below -->                                       
     60                                </div><!-- #nav-below -->
    6161
    62 <?php comments_template('', true); ?>                   
    63                        
    64                         </div><!-- #content -->         
     62<?php comments_template('', true); ?>
     63
     64                        </div><!-- #content -->
    6565                </div><!-- #container -->
    66                
    67 <?php get_sidebar(); ?> 
     66
     67<?php get_sidebar(); ?>
    6868<?php get_footer(); ?>
  • trunk/wp-content/themes/twentyten/style.css

    r13012 r13025  
    1 /*   
     1/*
    22Theme Name: Twenty Ten
    33Theme URI: http://wordpress.org/
     
    99
    1010
    11 /* -------------------------------------------------------------- 
    12  
     11/* --------------------------------------------------------------
     12
    1313   Reset default browser CSS.
    14    
     14
    1515   Based on work by Eric Meyer:
    1616   http://meyerweb.com/eric/tools/css/reset/index.html
    17    
     17
    1818-------------------------------------------------------------- */
    1919
     
    3636        line-height: 1;
    3737}
    38 h1,h2,h3,h4,h5,h6 { 
     38h1,h2,h3,h4,h5,h6 {
    3939        font-weight: normal;
    4040        clear: both;
     
    9393/* =Fonts
    9494-------------------------------------------------------------- */
    95 body, 
    96 input, 
     95body,
     96input,
    9797textarea,
    9898.page-title span,
     
    114114.entry-content label,
    115115.entry-content tr th,
    116 .entry-content thead th, 
     116.entry-content thead th,
    117117.entry-meta,
    118118.entry-title,
     
    361361#access a {
    362362        display:block;
    363         text-decoration:none; 
    364         color:#aaa; 
     363        text-decoration:none;
     364        color:#aaa;
    365365        padding:0 10px;
    366         line-height:38px; 
     366        line-height:38px;
    367367}
    368368#access ul ul {
     
    370370        position:absolute;
    371371        top:38px;
    372         left:0; 
     372        left:0;
    373373        float:left;
    374374        -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
     
    378378}
    379379#access ul ul ul {
    380         left:100%; 
    381         top:0; 
     380        left:100%;
     381        top:0;
    382382}
    383383#access ul ul a {
    384         background:#333; 
    385         height:auto; 
    386         line-height:1em; 
    387         padding:10px; 
     384        background:#333;
     385        height:auto;
     386        line-height:1em;
     387        padding:10px;
    388388        width: 130px;
    389389}
    390 #access li:hover > a, 
     390#access li:hover > a,
    391391#access ul ul :hover > a {
    392         color:#fff; 
     392        color:#fff;
    393393        background:#333;
    394394}
     
    414414        color: #444;
    415415        font-size: 16px;
    416         line-height: 24px;     
     416        line-height: 24px;
    417417}
    418418#content p,
     
    456456        line-height: 1.5em;
    457457}
    458 #content table { 
    459         border: 1px solid #e7e7e7; 
    460         text-align: left; 
    461         margin: 0 -1px 24px 0; 
    462         width: 100%; 
    463 } 
    464 #content tr th, 
    465 #content thead th { 
    466         color: #888; 
    467         font-size: 12px; 
    468         font-weight: bold; 
    469         line-height: 18px; 
    470         padding: 9px 24px; 
    471 } 
    472 #content tr td { 
    473         border-top: 1px solid #e7e7e7; 
    474         padding: 6px 24px; 
    475 }
    476 #content tr.odd td { 
     458#content table {
     459        border: 1px solid #e7e7e7;
     460        text-align: left;
     461        margin: 0 -1px 24px 0;
     462        width: 100%;
     463}
     464#content tr th,
     465#content thead th {
     466        color: #888;
     467        font-size: 12px;
     468        font-weight: bold;
     469        line-height: 18px;
     470        padding: 9px 24px;
     471}
     472#content tr td {
     473        border-top: 1px solid #e7e7e7;
     474        padding: 6px 24px;
     475}
     476#content tr.odd td {
    477477        background: #F2F7FC;
    478478}
     
    678678-------------------------------------------------------------- */
    679679
    680 .category-gallery { 
     680.category-gallery {
    681681        margin-bottom: 48px;
    682682}
     
    768768        margin: 0 0 4px;
    769769}
    770 #content .wp-smiley { 
     770#content .wp-smiley {
    771771        margin:0;
    772772}
     
    875875        margin-bottom: 18px;
    876876}
    877 #comments .comment-body p:last-child { 
     877#comments .comment-body p:last-child {
    878878        margin-bottom: 6px;
    879879}
     
    998998        color:#888;
    999999        font-size: 12px;
    1000         line-height: 18px;     
     1000        line-height: 18px;
    10011001}
    10021002#form-allowed-tags p {
    1003         margin:0;       
     1003        margin:0;
    10041004}
    10051005#form-allowed-tags span {
     
    10961096
    10971097/* Footer widget areas */
    1098 #footer-widget-area {   
     1098#footer-widget-area {
    10991099}
    11001100
  • trunk/wp-content/themes/twentyten/tag.php

    r13012 r13025  
    11<?php get_header(); ?>
    2        
    3                 <div id="container">   
     2
     3                <div id="container">
    44                        <div id="content">
    5                        
    6 <?php the_post(); ?>                   
    7                        
     5
     6<?php the_post(); ?>
     7
    88                                <h1 class="page-title"><?php _e( 'Tag Archives:', 'twentyten' ) ?> <span><?php single_tag_title() ?></span></h1>
    99
    1010<?php rewind_posts(); ?>
    11                        
     11
    1212<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    1313                                <div id="nav-above" class="navigation">
     
    1515                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    1616                                </div><!-- #nav-above -->
    17 <?php } ?>                     
     17<?php } ?>
    1818
    1919<?php while ( have_posts() ) : the_post(); ?>
     
    2626                                                <a href="<?php the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    2727                                                <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span>
    28                                                 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>                                     
     28                                                <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    2929                                        </div><!-- .entry-meta -->
    30                                        
    31                                         <div class="entry-summary">     
     30
     31                                        <div class="entry-summary">
    3232<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    3333                                        </div><!-- .entry-summary -->
     
    3636                                                <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list(', '); ?></span>
    3737                                                <span class="meta-sep"> | </span>
    38 <?php if ( $tag_ur_it = tag_ur_it(', ') ) : // Returns tags other than the one queried ?>                                               
     38<?php if ( $tag_ur_it = tag_ur_it(', ') ) : // Returns tags other than the one queried ?>
    3939                                                <span class="tag-links"><?php printf( __( 'Also tagged %s', 'twentyten' ), $tag_ur_it ) ?></span>
    40 <?php endif; ?>                                         
     40<?php endif; ?>
    4141                                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    4242                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
    43                                         </div><!-- #entry-utility -->   
     43                                        </div><!-- #entry-utility -->
    4444                                </div><!-- #post-<?php the_ID(); ?> -->
    4545
    46 <?php endwhile; ?>                     
     46<?php endwhile; ?>
    4747
    4848<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
     
    5151                                        <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    5252                                </div><!-- #nav-below -->
    53 <?php } ?>                     
    54                        
    55                         </div><!-- #content -->         
     53<?php } ?>
     54
     55                        </div><!-- #content -->
    5656                </div><!-- #container -->
    57                
    58 <?php get_sidebar(); ?> 
     57
     58<?php get_sidebar(); ?>
    5959<?php get_footer(); ?>
  • trunk/wp-includes/default-constants.php

    r13019 r13025  
    259259                         */
    260260                        define('STYLESHEETPATH', get_stylesheet_directory());
    261                        
     261
    262262                        /**
    263263                         * Slug of the fallback theme for this install.
  • trunk/wp-includes/ms-load.php

    r12930 r13025  
    145145                return $current_site;
    146146        }
    147        
     147
    148148        if ( is_subdomain_install() ) {
    149149                $sitedomain = substr( $domain, 1 + strpos( $domain, '.' ) );
  • trunk/wp-includes/post-template.php

    r12882 r13025  
    394394        if ( is_single() ) {
    395395                $postID = $wp_query->get_queried_object_id();
    396                
     396
    397397                $classes[] = 'single postid-' . $postID;
    398398
Note: See TracChangeset for help on using the changeset viewer.