Make WordPress Core


Ignore:
Timestamp:
04/18/2012 08:57:06 PM (13 years ago)
Author:
koopersmith
Message:

Theme Customizer: Remove unused 'template' argument from wp_customize_url. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r20477 r20520  
    137137            $actions[] = '<a href="' . $preview_link . '" class="hide-if-customize" title="'
    138138                . esc_attr( sprintf( __( 'Preview &#8220;%s&#8221;' ), $title ) ) . '">' . __( 'Preview' ) . '</a>'
    139                 . '<a href="' . wp_customize_url( $stylesheet, $template ) . '" class="load-customize hide-if-no-customize">'
     139                . '<a href="' . wp_customize_url( $stylesheet ) . '" class="load-customize hide-if-no-customize">'
    140140                . __( 'Customize' ) . '</a>';
    141141            if ( ! is_multisite() && current_user_can( 'delete_themes' ) )
     
    155155                <?php endif; ?>
    156156            </a>
    157             <a href="<?php echo wp_customize_url( $stylesheet, $template ); ?>" class="screenshot load-customize hide-if-no-customize">
     157            <a href="<?php echo wp_customize_url( $stylesheet ); ?>" class="screenshot load-customize hide-if-no-customize">
    158158                <?php if ( $screenshot = $theme->get_screenshot() ) : ?>
    159159                    <img src="<?php echo esc_url( $screenshot ); ?>" alt="" />
Note: See TracChangeset for help on using the changeset viewer.