Skip to:

Opened 14 years ago

Closed 14 years ago

#2951 closed defect (bug) (fixed)

SQL Query on non-existant table in upgraded MU

Reported by: wpmuguru's profile wpmuguru Owned by:
Milestone: 1.5 Priority: normal
Severity: Version:
Component: Core Keywords: has-patch


The function in WP 3.0 to determine the correct table prefix for any site is $wpdb->get_blog_prefix which contains the logic to produce the correct table prefix for the main site in both an upgraded MU install and new WP 3.0 network.

Patch attached.

Attachments (1)

2951.diff (830 bytes) - added by wpmuguru 14 years ago.

Download all attachments as: .zip

Change History (3)

14 years ago

#1 @DJPaul
14 years ago

  • Milestone changed from Awaiting Review to 1.3

#2 @djpaul
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3532]) Use correct table prefix for WP network mode. Fixes #2951, props wpmuguru

Note: See TracTickets for help on using tickets.