Opened 2 years ago
Closed 2 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: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.1.1 | Priority: | normal |
Severity: | minor | Version: | 6.1 |
Component: | Themes | Keywords: | has-patch commit fixed-major |
Focuses: | performance | Cc: |
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)
#1
@
2 years ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Awaiting Review to 6.1.1
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
2 years ago
Note: See
TracTickets for help on using
tickets.
diff against origin/6.1 branch