Changeset 3521
- Timestamp:
- 06/21/2016 10:18:11 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r3519 r3521 586 586 587 587 foreach ( $locales_to_sync as $locale ) { 588 $the_title = $this->translate_post_title( get_the_title( $post_id ), $post_id);588 $the_title = Plugin_I18n::instance()->translate( 'title', get_the_title( $post_id ), [ 'post_id' => $post_id ] ); 589 589 if ( $the_title && $the_title != get_the_title( $post_id ) ) { 590 590 $this->i18n_meta[ $post_id ][ 'title_' . $locale ] = $the_title;
Note: See TracChangeset
for help on using the changeset viewer.