Opened 8 years ago

Last modified 35 hours ago

#1665 new defect (bug)

Rosetta release page embed uses placeholder text

Reported by: netweb's profile netweb Owned by:
Milestone: Priority: normal
Component: International Sites (Rosetta) Keywords: needs-patch


When adding a link to e.g.

The resultant embed is

@dd32's suggestion via WP Australia Slack is to to switch from using a page to a shortcode

Attachments (1)

meta-1665.patch (4.8 KB) - added by SergeyBiryukov 8 years ago.

Download all attachments as: .zip

Change History (5)

#1 @dd32
8 years ago

The two options we have here are really

  • Use a shortcode for these type of pages
  • add a filter which does the same as the page templates

I think this page is due to be replaced, but it's not our only page template in use which probably suffers from this.

#2 @SergeyBiryukov
8 years ago

meta-1665.patch (untested) moves the logic to a separate template, which can be reused in a filter.

#3 @obenland
7 years ago

This feels like a core bug

#4 @dd32
7 years ago

This feels like a core bug

Kind of, it's a shortcoming of how we make templates on - By hardcoding everything in the template, it leaves very little data in post_content which is used for the embeds.

Note: See TracTickets for help on using tickets.