[wp-trac] [WordPress Trac] #59585: Unchecked variable creates fatal error in wp-includes/class-wp-user-query.php
WordPress Trac
noreply at wordpress.org
Tue Oct 10 21:12:27 UTC 2023
#59585: Unchecked variable creates fatal error in wp-includes/class-wp-user-
query.php
----------------------------------------+------------------------------
Reporter: Frederic Pilon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version: 6.3.2
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------------------
Changes (by jrf):
* keywords: has-patch => has-patch needs-unit-tests
* focuses: php-compatibility =>
* component: General => Role/Capability
Comment:
@frederic-pilon Thanks for reporting this, but unfortunately your ticket
contains too little information to be evaluated properly.
It should not be possible for `$role_data['capabilities']` to not exist,
though it could be an empty array, so something is interfering.
This needs a proper backtrace and reproduction scenario before it can be
decided what the correct solution should be. Your patch may fix the
immediate symptom of the issue, but not the actual problem, so is likely
the wrong solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59585#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list