WordPress.org

Making WordPress.org

Opened 2 years ago

Closed 2 years ago

#2514 closed defect (fixed)

Support Forums: Use a consistent DB prefix for plugin tables

Reported by: SergeyBiryukov Owned by: 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 2 years ago.
meta-2514.2.patch (1.3 KB) - added by SergeyBiryukov 2 years ago.

Download all attachments as: .zip

Change History (6)

#1 @SergeyBiryukov
2 years ago

  • Description modified (diff)

#2 @SergeyBiryukov
2 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
2 years ago

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

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

#4 @coffee2code
2 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.