diff --git a/BUGS b/BUGS new file mode 100644 index 0000000..2ab6c30 --- /dev/null +++ b/BUGS @@ -0,0 +1,8 @@ +* Version 1.7 can't create wp-config.php when installing with WordPress 4.0 + + When install process notices that there's no wp-config.php, it tries to + create one from wp-config-sample.php. During that time, WordPress unsets + global $wpdb and calls require_wp_db() function. + That function newly instantiates wpdb class. SQLite Integration has no + way of intercepting that process. + diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..d270903 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,8 @@ +2014-09-05 KOJIMA Toshiyasu + + * version 1.7 release. + * update readme.txt and readme-ja.txt. + +2014-08-29 KOJIMA Toshiyasu + + * Added ChangeLog and BUGS files. diff --git a/db.php b/db.php index 26169f4..b87178a 100644 --- a/db.php +++ b/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.6.2 + * @version 1.7 * @package SQLite Integration * @author Kojima Toshiyasu * diff --git a/readme-ja.txt b/readme-ja.txt index 5352cf2..501901f 100644 --- a/readme-ja.txt +++ b/readme-ja.txt @@ -6,8 +6,8 @@ Tags: database, SQLite, PDO Author: Kojima Toshiyasu Author URI: http://dogwood.skr.jp/ Requires at least: 3.3 -Tested up to: 3.9 -Stable tag: 1.6.3 +Tested up to: 4.0 +Stable tag: 1.7 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -115,6 +115,10 @@ SQLite に戻りたいときには、この行を次のように変更するか == よくある質問 == += 「データベース接続エラー」でインストールが止まります = + +wp-config.php を手動で作成することが必要です。WordPress に作らせようとすると、途中でインストールが止まります。 + = データベース・ファイルが作られません = ディレクトリやファイルを作るのに失敗するのは、多くの場合、PHPにその権限がないことが原因です。サーバの設定を確認するか、管理者に聞いてみてください。 @@ -160,10 +164,18 @@ SQLite に戻りたいときには、この行を次のように変更するか == Upgrade Notice == -メタクエリを使うときのバグを修正しました。自動アップグレードで失敗するようなら、FTPを使っての手動アップグレードを試してみてください。 +WordPress 4.0 での動作チェックをして、いくつかのバグを修正しました。アップグレードをお勧めします。自動アップグレードで失敗するようなら、FTPを使っての手動アップグレードを試してみてください。 == Changelog == += 1.7 (2014-09-05) = +* エディタ画面で、添付ファイルの並べ替えができなかったのを修正しました。 +* CREATE クエリのバグを修正しました。 +* 128x128 アイコンと 256x256 アイコンを追加しました。 +* pcre.backtrack_limit が大きな値に設定されている場合、それを使うようにしました。 +* メタクエリの BETWEEN の扱いを変更しました。 +* WordPress 4.0 での動作チェックをしました。 + = 1.6.3 (2014-05-10) = * BETWEEN 比較をするメタクエリのバグを修正しました。 * スペイン語カタログを追加しました。 diff --git a/readme.txt b/readme.txt index 857d932..d48acd1 100644 --- a/readme.txt +++ b/readme.txt @@ -6,8 +6,8 @@ Tags: database, SQLite, PDO Author: Kojima Toshiyasu Author URI: http://dogwood.skr.jp/ Requires at least: 3.3 -Tested up to: 3.9 -Stable tag: 1.6.3 +Tested up to: 4.0 +Stable tag: 1.7 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -115,6 +115,10 @@ If export or import fails for some reason, please visit our site and try another == Frequently Asked Questions == += Install stops with 'Error establishing a database connection' = + +It is required that you should prepare wp-config.php manually. If you try to make WordPress create wp-config.php, you'll get that message and can't continue install process. + = Database file is not created = The reason of failure in creating directory or files is often that PHP is not allowed to craete them. Please check your server setting or ask the administrator. @@ -158,10 +162,17 @@ This plugin doesn't support 'WP_PLUGIN_URL' constant. == Upgrade Notice == -Fixed the bug about meta query with BETWEEN comparison which may cause some plugins to work correctly. Upgrade is recommended. When auto upgrading fails, please try manual upgrade via FTP. +WordPress 4.0 compatibility is checked and some bugs are fixed. Upgrade is recommended. When auto upgrading fails, please try manual upgrade via FTP. == Changelog == += 1.7 (2014-09-05) = +* Fixed the bug about changing the order of the attachment file in the editor screen. +* Fixed the bug about the manipulation of CREATE query. +* Added an 128x128 icon and 256x256 icon. +* Change for checking the user defined value of pcre.backtrack_limit and using it. +* WordPress 4.0 compatibilitiy checked. + = 1.6.3 (2014-05-10) = * Fixed the bug about manipulating meta query with BETWEEN comparison. * Added the Spanish langugae support. diff --git a/sqlite-integration.php b/sqlite-integration.php index 2fa1c2b..668c4c1 100644 --- a/sqlite-integration.php +++ b/sqlite-integration.php @@ -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.6.3 +Version: 1.7 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.6.2'); +define('SQLITE_INTEGRATION_VERSION', '1.7'); define('SQLiteDir', dirname(plugin_basename(__FILE__))); define('SQLiteFilePath', dirname(__FILE__)); define('SQLiteDirName', basename(SQLiteFilePath)); diff --git a/utilities/utility.php b/utilities/utility.php index cd08306..0ad9eac 100644 --- a/utilities/utility.php +++ b/utilities/utility.php @@ -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.6.2', '=')) return; + if (version_compare($current_version, '1.7', '=')) return; $version = ''; if (defined('WP_CONTENT_DIR')) { $path = WP_CONTENT_DIR . '/db.php';