Make WordPress Core

Changeset 34296


Ignore:
Timestamp:
09/18/2015 06:30:26 PM (10 years ago)
Author:
wonderboymusic
Message:

Don't use HTML tags in translation strings in wp-admin/includes/update.php.

Props ramiy.
Fixes #31855.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update.php

    r33832 r34296  
    204204
    205205    case 'upgrade' :
    206         return sprintf( '<strong>'.__( '<a href="%1$s">Get Version %2$s</a>' ).'</strong>', network_admin_url( 'update-core.php' ), $cur->current);
     206        return '<strong><a href="' . network_admin_url( 'update-core.php' ) . '">' . sprintf( __( 'Get Version %s' ), $cur->current ) . '</a></strong>';
    207207
    208208    case 'latest' :
Note: See TracChangeset for help on using the changeset viewer.