Changeset 8066
- Timestamp:
- 01/10/2019 06:05:24 AM (6 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-requirements.php
r7389 r8066 9 9 10 10 namespace WordPressdotorg\MainTheme; 11 use WordPressdotorg\API\Serve_Happy\RECOMMENDED_PHP; 12 use WordPressdotorg\API\Serve_Happy\MINIMUM_PHP; 11 13 12 14 $GLOBALS['menu_items'] = [ … … 44 46 <?php 45 47 /* translators: 1: URL to PHP; 2: PHP Version */ 46 printf( wp_kses_post( __( '<a href="%1$s">PHP</a> version %2$s or greater.', 'wporg' ) ), esc_url( 'http://www.php.net/' ), '7.2');48 printf( wp_kses_post( __( '<a href="%1$s">PHP</a> version %2$s or greater.', 'wporg' ) ), esc_url( 'http://www.php.net/' ), RECOMMENDED_PHP ); 47 49 ?> 48 50 </li> … … 73 75 /* translators: 1: PHP Version including; 2: MySQL Version */ 74 76 wp_kses_post( __( 'Note: If you are in a legacy environment where you only have older PHP or MySQL versions, WordPress also works with PHP %1$s+ and MySQL %2$s+, but these versions have reached official End Of Life and as such <strong>may expose your site to security vulnerabilities</strong>.', 'wporg' ) ), 75 '5.2.4',77 MINIMUM_PHP, 76 78 '5.0' 77 79 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php
r7756 r8066 9 9 10 10 namespace WordPressdotorg\MainTheme; 11 use WordPressdotorg\API\Serve_Happy\RECOMMENDED_PHP; 11 12 12 13 $hosts = [ … … 147 148 <?php 148 149 printf( 149 /* translators: 1: URL to PHP website; 2: URL to MySQL website; 3: URL to MariaDB website */ 150 wp_kses_post( __( 'We recommend servers running version 7.2 or greater of <a href="%1$s">PHP</a> and <a href="%2$s">MySQL</a> version 5.6 <em>OR</em> <a href="%3$s">MariaDB</a> version 10.0 or greater.', 'wporg' ) ), 151 esc_url( 'http://www.php.net/' ), 150 /* translators: 1: PHP version; 2: URL to PHP website; 3: URL to MySQL website; 4: MySQL version; 5: URL to MariaDB website; 6: MariaDB version */ 151 wp_kses_post( __( 'We recommend servers running version %1$s or greater of <a href="%2$s">PHP</a> and <a href="%3$s">MySQL</a> version %4$s <em>OR</em> <a href="%5$s">MariaDB</a> version %6$s or greater.', 'wporg' ) ), 152 RECOMMENDED_PHP, 153 esc_url( 'https://www.php.net/' ), 152 154 esc_url( 'https://www.mysql.com/' ), 153 esc_url( 'https://mariadb.org/' ) 155 '5.6', 156 esc_url( 'https://mariadb.org/' ), 157 '10.0' 154 158 ); 155 159 ?>
Note: See TracChangeset
for help on using the changeset viewer.