Ticket #2527: meta-2527.patch
File meta-2527.patch, 948 bytes (added by , 8 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php
40 40 * Instantiates a new Plugin object. 41 41 */ 42 42 private function __construct() { 43 self::$plugins_table_prefix = 'wporg_' . WPORG_PLUGIN_DIRECTORY_BLOGID . '_'; 44 self::$themes_table_prefix = 'wporg_' . WPORG_THEME_DIRECTORY_BLOGID . '_'; 43 global $wpdb; 45 44 45 self::$plugins_table_prefix = $wpdb->base_prefix . WPORG_PLUGIN_DIRECTORY_BLOGID . '_'; 46 self::$themes_table_prefix = $wpdb->base_prefix . WPORG_THEME_DIRECTORY_BLOGID . '_'; 47 46 48 add_action( 'bbp_loaded', array( $this, 'bbp_loaded' ) ); 47 49 } 48 50