WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51094, comment 3


Ignore:
Timestamp:
10/22/2020 06:06:31 PM (5 weeks ago)
Author:
xParham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51094, comment 3

    initial v1  
    1 I also believe this is a bug in `WP_Query` and actually one with potentially serious consequences. I came across the bug running a `wp post` CLI command, in my case passing an unregistered custom post status.
     1I also believe this is a bug in `WP_Query` and actually one with potentially serious consequences. I came across the bug running a `wp post` CLI command, in my case passing an unregistered custom post status (trying to clean up posts in a previously registered custom post_status).
    22
    33But here is another case, if you simply have a typo in your command, passing `pendin` instead of `pending` here: