From c61accb1464465ffe6ec25f1938de960fc3ac24e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 25 Feb 2014 00:29:01 +0000 Subject: [PATCH] Declare $wpdb->base_prefix. props DavidAnderson. fixes #16762. git-svn-id: https://develop.svn.wordpress.org/trunk@27249 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/wp-db.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wp-includes/wp-db.php b/src/wp-includes/wp-db.php index 1eb3970ca1..6426bd367a 100644 --- a/src/wp-includes/wp-db.php +++ b/src/wp-includes/wp-db.php @@ -180,6 +180,15 @@ class wpdb { */ var $prefix = ''; + /** + * WordPress base table prefix. + * + * @since 3.0.0 + * @access public + * @var string + */ + public $base_prefix; + /** * Whether the database queries are ready to start executing. *