John Blackbourn
John Blackbourn
Migrated from https://meta.trac.wordpress.org/ticket/5377. A string in a plugin of mine was translated into a few languages prior to me converting it to a pluralised string. It went from using `_x()`...
The first parameter (originally named `$provide_object`) of the `debug_backtrace()` function was introduced in PHP 5.2.5. Some code of mine sets this parameter to `false`, so technically (although not practically) my...
## Is your feature request related to a problem? When outputting a numeric value as an integer, the `absint()` and `intval()` functions are treated as safe for output by WPCS....
Given the following code, a `WordPress.WP.PreparedSQL.NotPrepared` error is raised: ```php $query = $wpdb->prepare( " SELECT ID FROM {$wpdb->posts} WHERE post_type = %s ", $post_type ); $all_post_ids = $wpdb->get_col( $query );...
Today we discovered that some code under development was breaking functionality related to the `attachment_fields_to_save ` hook. It turns out the bug was caused by a callback being incorrectly registered...
The `docker:` and `docker-compose:` schemes for the `ssh` option are useful, but they only work when the target container is already running and therefore supports running a shell command via...
## Feature Request - [X] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** When a user is tired they can invent commands...
**Describe your use case and the problem you are facing** As part of some debugging I wanted to discover the location of WP-CLI's cache directory, but there appears to be...
- [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current, buggy behavior** Given...
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** When the connection to a remote server (with the...