Changeset 10114 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
- Timestamp:
- 08/05/2020 01:01:52 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r10000 r10114 1062 1062 $post = get_post( $post_id ); 1063 1063 if ( $post ) { 1064 $translations = Plugin_I18n::instance()->find_all_translations_for_plugin( $post->post_name, 'stable-readme', $min_translated ); // at least $min_translated % translated 1064 $project = 'stable-readme'; 1065 if ( ! $plugin->stable_tag || 'trunk' === $plugin->stable_tag ) { 1066 $project = 'dev-readme'; 1067 } 1068 $translations = Plugin_I18n::instance()->find_all_translations_for_plugin( $post->post_name, $project, $min_translated ); // at least $min_translated % translated 1065 1069 if ( $translations ) { 1066 1070 // Eliminate translations that start with unwanted prefixes, so we don't waste space on near-duplicates like en_AU, en_CA etc.
Note: See TracChangeset
for help on using the changeset viewer.