- Timestamp:
- 07/28/2020 11:29:28 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-theme-control.php
r48652 r48659 108 108 </div> 109 109 <# } else { #> 110 <div class="update-message notice inline notice- warningnotice-alt" data-slug="{{ data.theme.id }}">110 <div class="update-message notice inline notice-error notice-alt" data-slug="{{ data.theme.id }}"> 111 111 <p> 112 112 <# if ( ! data.theme.updateResponse.compatibleWP && ! data.theme.updateResponse.compatiblePHP ) { #> 113 113 <?php 114 _e( 'There is a new version available, but it doesn’t work with your versions of WordPress and PHP.' ); 114 printf( 115 /* translators: %s: Theme name. */ 116 __( 'There is a new version of %s available, but it doesn’t work with your versions of WordPress and PHP.' ), 117 '{{{ data.theme.name }}}' 118 ); 115 119 if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) { 116 120 printf( … … 138 142 <# } else if ( ! data.theme.updateResponse.compatibleWP ) { #> 139 143 <?php 140 _e( 'There is a new version available, but it doesn’t work with your version of WordPress.' ); 144 printf( 145 /* translators: %s: Theme name. */ 146 __( 'There is a new version of %s available, but it doesn’t work with your version of WordPress.' ), 147 '{{{ data.theme.name }}}' 148 ); 141 149 if ( current_user_can( 'update_core' ) ) { 142 150 printf( … … 149 157 <# } else if ( ! data.theme.updateResponse.compatiblePHP ) { #> 150 158 <?php 151 _e( 'There is a new version available, but it doesn’t work with your version of PHP.' ); 159 printf( 160 /* translators: %s: Theme name. */ 161 __( 'There is a new version of %s available, but it doesn’t work with your version of PHP.' ), 162 '{{{ data.theme.name }}}' 163 ); 152 164 if ( current_user_can( 'update_php' ) ) { 153 165 printf(
Note: See TracChangeset
for help on using the changeset viewer.