John Blackbourn

Results 332 issues of John Blackbourn

When a user session is created, it's possible to add custom fields to the session via the `attach_session_information` filter. Example: ```php add_filter( 'attach_session_information', function( array $data, $user_id ) { $data['custom']...

command:user-session-list

The descriptions for the second-level subcommands of `wp post|user term|meta` use generic "object" terminology from the method docblocks in the abstract `CommandWithTerms` and `CommandWithMeta` classes. For example: * `wp post...

scope:documentation

When calling `wp option list`, the option values are displayed in their raw format. When calling `wp option get `, there's no way to get the raw value for a...

command:option
command:option-get
command:option-list

At the user level, WordPress internally treats roles and capabilities the same. They're all stored in the `wp_capabilities` user meta field. This is unfortunate. This means that `wp user remove-cap...

command:user-remove-cap
command:user-remove-role
help-wanted

`wp user list-roles ` returns both the capabilities that a user has been directly assigned, and the capabilities that they inherit from their role. Their doesn't appear to be a...

command:user-list-caps
help-wanted

When a user accesses their user profile in the admin area, they have the option to change their email address. If the account is an SSO account then changing this...

The parameter passed to the `wpsimplesaml_config` filter is documented as an array, but it can also be a `WP_Error` due to the return value of `Admin\get_config()`. In addition, there are...

bug

The `\HM\Media\Cropper\nearest_defined_crop_size()` function triggers a division by zero warning if one of the registered image sizes has a `height` property of 0. This affects WooCommerce which registers image sizes such...

bug
must have

I haven't tracked it down yet but I'm seeing the following error in my logs: ``` PHP Warning: Illegal offset type in isset or empty in /usr/src/app/vendor/humanmade/smart-media/inc/cropper/namespace.php on line 1257...

bug
should have

Steps to reproduce: * Insert some text into a post * Highlight some text * Click the "Link" button in the block toolbar * Search for a phrase that matches...