Skip to content

wp db tables does not obey prefix when using table wildcards #73

@schlessera

Description

@schlessera

Default behaviour of wp db tables is to only show tables that match the prefix that is set in the wp-config.php file.

However, if a wildcard is added to only retrieve a specific subset of tables, the prefix in wp-config.php is ignored, and all matching tables are shown.

image 2017-12-21 at 11 44 50 am

In the above screenshot, the queries with a wildcard not only show as_wp_posts, but also wp_posts. The expected behavior would be to only show as_wp_posts. Even trying to force the (default) option to obey the prefix does not produce the expected result.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions