From e40df25f765ef5a57d489144d6487aad0cf8f4d1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 29 Apr 2018 22:51:25 +0000 Subject: [PATCH] Plugins: Show the required PHP version in the plugin details view, if specified. Props xkon. Merges [42998] to the 4.9 branch. Fixes #43650. Built from https://develop.svn.wordpress.org/branches/4.9@43029 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42858 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin-install.php | 10 +++++++++- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index d5f5c0637d..eea74f1aeb 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -584,12 +584,20 @@ function install_plugin_information() {
  • requires ); ?>
  • tested ) ) { ?>
  • tested; ?>
  • + requires_php ) ) { ?> +
  • + + requires_php ); + ?> +
  • active_installs ) ) { ?>
  • active_installs >= 1000000 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 4aeedb3247..2a18a23564 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9.6-alpha-43028'; +$wp_version = '4.9.6-alpha-43029'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.