Changeset 9618 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/stats-overview.php
- Timestamp:
- 03/22/2020 02:38:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/stats-overview.php
r8348 r9618 15 15 <tr> 16 16 <th class="col-locale-code"><?php _e( 'Locale' ); ?></th> 17 <?php foreach ( $projects as $slug => $project ) : ?> 18 <th><?php 19 $namereplace = array( 'WordPress.org ', 'WordPress for ', 'WordPress ', 'ectory', ' - Development' ); 20 echo esc_html( str_replace( $namereplace, '', $project->name ) ); 21 ?></th> 17 <?php foreach ( $projects as $slug => $project ) : 18 $name = str_replace( array( 'WordPress.org ', 'WordPress for ', 'WordPress ', 'ectory', ' - Development' ), '', $project->name ); 19 ?> 20 <th class="col-<?php echo esc_attr( sanitize_title( $name ) ); ?>"><?php echo esc_html( $name ); ?></th> 22 21 <?php endforeach; ?> 23 22 </tr> … … 76 75 jQuery( document ).ready( function( $ ) { 77 76 $( '#stats-table' ).tablesorter( { 77 theme: 'wporg-translate', 78 78 textExtraction: function( node ) { 79 79 var cellValue = $( node ).text(),
Note: See TracChangeset
for help on using the changeset viewer.