Opened 4 years ago
Closed 4 years ago
#56900 closed defect (bug) (fixed)
WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles call to WP_Query incorrect.
| Reported by: | peterwilsoncc | Owned by: | peterwilsoncc |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.1.1 |
| Component: | Themes | Version: | 6.1 |
| Severity: | minor | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: | performance |
Description
WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles includes a call to WP_Query which is ordered by post_date.
The correct value is date.
As WP_Query orders by date by default, this is a minor bug as it doesn't have any affect on the database query generated. If needs be, it can probably wait until 6.1.1.
Introduced in [54186].
Attachments (1)
Change History (12)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
diff against origin/6.1 branch