#56838 closed defect (bug) (duplicate)
Deprecated uasort callback in wp_generate_tag_cloud()
| Reported by: | | Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Taxonomy | Keywords: | php8 has-patch close |
| Focuses: | Cc: |
Description
Sorting by count in tag cloud generates deprecation error in PHP 8.0.
uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero
Change History (7)
This ticket was mentioned in PR #3479 on WordPress/wordpress-develop by @skithund.
3 years ago #1
- Keywords has-patch added
#2
@
3 years ago
- Summary changed from Fix deprecated uasort callback in wp_generate_tag_cloud() to Deprecated uasort callback in wp_generate_tag_cloud()
This ticket was mentioned in Slack in #core by mukeshpanchal27. View the logs.
3 years ago
#6
@
3 years ago
- Milestone 6.2 deleted
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #57358.
Note: See TracTickets for help on using tickets.
Fix
uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zerodeprecation error.Trac ticket: https://core.trac.wordpress.org/ticket/56838