Changeset 44627 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 01/16/2019 05:05:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r44574 r44627 763 763 if ( ! $compatible_php ) { 764 764 echo '<div class="notice notice-error notice-alt"><p>'; 765 printf( 766 /* translators: "Updating PHP" page URL */ 767 __( '<strong>Error:</strong> This plugin <strong>requires a newer version of PHP</strong>, so unfortunately you cannot install it. <a href="%s" target="_blank">Click here to learn more about updating PHP</a>.' ), 768 esc_url( __( 'https://wordpress.org/support/update-php/' ) ) 769 ); 770 echo '</p></div>'; 765 _e( '<strong>Error:</strong> This plugin <strong>requires a newer version of PHP</strong>.' ); 766 if ( current_user_can( 'update_php' ) ) { 767 printf( 768 /* translators: %s: "Update PHP" page URL */ 769 ' ' . __( '<a href="%s" target="_blank">Click here to learn more about updating PHP</a>.' ), 770 esc_url( wp_get_update_php_url() ) 771 ); 772 echo '</p>'; 773 wp_update_php_annotation(); 774 } else { 775 echo '</p>'; 776 } 777 echo '</div>'; 771 778 } 772 779
Note: See TracChangeset
for help on using the changeset viewer.