[wp-trac] [WordPress Trac] #62491: Customizer accordion height fills screen
WordPress Trac
noreply at wordpress.org
Fri Nov 22 20:10:13 UTC 2024
#62491: Customizer accordion height fills screen
--------------------------+-----------------------
Reporter: dhewercorus | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.7.2
Component: Customize | Version: 6.7
Severity: major | Resolution:
Keywords: | Focuses: css
--------------------------+-----------------------
Comment (by sabernhardt):
@vishy-moghan mentioned a plugin that prints a style tag in the
`admin_enqueue_scripts` hook. This similar code snippet can reproduce the
extra height without PHP or JS errors:
{{{
add_action( 'admin_enqueue_scripts',
'sab_print_style_in_admin_enqueue_scripts' );
function sab_print_style_in_admin_enqueue_scripts() {
?>
<style> body { color: #152; } </style>
<?php
}
}}}
The code could be edited in the plugins and/or themes that do likewise,
possibly by changing the hook to `admin_head`, but I am not aware of any
issues the style tag might have caused before 6.7.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62491#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list