Skip to content

Commit

Permalink
Bump version to 5.0.0, and update readme's and plugin file headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Oct 18, 2019
1 parent 253dba7 commit a6256d4
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 11 deletions.
21 changes: 17 additions & 4 deletions ludicrousdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,32 @@
/**
* Plugin Name: LudicrousDB
* Plugin URI: https://github.com/stuttter/ludicrousdb
* Author: johnjamesjacoby, spacedmonkey
* Author URI: https://jjj.blog
* Author: JJJ & Friends
* Author URI: https://github.com/stuttter/ludicrousdb/graphs/contributors
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: ludicrousdb
* Version: 4.2.0
* Version: 5.0.0
* Description: An advanced database interface for WordPress that supports replication, fail-over, load balancing, and partitioning
*/

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

// Bail if database object is already set
/**
* Bail if database object is already set.
*
* If you've activated this plugin like any other plugin, and came looking here
* because this plugin isn't doing anything, keep reading.
*
* LudicrousDB is a Drop-in plugin, and must be included extremely early in
* WordPress, specifically before the database connection happens.
*
* The bit of code below prevents LudicrousDB from obliterating any existing
* database connections. This is by design, to keep your site safe.
*
* Look at /drop-ins/db.php for more info.
*/
if ( isset( $GLOBALS['wpdb'] ) ) {
return;
}
Expand Down
12 changes: 12 additions & 0 deletions ludicrousdb/drop-ins/db-error.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
<?php

/**
* Plugin Name: LudicrousDB (Error)
* Plugin URI: https://github.com/stuttter/ludicrousdb
* Author: JJJ & Friends
* Author URI: https://github.com/stuttter/ludicrousdb/graphs/contributors
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: ludicrousdb
* Version: 5.0.0
* Description: An advanced database interface for WordPress that supports replication, fail-over, load balancing, and partitioning
*/

/**
* LudicrousDB fatal database error file
*
Expand Down
16 changes: 12 additions & 4 deletions ludicrousdb/drop-ins/db.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
<?php

/**
* Plugin Name: LudicrousDB
* Plugin Name: LudicrousDB (Database)
* Plugin URI: https://github.com/stuttter/ludicrousdb
* Author: John James Jacoby
* Author URI: https://jjj.blog
* Author: JJJ & Friends
* Author URI: https://github.com/stuttter/ludicrousdb/graphs/contributors
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: ludicrousdb
* Version: 4.1.0
* Version: 5.0.0
* Description: An advanced database interface for WordPress that supports replication, fail-over, load balancing, and partitioning
*/

/**
* LudicrousDB database replacement file
*
* This file should be copied to WP_CONTENT_DIR/db.php
*
* See README.md for documentation.
*/

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

Expand Down
13 changes: 10 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
Contributors: johnjamesjacoby, spacedmonkey
Tags: mysql, scaling, performance, availability, replication
Requires at least: 4.8
Tested up to: 4.9
Stable tag: 4.1.0
Tested up to: 5.3
Stable tag: 5.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J
Donate link: https://wordpressfoundation.org/donate

LudicrousDB is an advanced database interface for WordPress that supports replication, fail-over, load balancing, and partitioning

Expand Down Expand Up @@ -79,6 +79,13 @@ Since LudicrousDB attempts a connection only when a query is made, your WordPres

== Changelog ==

= 5.0.0 =
* PHP 7.3 compatibility
* Update default collation to unicode_520_ci
* Global cache group, and add caching to TCP connection statuses
* Fix a few PHP warnings under some configurations
* Fix bug causing timeout for ping under some configurations

= 4.1.0 =
* Fix WordPress 4.8.3 SQLi vulnerability

Expand Down

0 comments on commit a6256d4

Please sign in to comment.