WordPress.org

Make WordPress Core

Changeset 13818


Ignore:
Timestamp:
03/26/2010 05:37:55 AM (10 years ago)
Author:
iammattthomas
Message:

Replace query strings with arras in Twenty Ten, see #12698. Props demetris.

Location:
trunk/wp-content/themes/twentyten
Files:
6 edited

Legend:

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

    r13720 r13818  
    4747
    4848<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    49 <?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
     49<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    5050
    5151                    </div><!-- .entry-content -->
  • trunk/wp-content/themes/twentyten/header.php

    r13720 r13818  
    4444            <div id="access">
    4545                <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
    46                 <?php wp_nav_menu( 'sort_column=menu_order&container_class=menu-header' ); ?>
     46                <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>
    4747            </div><!-- #access -->
    4848        </div><!-- #masthead -->
  • trunk/wp-content/themes/twentyten/loop.php

    r13720 r13818  
    118118            <div class="entry-content">
    119119                <?php the_content( __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    120                 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>'); ?>
     120                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    121121            </div><!-- .entry-content -->
    122122    <?php endif; ?>
  • trunk/wp-content/themes/twentyten/onecolumn-page.php

    r13720 r13818  
    1616                    <div class="entry-content">
    1717                        <?php the_content(); ?>
    18                         <?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
     18                        <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    1919                        <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
    2020                    </div><!-- .entry-content -->
  • trunk/wp-content/themes/twentyten/page.php

    r13720 r13818  
    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( array( '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 -->
  • trunk/wp-content/themes/twentyten/single.php

    r13757 r13818  
    2424                    <div class="entry-content">
    2525                        <?php the_content(); ?>
    26                         <?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
     26                        <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    2727                    </div><!-- .entry-content -->
    2828
Note: See TracChangeset for help on using the changeset viewer.