Opened 12 years ago
Closed 12 years ago
#24706 closed defect (bug) (fixed)
Use $wpdb->prefix to verify query in tests/meta/query.php (WP_Meta_Query test)
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Unit Tests | Keywords: | has-patch |
Focuses: | Cc: |
Description
wp-tests-config-sample.php sets the table_prefix to "wptests_", which was causing tests/meta/query.php to fail on a test where it assumed the prefix was "wp_".
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Use $wpdb->prefix instead of hardcoding "wp_postmeta"