Make WordPress Core


Ignore:
Timestamp:
01/14/2014 11:17:10 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Remove unnecessary sprintf(). props jdgrimes. fixes #25489.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r26380 r26943  
    246246                    case 'update_available':
    247247                        if ( $status['url'] )
    248                             $action_links[] = '<a href="' . $status['url'] . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $status['version'] ) ) . '">' . sprintf( __( 'Update Now' ), $status['version'] ) . '</a>';
     248                            $action_links[] = '<a href="' . $status['url'] . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $status['version'] ) ) . '">' . __( 'Update Now' ) . '</a>';
    249249                        break;
    250250                    case 'latest_installed':
Note: See TracChangeset for help on using the changeset viewer.