Opened 7 years ago

Closed 7 years ago

#2527 closed defect (bug) (fixed)

Forums: Remove hardcoded DB prefix from User Badges plugin

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: ocean90's profile ocean90
Milestone: Priority: normal
Component: Support Forums Keywords: has-patch


There's a hardcoded wporg_ DB prefix in the class constructor.

Can $wpdb->base_prefix be used instead?

Attachments (1)

meta-2527.patch (948 bytes) - added by SergeyBiryukov 7 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ocean90
7 years ago

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

In 4989:

Support Forums, User Badges: Replace hardcoded database prefix with $wpdb->base_prefix.

Props SergeyBiryukov.
Fixes #2527.

Note: See TracTickets for help on using tickets.