Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#36813 closed defect (bug) (invalid)

wrong written php code: !defined(MDBC_POOL_MODE)

Reported by: katazina's profile katazina Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.2
Component: General Keywords:
Focuses: Cc:

Description

in /wp-content/plugins/multidb-cache-hash/db-module.php:1536

there is: !defined(MDBC_POOL_MODE)
it should be given as string: !defined('MDBC_POOL_MODE')

if (
   (!defined(MDBC_POOL_MODE) || MDBC_POOL_MODE == MDBC_REPLICATE )
   && (preg_match("/^\\s*(create|insert|delete|update|replace|alter)\\b/si", $query))
) {

Change History (3)

#1 @Clorith
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi,

This would be a problem with a plugin called "multidb-cache-hash", and not WordPress Core.

You should report this to the plugin authors instead.

#2 @swissspidy
8 years ago

  • Component changed from Database to General

#3 @katazina
8 years ago

Oh, sorry!
I missed that.

Note: See TracTickets for help on using tickets.