From cca2d7ffcdc8915aec7646fcc227a11299219bbf Mon Sep 17 00:00:00 2001 From: patrickebates Date: Sat, 15 Aug 2020 13:10:00 -0500 Subject: [PATCH 1/2] Revert WP update to install query to improve compatibility with SQL Server --- wp-admin/install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index 49bf64090..bcb388097 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -91,7 +91,8 @@ function display_header( $body_classes = '' ) { function display_setup_form( $error = null ) { global $wpdb; - $user_table = ( $wpdb->get_var( $wpdb->prepare( 'SELECT name FROM sysobjects WHERE type='u' AND name like %s', $wpdb->esc_like( $wpdb->users ) ) ) !== null ); + $sql = "SELECT name FROM sysobjects WHERE type='u' AND name = '$wpdb->users'"; + $user_table = ( $wpdb->get_var( $sql ) !== null ); // Ensure that sites appear in search engines by default. $blog_public = 1; From 901848aed45f689accfe967914c803db37255414 Mon Sep 17 00:00:00 2001 From: patrickebates Date: Sat, 15 Aug 2020 13:16:54 -0500 Subject: [PATCH 2/2] Set version 2.5.1 --- README.md | 2 +- wp-includes/pn-version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d1c71fbf9..fe3e312ef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Project Nami =============== -### Version: `2.5.0` ### +### Version: `2.5.1` ### ### Description: ### [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://deploy.azure.com/?repository=https://github.com/ProjectNami/projectnami/tree/latest) diff --git a/wp-includes/pn-version.php b/wp-includes/pn-version.php index e9c543f22..0c617a833 100644 --- a/wp-includes/pn-version.php +++ b/wp-includes/pn-version.php @@ -1,3 +1,3 @@