Ticket #5287 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

Setup table names inside wpdb

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

Description

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

Attachments

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

Change History

ryan4 years ago

comment:1   ryan4 years ago

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

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

comment:2 follow-up: ↓ 3   westi4 years ago

Don't we need to use the function too?

comment:3 in reply to: ↑ 2   westi4 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.