-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return menu order in filter #26643
Return menu order in filter #26643
Conversation
Size Change: 0 B Total Size: 1.21 MB ℹ️ View Unchanged
|
@noahtallen Should this fix be backported into WordPress 5.6? When was the bug introduced? |
Thanks, that should be fine, it won't need backporting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified that this fixes the issue and the code makes sense. 👍
Thanks for the fix. |
Also fixes Trac Ticket 51697 . Brilliant. Thanks |
Description
I was seeing the following PHP error in wp-admin (shown in the body of the HTML):
Turns out we weren't returning the data passed into the filter sometimes. this should fix that.
How has this been tested?
Locally in edit site. Activate a non-FSE theme and the error will show. Apply this patch and the error will go away.
Screenshots
Types of changes
Fix
Checklist: