When you want inject something into the WordPress admin, you might not think to account for pages that load inside lightboxes (plugin updates, media upload, etc.). Generally, you don’t want to add your JS/CSS/etc. to these pages.
To check for this type of page load, you can check for the IFRAME_REQUEST
constant.
[…] shared some code snippets for Custom Post Types you might find handy.Alex King posted a tip on detecting lightboxed pages in the WordPress Admin.That brings us to the end of this edition of WordPress Community Links. If […]