Only add needed user when filtering by --author#88
Conversation
|
@schlessera I’m not sure if I am understanding correctly what this patch is supposed to do, or if I am using the export cli command correctly, but if I do and I am, then this patch doesn’t seem to be doing what I think it should be doing. Here’s my steps and my results:
The resulting file (page.xml) has thousands of Am I misunderstanding this patch or doing something wrong? |
|
Hello @schlessera ^^ |
|
@pjv This patch is not part of the v2.5.0 release. To test it, you'll need to use the latest nightly version of WP-CLI. You can update to the latest nightly version with the following command: wp cli update --nightly |
|
@schlessera Thank you, but shouldn't doing this:
override the built-in wp cli export command with the current master branch of this repo? |
Only add needed user when filtering by `--author`
Instead of adding all users unconditionally, only add the one user that is needed when filtering by a specific
--author.Fixes #67