Changeset 31090 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 01/08/2015 07:04:40 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r30982 r31090 168 168 $html = sprintf( '<p><strong>' . __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>.' ) . '</strong></p>', 169 169 $theme_name, esc_url( $details_url ), esc_attr( $theme['Name'] ), $update['new_version'] ); 170 } else if ( empty( $update['package'] ) ) {170 } elseif ( empty( $update['package'] ) ) { 171 171 $html = sprintf( '<p><strong>' . __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this theme.</em>' ) . '</strong></p>', 172 172 $theme_name, esc_url( $details_url ), esc_attr( $theme['Name'] ), $update['new_version'] );
Note: See TracChangeset
for help on using the changeset viewer.