Changeset 1577 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
- Timestamp:
- 05/15/2015 07:12:01 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r1543 r1577 65 65 'date' => __( 'Date', 'wporg-themes' ), 66 66 'downloads' => __( 'Downloads', 'wporg-themes' ), 67 68 // Tags 69 'tags' => wporg_themes_get_tag_translations() 67 70 ), 68 71 ) ); … … 224 227 ); 225 228 } 229 230 /** 231 * Returns an array of [ tag_slug => translated_tag_name] tags for translation within JS 232 */ 233 function wporg_themes_get_tag_translations() { 234 $translations = array(); 235 foreach ( wporg_themes_get_feature_list() as $group => $tags ) { 236 $translations = array_merge( $translations, $tags ); 237 } 238 return $translations; 239 }
Note: See TracChangeset
for help on using the changeset viewer.