Add a check in `wp_maybe_inline_styles` to check that style is registered before processing items in queue. It is possible that developers may have called `wp_deregister_style`, unregistering style but the style still be in the queue to be processed. Without this check, typing to access the `src` property would result in a notice error. Follow on from [55888]. Props spacedmonkey, flixos90, dd32, kebbet. See #58394. Built from https://develop.svn.wordpress.org/trunk@55909 git-svn-id: http://core.svn.wordpress.org/trunk@55421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
134 KiB
134 KiB