#36813 closed defect (bug) (invalid)
wrong written php code: !defined(MDBC_POOL_MODE)
Reported by: |
|
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)
Note: See
TracTickets for help on using
tickets.
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.