Making WordPress.org

Opened 11 years ago

Closed 11 days ago

#1665 closed defect (bug) (fixed)

Rosetta release page embed uses placeholder text

Reported by: netweb Owned by:
Priority: normal Milestone:
Component: International Sites (Rosetta) Keywords:
Cc:

Description

When adding a link to e.g. ​https://en-au.wordpress.org/releases/

The resultant embed is ​https://en-au.wordpress.org/releases/embed/

https://cldup.com/_Ws_CuZI_5.png

@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 11 years ago.

Download all attachments as: .zip

Change History (6)

#1 @dd32
11 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
11 years ago

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

#3 @obenland
9 years ago

This feels like a core bug

#4 @dd32
9 years ago

This feels like a core bug

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

#5 @obenland
11 days ago

  • Keywords needs-patch removed
  • Resolution → fixed
  • Status new → closed

The release archive now lives at /download/releases/, and its embed (for example ​https://en-au.wordpress.org/download/releases/embed/) shows the page’s real title and description instead of placeholder text. Other Rosetta pages such as Download, About and Contact embed their real content too. Closing as fixed.

Note: See TracTickets for help on using tickets.