Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#2514 closed defect (bug) (fixed)

Support Forums: Use a consistent DB prefix for plugin tables

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

Description (last modified by SergeyBiryukov)

The Support Forums plugin uses PLUGINS_TABLE_PREFIX for most of plugin-related queries, and plugin_2_ in three other instances.

Unless that's intentional, I think those instances should use PLUGINS_TABLE_PREFIX too.

Attachments (2)

meta-2514.patch (1.6 KB) - added by SergeyBiryukov 7 years ago.
meta-2514.2.patch (1.3 KB) - added by SergeyBiryukov 7 years ago.

Download all attachments as: .zip

Change History (6)

#1 @SergeyBiryukov
7 years ago

  • Description modified (diff)

#2 @SergeyBiryukov
7 years ago

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

In 4940:

Support Forums: In Directory_Compat, replace hardcoded database prefix for plugin tables with PLUGINS_TABLE_PREFIX.

Fixes #2514.

#3 @SergeyBiryukov
7 years ago

  • Keywords commit added
  • Resolution fixed deleted
  • Status changed from closed to reopened

wporg-bbp-user-badges needs a similar change.

#4 @coffee2code
7 years ago

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

In 4945:

Support Forums, User Badges: Replace hardcoded database prefix for plugin tables with PLUGINS_TABLE_PREFIX.

Props SergeyBiryukov.
Fixes #2514.

Note: See TracTickets for help on using tickets.