Poor regex used in admin-ajax.php for user UI state
|Reported by:||MarcusPope||Owned by:||nacin|
The regex used to determine if the current page is blacklisted during meta box ordering or screen options changes or box closing actions will filter out custom post types that contain numbers in their names.
In this case all changes to the meta box layout will go unsaved without any notice to the user.
Attached is a patch that abstracts the repetitive / restrictive regex to a constant and updates it to accept 0-9. Not sure if other characters need to be added but the base change is there.
Change History (20)
comment:14 nacin — 2 years ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed