[wp-trac] [WordPress Trac] #65302: Model Window Insert Media Insert button not visible on default color scheme
WordPress Trac
noreply at wordpress.org
Tue May 26 14:18:11 UTC 2026
#65302: Model Window Insert Media Insert button not visible on default color scheme
-------------------------------+---------------------
Reporter: neo2k23 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0.1
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+---------------------
Comment (by wildworks):
> You asked for logins or a the theme. I contact you on slack to make that
happen. I also send you detailed information about how to get to that
point. But you did not respond so i did not send any logins yet.
Please avoid requesting tests using private methods, as this will prevent
other contributors from testing the code. If you cannot disclose the site
or code where the problem is occurring, it would be helpful if you could
provide detailed code or steps so that anyone can reproduce the problem.
Judging from your screenshots, it appears you have the Classic Editor
enabled and are building your own media modal.
I enabled the Classic Editor and ran the following code to try and
reproduce the issue.
{{{
const frame = wp.media( {
title: 'Media Library',
multiple: false,
} );
frame.on( 'open', () => {
frame.content.mode( 'browse' );
} );
frame.on( 'select', () => {
console.log( frame.state().get( 'selection' ).toJSON() );
} );
frame.open();
}}}
However, the primary button has the correct background color applied by
default.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65302#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list