Changeset 44798
- Timestamp:
- 03/05/2019 08:29:19 PM (6 years ago)
- Location:
- branches/5.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1
-
branches/5.1/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r44656 r44798 635 635 echo '<div class="notice inline notice-error notice-alt"><p>'; 636 636 if ( ! $compatible_php && ! $compatible_wp ) { 637 _e( 'This plugin doesn’t work with your versions of WordPress and PHP. 637 _e( 'This plugin doesn’t work with your versions of WordPress and PHP.' ); 638 638 if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) { 639 639 printf( 640 640 /* translators: 1: "Update WordPress" screen URL, 2: "Update PHP" page URL */ 641 __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),641 ' ' . __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ), 642 642 self_admin_url( 'update-core.php' ), 643 643 esc_url( wp_get_update_php_url() ) … … 647 647 printf( 648 648 /* translators: %s: "Update WordPress" screen URL */ 649 __( '<a href="%s">Please update WordPress</a>.' ),649 ' ' . __( '<a href="%s">Please update WordPress</a>.' ), 650 650 self_admin_url( 'update-core.php' ) 651 651 ); … … 653 653 printf( 654 654 /* translators: %s: "Update PHP" page URL */ 655 __( '<a href="%s">Learn more about updating PHP</a>.' ),655 ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ), 656 656 esc_url( wp_get_update_php_url() ) 657 657 ); … … 659 659 } 660 660 } elseif ( ! $compatible_wp ) { 661 _e( 'This plugin doesn’t work with your version of WordPress. 661 _e( 'This plugin doesn’t work with your version of WordPress.' ); 662 662 if ( current_user_can( 'update_core' ) ) { 663 663 printf( 664 664 /* translators: %s: "Update WordPress" screen URL */ 665 __( '<a href="%s">Please update WordPress</a>.' ),665 ' ' . __( '<a href="%s">Please update WordPress</a>.' ), 666 666 self_admin_url( 'update-core.php' ) 667 667 ); 668 668 } 669 669 } elseif ( ! $compatible_php ) { 670 _e( 'This plugin doesn’t work with your version of PHP. 670 _e( 'This plugin doesn’t work with your version of PHP.' ); 671 671 if ( current_user_can( 'update_php' ) ) { 672 672 printf( 673 673 /* translators: %s: "Update PHP" page URL */ 674 __( '<a href="%s">Learn more about updating PHP</a>.' ),674 ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ), 675 675 esc_url( wp_get_update_php_url() ) 676 676 );
Note: See TracChangeset
for help on using the changeset viewer.