Ticket #45178: 45178.13.diff
File 45178.13.diff, 5.7 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"> … … 219 227 </div> 220 228 </div> 221 229 222 <div class="feature-section one-col cta"> 223 <div class="col"> 224 <a class="button button-primary button-hero" href="<?php echo esc_url( admin_url( 'post-new.php' ) ); ?>"><?php _e( 'Build your first post' ); ?></a> 230 <?php if ( current_user_can( 'edit_posts' ) ) { ?> 231 <div class="feature-section one-col cta"> 232 <div class="col"> 233 <a class="button button-primary button-hero" href="<?php echo esc_url( admin_url( 'post-new.php' ) ); ?>"><?php _e( 'Build your first post' ); ?></a> 234 </div> 225 235 </div> 226 < /div>236 <?php } ?> 227 237 238 228 239 <hr /> 229 240 230 241 <div class="feature-section one-col"> … … 264 275 </div> 265 276 </div> 266 277 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> 278 <?php if ( current_user_can( 'customize' ) ) { ?> 279 <div class="feature-section one-col cta"> 280 <div class="col"> 281 <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> 282 </div> 270 283 </div> 271 < /div>284 <?php } ?> 272 285 273 286 <hr /> 274 287 … … 315 328 <div class="col"> 316 329 <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 330 <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> 331 <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> 332 <?php if ( current_user_can( 'install_plugins' ) ) { ?> 333 <div class="col cta"> 334 <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> 335 </div> 336 <?php } ?> 322 337 </div> 323 338 </div> 324 339 -
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