Ticket #46997: 46997.diff
File 46997.diff, 1009 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/customize/class-wp-customize-theme-control.php
89 89 ?> 90 90 </div> 91 91 92 <# if ( 'installed' === data.theme.type && data.theme.hasUpdate ) { #>92 <# if ( 'installed' === data.theme.type && data.theme.hasUpdate && data.update ) { #> 93 93 <div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}"> 94 94 <p> 95 95 <?php … … 98 98 ?> 99 99 </p> 100 100 </div> 101 <# } else if ( 'installed' === data.theme.type && data.theme.hasUpdate ) { #> 102 <div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}"> 103 <p> 104 <?php _e( 'New version available.' ); ?> 105 </p> 106 </div> 101 107 <# } #> 102 108 103 109 <# if ( data.theme.active ) { #>