Make WordPress Core

Changeset 31506


Ignore:
Timestamp:
02/22/2015 05:06:02 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Remove untranslatable period from a successful update message in Bulk_Upgrader_Skin::add_strings().

props mako09, DrewAPicture.
fixes #30793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader-skins.php

    r31219 r31506  
    222222        $this->upgrader->strings['skin_update_failed_error'] = __('An error occurred while updating %1$s: <strong>%2$s</strong>');
    223223        $this->upgrader->strings['skin_update_failed'] = __('The update of %1$s failed.');
    224         $this->upgrader->strings['skin_update_successful'] = __('%1$s updated successfully.').' <a onclick="%2$s" href="#" class="hide-if-no-js"><span>'.__('Show Details').'</span><span class="hidden">'.__('Hide Details').'</span>.</a>';
     224        $this->upgrader->strings['skin_update_successful'] = __( '%1$s updated successfully.' ) . ' <a onclick="%2$s" href="#" class="hide-if-no-js"><span>' . __( 'Show Details' ) . '</span><span class="hidden">' . __( 'Hide Details' ) . '</span></a>';
    225225        $this->upgrader->strings['skin_upgrade_end'] = __('All updates have been completed.');
    226226    }
Note: See TracChangeset for help on using the changeset viewer.