Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #1618, comment 2


Ignore:
Timestamp:
03/17/2016 06:28:30 AM (8 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1618, comment 2

    initial v1  
    22
    33However, 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.
    4 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.
     4I'm fairly certain that in doing it this way, I've broken some languages excerpt changes (https://ja.wordpress.org/themes/twentyfifteen/embed/ perhaps?) or broken words mid-way.
    55
    66We should figure out how to alter the `post_content` directly to have the translated data available everywhere.