Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#5287 closed defect (bug) (fixed)

Setup table names inside wpdb

Reported by: ryan's profile ryan Owned by: ryan's profile ryan
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: General Keywords: wpdb
Focuses: Cc:

Description

Add a set_prefix() method to wpdb where the table prefix is validated and table names are setup.

Attachments (1)

set_prefix.diff (3.3 KB) - added by ryan 15 years ago.

Download all attachments as: .zip

Change History (4)

@ryan
15 years ago

#1 @ryan
15 years ago

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

(In [6300]) wpdb::set_prefix(). fixes #5287

#2 follow-up: @westi
15 years ago

Don't we need to use the function too?

#3 in reply to: ↑ 2 @westi
15 years ago

Replying to westi:

Don't we need to use the function too?

I see this slipped into a previous checkin ;-)

http://trac.wordpress.org/changeset/6299#file6

Note: See TracTickets for help on using tickets.