From 7511fadf13f2e4539aa57f7b9cb7bcc275ae7d11 Mon Sep 17 00:00:00 2001 From: mattyrob Date: Sat, 23 Sep 2023 16:29:32 +0100 Subject: [PATCH] Release 1.7.0 --- wp-admin/includes/class-wp-plugin-install-list-table.php | 2 +- wp-admin/includes/dashboard.php | 3 ++- wp-includes/script-loader.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 03c7ca6..f185276 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -91,7 +91,7 @@ protected function get_installed_plugin_slugs() { * @global string $term */ public function prepare_items() { - include ABSPATH . 'wp-admin/includes/plugin-install.php'; + include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; global $tabs, $tab, $paged, $type, $term; diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 32b902e..66f9e9f 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1470,7 +1470,8 @@ function cp_dashboard_upgrade() { echo '

' . sprintf( __( 'You can continue to use ClassicPress %s at this time. You will be notified when a new version is available that supports future versions of PHP. Learn more about testing version 2.0.0.' ), $display_version, esc_url( 'https://www.classicpress.net/help-test-classicpress-v2/' ) ) . '

'; } - echo '

' . __( 'Deprecation notice: Version 1.6 is the last version to support PHP 5.6 - 7.3. The minimum required version for 2.0.0 will be PHP 7.4.' ) . '

'; + echo '

' . __( 'Deprecation notice: Version 1.6 is the last version to support PHP 5.6 - 7.3. The minimum required version for 2.0.0 will be PHP 7.4.' ) . '

'; + echo '

' . __( 'Deprecation notice: Version 1.7 is the last version to support XHTML. HTML5 will be the default doctype. Make sure your theme does not use XHTML. Themes will no longer need to declare HTML5 support using add_theme_support( \'html5\', array() ) function.' ) . '

'; ?>

diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index ea24b33..302925c 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -53,7 +53,7 @@ function classicpress_asset_version( $type = 'script', $handle = null ) { static $default_version; if ( empty( $default_version ) ) { - $default_version = 'cp_a76dff86'; + $default_version = 'cp_523c1399'; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 32c3004..5d2212b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -27,7 +27,7 @@ * * @global string $cp_version */ -$cp_version = '1.6.0'; +$cp_version = '1.7.0'; /** * The WordPress version string