From 1b9dda7d75fd37f6f76502fb375cfe4c28f021dd Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 25 Feb 2014 00:30:13 +0000 Subject: [PATCH] Declare $wpdb->base_prefix. props DavidAnderson. fixes #16762. Built from https://develop.svn.wordpress.org/trunk@27249 git-svn-id: http://core.svn.wordpress.org/trunk@27106 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/wp-db.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 1eb3970ca1..6426bd367a 100644 --- a/wp-includes/wp-db.php +++ b/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. *