Dion Hulse

Results 278 comments of Dion Hulse

I'm wondering if a better method wouldn't be to just have Core/WP-CLI unset the global and call `wp_cache_init()` again instead to avoid just this. For Memcache specifically that would mean...

The intention was Unit tests for the checks the plugin has. You can think of the Theme Check checks as tests for themes, but those tests are lacking reproducible tests...

Thanks @ocean90! I still feel this is a bug and there should at least be a prefixed variant of the args if strict mode is never going to be enforced.

I'm re-opening this, as it would still be nice to have `wp post get $ID --fields=url` rather than being forced to `wp post list --post__in=$ID --fields=url`. It makes sense (to...

Hi @sagarsdeshmukh, I apologise for how long this PR has sat here without any comment. Does swapping from `add_post_meta()` to `update_post_meta()` break the expectation that WordPress can have multiple post...

> Well if i add a pullrequest i get a check failed on php 7.3 which does not make any sense as it is not on the code changes i...

It's not clear from this issue - what change needs to be made to the importer specifically? The importer doesn't alter the imported post content, aside from performing a string...

Looking at the code responsible here: https://github.com/WordPress/wordpress-importer/blob/master/src/parsers/class-wxr-parser-regex.php#L63-L68 The PHP Warning is suggesting that the line contains `` but that `...` is not present **on the line being parsed**. The regex...

Should some kind of context/extra information be provided to these hooks to make them more useful?