[wp-meta] [Making WordPress.org] #1618: Enable oEmbed for Themes on Rosetta sites

Making WordPress.org noreply at wordpress.org
Thu Mar 17 06:05:37 UTC 2016


#1618: Enable oEmbed for Themes on Rosetta sites
-----------------------------+------------------
 Reporter:  dd32             |       Owner:
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Theme Directory  |  Resolution:
 Keywords:                   |
-----------------------------+------------------

Comment (by dd32):

 https://de.wordpress.org/themes/twentyfifteen/embed/  now works

 However, in the process of doing that I altered the embed template to use
 `wp_trim_words( $description, 55)` directly instead of using the embed
 excerpt functions, that's because `$post->post_content` isn't translated,
 only `$theme->description` is.
 I'm fairly certain that in doing it this way, I've broken some languages
 except changes (https://ja.wordpress.org/themes/twentyfifteen/embed/
 perhaps?) or broken words mid-way.

 We should figure out how to alter the `post_content` directly to have the
 translated data available everywhere.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1618#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list