WordPress.org

Make WordPress Themes


Ignore:
Location:
twentyeleven/1.5
Files:
55 edited

Legend:

Unmodified
Added
Removed
  • twentyeleven/1.5/colors/dark.css

    r34234 r34234  
    3636} 
    3737input[type=text], 
    38 .post-password-required input[type=password], 
     38input[type=password], 
     39input[type=email], 
     40input[type=url], 
     41input[type=number], 
    3942textarea { 
    4043    border: 1px solid #222; 
    41 } 
    42 input[type=text]:focus, 
    43 textarea:focus { 
    4444} 
    4545input#s { 
  • twentyeleven/1.5/comments.php

    r34234 r34234  
    6464        <?php endif; // check for comment navigation ?> 
    6565 
    66     <?php 
     66        <?php 
    6767        /* If there are no comments and comments are closed, let's leave a little note, shall we? 
    68          * But we don't want the note on pages or post types that do not support comments. 
     68         * But we only want the note on posts and pages that had comments in the first place. 
    6969         */ 
    70         elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) : 
    71     ?> 
    72         <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyeleven' ); ?></p> 
    73     <?php endif; ?> 
     70        if ( ! comments_open() && get_comments_number() ) : ?> 
     71        <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyeleven' ); ?></p> 
     72        <?php endif; ?> 
     73 
     74    <?php endif; // have_comments() ?> 
    7475 
    7576    <?php comment_form(); ?> 
  • twentyeleven/1.5/content-aside.php

    r34234 r34234  
    1414        <header class="entry-header"> 
    1515            <hgroup> 
    16                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     16                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1717                <h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3> 
    1818            </hgroup> 
     
    4343            <?php endif; ?> 
    4444            <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    45         </footer><!-- #entry-meta --> 
     45        </footer><!-- .entry-meta --> 
    4646    </article><!-- #post-<?php the_ID(); ?> --> 
  • twentyeleven/1.5/content-featured.php

    r34234 r34234  
    1212<article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>> 
    1313    <header class="entry-header"> 
    14         <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     14        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1515 
    1616        <div class="entry-meta"> 
  • twentyeleven/1.5/content-gallery.php

    r34234 r34234  
    1414    <header class="entry-header"> 
    1515        <hgroup> 
    16             <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     16            <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1717            <h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3> 
    1818        </hgroup> 
     
    4646 
    4747                <p><em><?php printf( _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ), 
    48                         'href="' . esc_url( get_permalink() ) . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"', 
     48                        'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', 
    4949                        number_format_i18n( $total_images ) 
    5050                    ); ?></em></p> 
     
    8989 
    9090        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    91     </footer><!-- #entry-meta --> 
     91    </footer><!-- .entry-meta --> 
    9292</article><!-- #post-<?php the_ID(); ?> --> 
  • twentyeleven/1.5/content-image.php

    r34234 r34234  
    1313        <header class="entry-header"> 
    1414            <hgroup> 
    15                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     15                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1616                <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3> 
    1717            </hgroup> 
     
    3232            <div class="entry-meta"> 
    3333                <?php 
    34                     printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ), 
     34                    printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ), 
    3535                        esc_url( get_permalink() ), 
    3636                        get_the_date( 'c' ), 
     
    6767 
    6868            <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    69         </footer><!-- #entry-meta --> 
     69        </footer><!-- .entry-meta --> 
    7070    </article><!-- #post-<?php the_ID(); ?> --> 
  • twentyeleven/1.5/content-link.php

    r34234 r34234  
    1414        <header class="entry-header"> 
    1515            <hgroup> 
    16                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     16                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1717                <h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3> 
    1818            </hgroup> 
     
    4343            <?php endif; ?> 
    4444            <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    45         </footer><!-- #entry-meta --> 
     45        </footer><!-- .entry-meta --> 
    4646    </article><!-- #post-<?php the_ID(); ?> --> 
  • twentyeleven/1.5/content-quote.php

    r34234 r34234  
    1212        <header class="entry-header"> 
    1313            <hgroup> 
    14                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     14                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1515                <h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3> 
    1616            </hgroup> 
     
    7171 
    7272            <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    73         </footer><!-- #entry-meta --> 
     73        </footer><!-- .entry-meta --> 
    7474    </article><!-- #post-<?php the_ID(); ?> --> 
  • twentyeleven/1.5/content-status.php

    r34234 r34234  
    1313        <header class="entry-header"> 
    1414            <hgroup> 
    15                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     15                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1616                <h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3> 
    1717            </hgroup> 
     
    4444            <?php endif; ?> 
    4545            <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    46         </footer><!-- #entry-meta --> 
     46        </footer><!-- .entry-meta --> 
    4747    </article><!-- #post-<?php the_ID(); ?> --> 
  • twentyeleven/1.5/content.php

    r34234 r34234  
    1313            <?php if ( is_sticky() ) : ?> 
    1414                <hgroup> 
    15                     <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
     15                    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 
    1616                    <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3> 
    1717                </hgroup> 
    1818            <?php else : ?> 
    19             <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 
     19            <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 
    2020            <?php endif; ?> 
    2121 
     
    4646        <footer class="entry-meta"> 
    4747            <?php $show_sep = false; ?> 
    48             <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?> 
     48            <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported ?> 
    4949            <?php 
    5050                /* translators: used between list items, there is a space after the comma */ 
     
    5757            </span> 
    5858            <?php endif; // End if categories ?> 
     59            <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ) ?> 
     60            <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported ?> 
    5961            <?php 
    6062                /* translators: used between list items, there is a space after the comma */ 
     
    6971            </span> 
    7072            <?php endif; // End if $tags_list ?> 
    71             <?php endif; // End if 'post' == get_post_type() ?> 
     73            <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ) ?> 
    7274 
    7375            <?php if ( comments_open() ) : ?> 
     
    7981 
    8082            <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    81         </footer><!-- #entry-meta --> 
     83        </footer><!-- .entry-meta --> 
    8284    </article><!-- #post-<?php the_ID(); ?> --> 
  • twentyeleven/1.5/editor-style.css

    r34234 r34234  
    255255    margin-top: 0.4em; 
    256256} 
    257 img { 
     257img, 
     258.editor-attachment { 
    258259    border: 1px solid #ddd; 
    259260    padding: 6px; 
  • twentyeleven/1.5/footer.php

    r34234 r34234  
    2525            <div id="site-generator"> 
    2626                <?php do_action( 'twentyeleven_credits' ); ?> 
    27                 <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a> 
     27                <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a> 
    2828            </div> 
    2929    </footer><!-- #colophon --> 
  • twentyeleven/1.5/functions.php

    r34234 r34234  
    102102        $default_background_color = '1d1d1d'; 
    103103    else 
    104         $default_background_color = 'f1f1f1'; 
     104        $default_background_color = 'e2e2e2'; 
    105105 
    106106    // Add support for custom backgrounds. 
     
    132132        'admin-preview-callback' => 'twentyeleven_admin_header_image', 
    133133    ); 
    134      
     134 
    135135    add_theme_support( 'custom-header', $custom_header_support ); 
    136136 
     
    222222    if ( $text_color == HEADER_TEXTCOLOR ) 
    223223        return; 
    224          
     224 
    225225    // If we get this far, we have custom styles. Let's do this. 
    226226    ?> 
     
    338338add_filter( 'excerpt_length', 'twentyeleven_excerpt_length' ); 
    339339 
     340if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) : 
    340341/** 
    341342 * Returns a "Continue Reading" link for excerpts 
     
    344345    return ' <a href="'. esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) . '</a>'; 
    345346} 
     347endif; // twentyeleven_continue_reading_link 
    346348 
    347349/** 
     
    374376 */ 
    375377function twentyeleven_page_menu_args( $args ) { 
    376     $args['show_home'] = true; 
     378    if ( ! isset( $args['show_home'] ) ) 
     379        $args['show_home'] = true; 
    377380    return $args; 
    378381} 
     
    443446 * Display navigation to next/previous pages when applicable 
    444447 */ 
    445 function twentyeleven_content_nav( $nav_id ) { 
     448function twentyeleven_content_nav( $html_id ) { 
    446449    global $wp_query; 
    447450 
    448451    if ( $wp_query->max_num_pages > 1 ) : ?> 
    449         <nav id="<?php echo $nav_id; ?>"> 
     452        <nav id="<?php echo esc_attr( $html_id ); ?>"> 
    450453            <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3> 
    451454            <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyeleven' ) ); ?></div> 
     
    539542                        printf( __( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ), 
    540543                            sprintf( '<span class="fn">%s</span>', get_comment_author_link() ), 
    541                             sprintf( '<a href="%1$s"><time pubdate datetime="%2$s">%3$s</time></a>', 
     544                            sprintf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>', 
    542545                                esc_url( get_comment_link( $comment->comment_ID ) ), 
    543546                                get_comment_time( 'c' ), 
     
    579582 */ 
    580583function twentyeleven_posted_on() { 
    581     printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ), 
     584    printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ), 
    582585        esc_url( get_permalink() ), 
    583586        esc_attr( get_the_time() ), 
  • twentyeleven/1.5/inc/widgets.php

    r34234 r34234  
    8787 
    8888                <li class="widget-entry-title"> 
    89                     <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 
     89                    <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 
    9090                    <span class="comments-link"> 
    9191                        <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?> 
     
    103103                            $link_url = get_permalink(); 
    104104                    ?> 
    105                     <a href="<?php echo esc_url( $link_url ); ?>" title="<?php printf( esc_attr__( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a> 
     105                    <a href="<?php echo esc_url( $link_url ); ?>" title="<?php echo esc_attr( sprintf( __( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a> 
    106106                    <span class="comments-link"> 
    107107                        <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?> 
  • twentyeleven/1.5/js/html5.js

    r34234 r34234  
    1 // html5shiv MIT @rem remysharp.com/html5-enabling-script 
    2 // iepp v1.6.2 MIT @jon_neal iecss.com/print-protector 
    3 /*@cc_on(function(a,b){function r(a){var b=-1;while(++b<f)a.createElement(e[b])}if(!(!window.attachEvent||!b.createStyleSheet||!function(){var a=document.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}())){a.iepp=a.iepp||{};var c=a.iepp,d=c.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",e=d.split("|"),f=e.length,g=new RegExp("(^|\\s)("+d+")","gi"),h=new RegExp("<(/*)("+d+")","gi"),i=/^\s*[\{\}]\s*$/,j=new RegExp("(^|[^\\n]*?\\s)("+d+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),k=b.createDocumentFragment(),l=b.documentElement,m=l.firstChild,n=b.createElement("body"),o=b.createElement("style"),p=/print|all/,q;c.getCSS=function(a,b){if(a+""===undefined)return"";var d=-1,e=a.length,f,g=[];while(++d<e){f=a[d];if(f.disabled)continue;b=f.media||b,p.test(b)&&g.push(c.getCSS(f.imports,b),f.cssText),b="all"}return g.join("")},c.parseCSS=function(a){var b=[],c;while((c=j.exec(a))!=null)b.push(((i.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(g,"$1.iepp_$2")+c[4]);return b.join("\n")},c.writeHTML=function(){var a=-1;q=q||b.body;while(++a<f){var c=b.getElementsByTagName(e[a]),d=c.length,g=-1;while(++g<d)c[g].className.indexOf("iepp_")<0&&(c[g].className+=" iepp_"+e[a])}k.appendChild(q),l.appendChild(n),n.className=q.className,n.id=q.id,n.innerHTML=q.innerHTML.replace(h,"<$1font")},c._beforePrint=function(){o.styleSheet.cssText=c.parseCSS(c.getCSS(b.styleSheets,"all")),c.writeHTML()},c.restoreHTML=function(){n.innerHTML="",l.removeChild(n),l.appendChild(q)},c._afterPrint=function(){c.restoreHTML(),o.styleSheet.cssText=""},r(b),r(k);if(c.disablePP)return;m.insertBefore(o,m.firstChild),o.media="print",o.className="iepp-printshim",a.attachEvent("onbeforeprint",c._beforePrint),a.attachEvent("onafterprint",c._afterPrint)}})(this,document)@*/ 
     1/*! HTML5 Shiv v3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ 
     2(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 
     3a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>"; 
     4c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a"); 
     5var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a, 
     6b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document); 
  • twentyeleven/1.5/languages/twentyeleven.pot

    r34234 r34234  
    55"Project-Id-Version: Twenty Eleven 1.4\n" 
    66"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyeleven\n" 
    7 "POT-Creation-Date: 2012-06-10 15:18:15+00:00\n" 
     7"POT-Creation-Date: 2012-11-15 01:19:07+00:00\n" 
    88"MIME-Version: 1.0\n" 
    99"Content-Type: text/plain; charset=UTF-8\n" 
     
    104104msgstr "" 
    105105 
    106 #: comments.php:72 
     106#: comments.php:71 
    107107msgid "Comments are closed." 
    108108msgstr "" 
     
    138138#: content-aside.php:33 content-gallery.php:32 content-image.php:27 
    139139#: content-link.php:33 content-quote.php:35 content-status.php:34 
    140 #: content.php:41 functions.php:344 
     140#: content.php:41 functions.php:345 
    141141msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>" 
    142142msgstr "" 
     
    151151#: content-aside.php:42 content-gallery.php:87 content-image.php:64 
    152152#: content-link.php:42 content-quote.php:69 content-status.php:43 
    153 #: content.php:77 showcase.php:201 
     153#: content.php:79 showcase.php:201 
    154154msgid "Leave a reply" 
    155155msgstr "" 
     
    157157#: content-aside.php:42 content-gallery.php:87 content-image.php:64 
    158158#: content-link.php:42 content-quote.php:69 content-status.php:43 
    159 #: content.php:77 showcase.php:201 
     159#: content.php:79 showcase.php:201 
    160160msgid "<b>1</b> Reply" 
    161161msgstr "" 
     
    163163#: content-aside.php:42 content-gallery.php:87 content-image.php:64 
    164164#: content-link.php:42 content-quote.php:69 content-status.php:43 
    165 #: content.php:77 showcase.php:201 
     165#: content.php:79 showcase.php:201 
    166166msgid "<b>%</b> Replies" 
    167167msgstr "" 
     
    170170#: content-image.php:68 content-intro.php:19 content-link.php:44 
    171171#: content-page.php:21 content-quote.php:72 content-single.php:52 
    172 #: content-status.php:45 content.php:80 functions.php:522 functions.php:550 
     172#: content-status.php:45 content.php:82 functions.php:525 functions.php:553 
    173173#: image.php:41 
    174174msgid "Edit" 
     
    179179#: content-gallery.php:72 content-image.php:47 content-image.php:56 
    180180#: content-quote.php:44 content-quote.php:54 content-single.php:30 
    181 #: content-single.php:33 content.php:51 content.php:61 
     181#: content-single.php:33 content.php:51 content.php:63 
    182182msgid ", " 
    183183msgstr "" 
     
    211211 
    212212#: content-gallery.php:78 content-image.php:59 content-quote.php:60 
    213 #: content.php:67 
     213#: content.php:69 
    214214msgid "<span class=\"%1$s\">Tagged</span> %2$s" 
    215215msgstr "" 
     
    222222msgid "" 
    223223"<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s" 
    224 "\" pubdate>%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by " 
    225 "</span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" " 
    226 "title=\"%5$s\" rel=\"author\">%6$s</a></span></span>" 
    227 msgstr "" 
    228  
    229 #: content-image.php:39 functions.php:587 
     224"\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> " 
     225"<span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s" 
     226"\" rel=\"author\">%6$s</a></span></span>" 
     227msgstr "" 
     228 
     229#: content-image.php:39 functions.php:590 
    230230msgid "View all posts by %s" 
    231231msgstr "" 
     
    328328msgstr "" 
    329329 
    330 #: functions.php:391 
     330#: functions.php:394 
    331331msgid "Main Sidebar" 
    332332msgstr "" 
    333333 
    334 #: functions.php:400 
     334#: functions.php:403 
    335335msgid "Showcase Sidebar" 
    336336msgstr "" 
    337337 
    338 #: functions.php:402 
     338#: functions.php:405 
    339339msgid "The sidebar for the optional Showcase Template" 
    340340msgstr "" 
    341341 
    342 #: functions.php:410 
     342#: functions.php:413 
    343343msgid "Footer Area One" 
    344344msgstr "" 
    345345 
    346 #: functions.php:412 functions.php:422 functions.php:432 
     346#: functions.php:415 functions.php:425 functions.php:435 
    347347msgid "An optional widget area for your site footer" 
    348348msgstr "" 
    349349 
    350 #: functions.php:420 
     350#: functions.php:423 
    351351msgid "Footer Area Two" 
    352352msgstr "" 
    353353 
    354 #: functions.php:430 
     354#: functions.php:433 
    355355msgid "Footer Area Three" 
    356356msgstr "" 
    357357 
    358 #: functions.php:450 single.php:18 
     358#: functions.php:453 single.php:18 
    359359msgid "Post navigation" 
    360360msgstr "" 
    361361 
    362 #: functions.php:451 
     362#: functions.php:454 
    363363msgid "<span class=\"meta-nav\">&larr;</span> Older posts" 
    364364msgstr "" 
    365365 
    366 #: functions.php:452 
     366#: functions.php:455 
    367367msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>" 
    368368msgstr "" 
    369369 
    370 #: functions.php:522 
     370#: functions.php:525 
    371371msgid "Pingback:" 
    372372msgstr "" 
    373373 
    374374#. translators: 1: comment author, 2: date and time 
    375 #: functions.php:539 
     375#: functions.php:542 
    376376msgid "%1$s on %2$s <span class=\"says\">said:</span>" 
    377377msgstr "" 
    378378 
    379379#. translators: 1: date, 2: time 
    380 #: functions.php:545 
     380#: functions.php:548 
    381381msgid "%1$s at %2$s" 
    382382msgstr "" 
    383383 
    384 #: functions.php:554 
     384#: functions.php:557 
    385385msgid "Your comment is awaiting moderation." 
    386386msgstr "" 
    387387 
    388 #: functions.php:563 
     388#: functions.php:566 
    389389msgid "Reply <span>&darr;</span>" 
    390390msgstr "" 
    391391 
    392 #: functions.php:581 
     392#: functions.php:584 
    393393msgid "" 
    394394"<span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\" rel=" 
    395 "\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</" 
    396 "time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span " 
    397 "class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" " 
    398 "rel=\"author\">%7$s</a></span></span>" 
     395"\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></" 
     396"a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=" 
     397"\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=" 
     398"\"author\">%7$s</a></span></span>" 
    399399msgstr "" 
    400400 
     
    652652msgstr "" 
    653653 
    654 #. Tags of the plugin/theme 
    655 msgid "" 
    656 "dark, light, white, black, gray, one-column, two-columns, left-sidebar, " 
    657 "right-sidebar, fixed-width, flexible-width, custom-background, custom-" 
    658 "colors, custom-header, custom-menu, editor-style, featured-image-header, " 
    659 "featured-images, full-width-template, microformats, post-formats, rtl-" 
    660 "language-support, sticky-post, theme-options, translation-ready" 
    661 msgstr "" 
    662  
    663654#. Template Name of the plugin/theme 
    664655msgid "Showcase Template" 
  • twentyeleven/1.5/showcase.php

    r34234 r34234  
    118118                                    $thumbnail_size = 'small-feature'; 
    119119                                ?> 
    120                                 <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> 
     120                                <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> 
    121121                                <?php 
    122122                            } 
     
    148148                                $class = ''; 
    149149                        ?> 
    150                         <li><a href="#featured-post-<?php echo $counter_slider; ?>" title="<?php printf( esc_attr__( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" <?php echo $class; ?>></a></li> 
     150                        <li><a href="#featured-post-<?php echo $counter_slider; ?>" title="<?php echo esc_attr( sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" <?php echo $class; ?>></a></li> 
    151151                    <?php endwhile; ?> 
    152152                    </ul> 
     
    197197 
    198198                        <li class="entry-title"> 
    199                             <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 
     199                            <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 
    200200                            <span class="comments-link"> 
    201201                                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?> 
  • twentyeleven/1.5/single.php

    r34234 r34234  
    2121                    </nav><!-- #nav-single --> 
    2222 
    23                     <?php get_template_part( 'content', 'single' ); ?> 
     23                    <?php get_template_part( 'content-single', get_post_format() ); ?> 
    2424 
    2525                    <?php comments_template( '', true ); ?> 
  • twentyeleven/1.5/style.css

    r34234 r34234  
    55Author URI: http://wordpress.org/ 
    66Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. 
    7 Version: 1.4 
     7Version: 1.5 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    10 Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready 
     10Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready 
    1111Text Domain: twentyeleven 
    1212*/ 
     
    432432    top: .5ex; 
    433433} 
     434small { 
     435    font-size: smaller; 
     436} 
    434437 
    435438/* Forms */ 
    436439input[type=text], 
    437440input[type=password], 
     441input[type=email], 
     442input[type=url], 
     443input[type=number], 
    438444textarea { 
    439445    background: #fafafa; 
     
    445451} 
    446452input[type=text]:focus, 
     453input[type=password]:focus, 
     454input[type=email]:focus, 
     455input[type=url]:focus, 
     456input[type=number]:focus, 
    447457textarea:focus { 
    448458    color: #373737; 
     
    452462    width: 98%; 
    453463} 
    454 input[type=text] { 
     464input[type=text], 
     465input[type=password], 
     466input[type=email], 
     467input[type=url], 
     468input[type=number] { 
    455469    padding: 3px; 
    456470} 
     
    531545#branding img { 
    532546    height: auto; 
    533     margin-bottom: -7px; 
     547    display: block; 
    534548    width: 100%; 
    535549} 
     
    963977} 
    964978 
    965 /* Make sure embeds and iframes fit their containers */ 
     979/* Make sure videos and embeds fit their containers */ 
    966980embed, 
    967981iframe, 
    968982object { 
    969983    max-width: 100%; 
     984} 
     985.entry-content .twitter-tweet-rendered { 
     986    max-width: 100% !important; /* Override the Twitter embed fixed width */ 
    970987} 
    971988 
     
    11911208    display: block; 
    11921209    margin: .375em 1.625em 0 0; 
     1210    max-width: 100%; 
    11931211} 
    11941212 
     
    17521770} 
    17531771.widget { 
     1772    word-wrap: break-word; 
     1773    -webkit-hyphens: auto; 
     1774    -moz-hyphens: auto; 
     1775    hyphens: auto; 
    17541776    clear: both; 
    17551777    margin: 0 0 2.2em; 
     
    19611983.commentlist .children li.comment .comment-content { 
    19621984    margin: 1.625em 0 0; 
     1985    word-wrap: break-word; 
     1986    -webkit-hyphens: auto; 
     1987    -moz-hyphens: auto; 
     1988    hyphens: auto; 
    19631989} 
    19641990.comment-meta a { 
     
    21172143    left: 75%; 
    21182144    position: absolute; 
    2119     top: 45px; 
    21202145    z-index: 1; 
    21212146} 
     
    26872712} 
    26882713 
    2689 /* =IE8  
    2690 ----------------------------------------------- */  
    2691   
    2692 #ie8 section.feature-image.large img {  
    2693     width: 100%;  
    2694 }  
     2714/* =IE8 
     2715----------------------------------------------- */ 
     2716 
     2717#ie8 section.feature-image.large img { 
     2718    width: 100%; 
     2719} 
Note: See TracChangeset for help on using the changeset viewer.