Improved db.php to remove notices and possible fatal errors
git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@225356 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
@@ -36,6 +36,13 @@ require_once( PG4WP_ROOT.'/driver_'.DB_DRIVER.'.php');
|
||||
|
||||
// This loads up the wpdb class applying the appropriate changes to it, DON'T TOUCH !
|
||||
$replaces = array(
|
||||
'define( ' => '// define( ',
|
||||
' OBJECT_K' => ' \'OBJECT_K\'',
|
||||
' OBJECT' => ' \'OBJECT\'',
|
||||
' ARRAY_A' => ' \'ARRAY_A\'',
|
||||
' ARRAY_N' => ' \'ARRAY_N\'',
|
||||
'class wpdb' => 'class wpdb2',
|
||||
'new wpdb' => 'new wpdb2',
|
||||
'mysql_' => 'wpsql_',
|
||||
'<?php' => '',
|
||||
'?>' => '',
|
||||
|
@@ -50,6 +50,7 @@ There is no screenshot for this plugin
|
||||
|
||||
== Changelog ==
|
||||
|
||||
* Improved db.php to remove notices and possible fatal errors
|
||||
* Preliminary support for Wordpress 3.0
|
||||
* Improved dates functions handling
|
||||
* PG4WP now appears in WordPress control panel and can be enabled/disabled but this has no real effect
|
||||
|
Reference in New Issue
Block a user