bugfix release

git-svn-id: https://plugins.svn.wordpress.org/sqlite-integration/trunk@1116219 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
kjmtsh 2015-03-19 18:05:37 +00:00
父節點 54d9e1b02a
當前提交 1f2e8fc987
共有 7 個文件被更改,包括 16 次插入7 次删除

查看文件

@ -1,3 +1,10 @@
2015-03-18 KOJIMA Toshiyasu
* version 1.8.1 bugfix release.
* pdoengine.class.php: bugfix. database file existent chech doesn't
work properly, which causes installation problem.
2015-03-06 KOJIMA Toshiyasu
* version 1.8 release.

2
db.php
查看文件

@ -5,7 +5,7 @@
* This file must be placed in the directory wordpress/wp-content/db.php.
* WordPress loads this file automatically.
*
* @version 1.8
* @version 1.8.1
* @package SQLite Integration
* @author Kojima Toshiyasu
*

查看文件

@ -170,7 +170,7 @@ class PDOEngine extends PDO {
*/
function __construct() {
register_shutdown_function(array($this, '__destruct'));
if (is_file(FQDB)) {
if (!is_file(FQDB)) {
$this->prepare_directory();
}
$dsn = 'sqlite:' . FQDB;

查看文件

@ -7,7 +7,7 @@ Author: Kojima Toshiyasu
Author URI: http://dogwood.skr.jp/
Requires at least: 3.3
Tested up to: 4.1.1
Stable tag: 1.8
Stable tag: 1.8.1
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

查看文件

@ -7,7 +7,7 @@ Author: Kojima Toshiyasu
Author URI: http://dogwood.skr.jp/
Requires at least: 3.3
Tested up to: 4.1.1
Stable tag: 1.8
Stable tag: 1.8.1
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@ -166,6 +166,8 @@ WordPress 4.1.1 compatibility is checked and some bugs are fixed. Upgrade is rec
== Changelog ==
See also ChangeLog file contained in the archive.
= 1.8 (2015-03-06) =
* Fixed the bug about install process algorithm.
* Fixed the index query regexp, which may cause a problem to some plugins.

查看文件

@ -4,7 +4,7 @@ Plugin Name: SQLite Integration
Plugin URI: http://dogwood.skr.jp/wordpress/sqlite-integration/
Description: SQLite Integration is the plugin that enables WordPress to use SQLite. If you don't have MySQL and want to build a WordPress website, it's for you.
Author: Kojima Toshiyasu
Version: 1.8
Version: 1.8.1
Author URI: http://dogwood.skr.jp
Text Domain: sqlite-integration
Domain Path: /languages
@ -44,7 +44,7 @@ $siteurl = get_option('siteurl');
/*
* Defines basic constants.
*/
define('SQLITE_INTEGRATION_VERSION', '1.8');
define('SQLITE_INTEGRATION_VERSION', '1.8.1');
define('SQLiteDir', dirname(plugin_basename(__FILE__)));
define('SQLiteFilePath', dirname(__FILE__));
define('SQLiteDirName', basename(SQLiteFilePath));

查看文件

@ -39,7 +39,7 @@ class SQLiteIntegrationUtils {
return;
$notice_string = __('Upgrading Notice: To finish upgrading, please activate SQLite Integration and go Setting >> SQLite Integration >> Miscellaneous, and click the button "update" at the bottom of the page. Or else replace wp-content/db.php with the one in sqlite-integration directory manually.', 'sqlite-integration');
$current_version = defined('SQLITE_INTEGRATION_VERSION') ? SQLITE_INTEGRATION_VERSION : '';
if (version_compare($current_version, '1.8', '=')) return;
if (version_compare($current_version, '1.8.1', '=')) return;
$version = '';
if (defined('WP_CONTENT_DIR')) {
$path = WP_CONTENT_DIR . '/db.php';