Opened 8 months ago
Closed 8 months ago
#61780 closed defect (bug) (duplicate)
customize.php - autofocus - not working anymore - issue with the sanitize
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.6.1 |
Component: | Customize | Keywords: | |
Focuses: | Cc: |
Description
WordPress version: 6.6.1
Description:
When using the autofocus url parameter to automatically focus on a registred "section", it is not working anymore. While looking on the latest customize.php code, a specific line was added to sanitize the input parameter, however it is not a text string, it is an array.
$autofocus = ! empty( $_REQUESTautofocus? ) ? sanitize_text_field( $_REQUESTautofocus? ) : ;
error_log(print_r( $_REQUESTautofocus? , true));
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #61561.
Thanks for contributing! Closing this as a duplicate.