WordPress.org

Making WordPress.org

Opened 3 years ago

Closed 3 years ago

#2527 closed defect (fixed)

Forums: Remove hardcoded DB prefix from User Badges plugin

Reported by: SergeyBiryukov Owned by: ocean90
Milestone: Priority: normal
Component: Support Forums Keywords: has-patch
Cc:

Description

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 3 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ocean90
3 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.