Ticket #45178: 45178.12.diff
File 45178.12.diff, 5.0 KB (added by , 2 years ago) |
---|
-
src/wp-admin/about.php
35 35 file_exists( WP_PLUGIN_DIR . '/gutenberg/gutenberg.php' ) 36 36 ) : ?> 37 37 <div class="about-text" style="font-style:italic;"> 38 <?php printf( __( 'The Gutenberg plugin has been deactivated, as the features are now included in WordPress %1$s by default. If you’d like to continue to test the upcoming changes in the WordPress editing experience, please %2$sreactivate the Gutenberg plugin%3$s.' ), $display_version, '<a href="' . esc_url( self_admin_url( 'plugins.php?s=gutenberg&plugin_status=all' ) ) . '">', '</a>' ); ?> 38 <?php 39 printf( 40 /* translators: 1: WordPress version, 2: HTML start tag of link, 3: HTML end tag of link */ 41 __( 'The Gutenberg plugin has been deactivated, as the features are now included in WordPress %1$s by default. If you’d like to continue to test the upcoming changes in the WordPress editing experience, please %2$sreactivate the Gutenberg plugin%3$s.' ), 42 $display_version, 43 '<a href="' . esc_url( self_admin_url( 'plugins.php?s=gutenberg&plugin_status=all' ) ) . '">', 44 '</a>' 45 ); 46 ?> 39 47 </div> 40 48 <?php else : ?> 41 49 <p class="about-text"> … … 264 272 </div> 265 273 </div> 266 274 267 <div class="feature-section one-col cta"> 268 <div class="col"> 269 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo esc_url( admin_url( 'customize.php?theme=twentynineteen' ) ); ?>"><?php _e( 'Give Twenty Nineteen a try' ); ?></a> 275 <?php if ( current_user_can( 'customize' ) ) { ?> 276 <div class="feature-section one-col cta"> 277 <div class="col"> 278 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo esc_url( admin_url( 'customize.php?theme=twentynineteen' ) ); ?>"><?php _e( 'Give Twenty Nineteen a try' ); ?></a> 279 </div> 270 280 </div> 271 < /div>281 <?php } ?> 272 282 273 283 <hr /> 274 284 … … 315 325 <div class="col"> 316 326 <p><?php _e( 'Prefer to stick with the familiar Classic Editor? No problem! Support for the Classic Editor plugin will remain in WordPress until 2021.' ); ?></p> 317 327 <p><?php _e( 'The Classic Editor plugin restores the previous WordPress editor and the Edit Post screen. It lets you keep using plugins that extend it, add old-style meta boxes, or otherwise depend on the previous editor. To install, visit your plugins page and click the “Install Now” button next to “Classic Editor.” After the plugin finishes installing, click “Activate.” That’s it! ' ); ?></p> 318 <p><?php _e( 'Note to users of assistive technology: if you experience usability issues with Gutenberg, we recommend you continue to use the Classic Editor.' ); ?></p> 319 <div class="col cta"> 320 <a class="button button-primary button-hero" href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=featured' ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a> 321 </div> 328 <p><?php _e( 'Note to users of assistive technology: if you experience usability issues with the block editor, we recommend you continue to use the Classic Editor.' ); ?></p> 329 <?php if ( current_user_can( 'install_plugins' ) ) { ?> 330 <div class="col cta"> 331 <a class="button button-primary button-hero" href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=featured' ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a> 332 </div> 333 <?php } ?> 322 334 </div> 323 335 </div> 324 336 -
src/wp-admin/credits.php
20 20 21 21 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 22 22 23 <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>23 <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p> 24 24 25 25 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> 26 26 -
src/wp-admin/freedoms.php
22 22 23 23 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 24 24 25 <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>25 <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p> 26 26 27 27 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> 28 28