[wp-trac] [WordPress Trac] #64350: checkbox not working as expected in the admin panel
WordPress Trac
noreply at wordpress.org
Tue Dec 9 01:17:39 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 wildworks):
Replying to [comment:17 mydesign78]:
> Hi, I have Safari browser for IPhone X and I have same problem.
> Where do you insert your CSS to resolve problem?
> Thanks.
As an example, write the following code in the `functions.php` of your
active theme:
{{{
#!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:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list