Ticket #46326: 46326.2.diff
File 46326.2.diff, 942 bytes (added by , 6 years ago) |
---|
-
wp-admin/includes/dashboard.php
1615 1615 */ 1616 1616 function wp_dashboard_php_nag() { 1617 1617 $response = wp_check_php_version(); 1618 $version = phpversion(); 1618 1619 1619 1620 if ( ! $response ) { 1620 1621 return; … … 1621 1622 } 1622 1623 1623 1624 if ( isset( $response['is_secure'] ) && ! $response['is_secure'] ) { 1624 $msg = __( 'WordPress has detected that your site is running on an insecure version of PHP.');1625 $msg = sprintf( __( 'WordPress has detected that your site is running on an insecure version of PHP %s.' ) , $version ); 1625 1626 } else { 1626 $msg = __( 'WordPress has detected that your site is running on an outdated version of PHP.');1627 $msg = sprintf( __( 'WordPress has detected that your site is running on an outdated version of PHP %s.' ) , $version ); 1627 1628 } 1628 1629 1629 1630 ?>