[wp-trac] [WordPress Trac] #35322: OEmbed generates link to an image in the wp-admin directory
WordPress Trac
noreply at wordpress.org
Fri Jan 8 04:59:11 UTC 2016
#35322: OEmbed generates link to an image in the wp-admin directory
---------------------------+------------------
Reporter: nachtwaechter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Embeds | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+------------------
Comment (by peterwilsoncc):
Following comment:3, @dd32 and I had a super quick discussion in slack on
4.4.2 patch without new files. It's in [attachment:35322-442.diff]:
* I moved the title HTML to a function to avoid double coding.
* Markup unchanged if site logo is defined.
* If no logo is defined, an empty span is placed on the page with a w-logo
background as a data uri.
* Logo is SVG for most, PNG for IE8 & earlier
The IE8/png fallback looks a bit mucky, it might be possible to clean it
up.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35322#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list