[wp-trac] [WordPress Trac] #34971: Embedding static front pages on multisite does not work
WordPress Trac
noreply at wordpress.org
Sun Dec 13 19:15:12 UTC 2015
#34971: Embedding static front pages on multisite does not work
--------------------------------------+------------------------------
Reporter: thomaslhotta | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => has-patch has-unit-tests
Comment:
Definitely something we should fix somehow.
Currently we show oEmbed discovery links on a static front page, but
embedding does not work. I wouldn't necessarily support embedding the
front page in general (i.e. when it's showing the recent posts), but this
should be fixed somehow.
[attachment:34971.diff] does the following:
* Adds the necessary rewrite rules for supporting `/embed/` for static
front pages (not the front page in general!)
* Adds support for detecting the static front page in `url_to_postid()`
* Adds unit tests
Seems like 4.4.1 to me. @pento What do you think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34971#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list