Changeset 29477
- Timestamp:
- 08/13/2014 02:30:24 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r29455 r29477 323 323 ); 324 324 325 $plugins_group_titles = array( 326 'Performance' => _x( 'Performance', 'Plugin installer group title' ), 327 'Social' => _x( 'Social', 'Plugin installer group title' ), 328 'Tools' => _x( 'Tools', 'Plugin installer group title' ), 329 ); 330 325 331 list( $columns, $hidden ) = $this->get_column_info(); 326 332 … … 340 346 if ( isset( $plugin['group'] ) && $plugin['group'] != $group ) { 341 347 if ( isset( $this->groups[ $plugin['group'] ] ) ) { 342 $group_name = translate( $this->groups[ $plugin['group'] ] ); // Does this need context? 348 $group_name = $this->groups[ $plugin['group'] ]; 349 if ( isset( $plugins_group_titles[ $group_name ] ) ) { 350 $group_name = $plugins_group_titles[ $group_name ]; 351 } 343 352 } else { 344 353 $group_name = $plugin['group'];
Note: See TracChangeset
for help on using the changeset viewer.