[wp-trac] [WordPress Trac] #64350: checkbox not working as expected in the admin panel
WordPress Trac
noreply at wordpress.org
Tue Dec 9 08:51:18 UTC 2025
#64350: checkbox not working as expected in the admin panel
-------------------------------------+---------------------
Reporter: acmoifr | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9.1
Component: General | Version: 6.9
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses: css
-------------------------------------+---------------------
Comment (by mydesign78):
Hi, thanks for your reply.
I insert this script in the header of all site page but not function:
<?php
function restore_checkbox_style() {
?>
<style
type="text/css">.hogehoge{}input[type="checkbox"]:checked::before
{content: none;}input[type="checkbox"] {-webkit-appearance: auto;}
</style>
<?php
}
add_action( 'admin_head', 'restore_checkbox_style' );
add_action( 'login_head', 'restore_checkbox_style' );
?>
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64350#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list