Making WordPress.org


Ignore:
Timestamp:
06/03/2021 06:36:20 AM (5 years ago)
Author:
dd32
Message:

Main theme: Stats page: Allow changing the displayed pie chart into a table.

Fixes #4891.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-stats.php

    r9328 r11007  
    4040                                        <p><?php esc_html_e( 'Here are some charts showing what sorts of systems people are running WordPress on. (You&#8217;ll need JavaScript enabled to see them.)', 'wporg' ); ?></p>
    4141                                        <section>
    42                                                 <h2><?php esc_html_e( 'WordPress Version', 'wporg' ); ?></h2>
     42                                                <h2><?php esc_html_e( 'WordPress Version', 'wporg' ); ?> <a class="swap-table dashicons dashicons-editor-table" title="<?php esc_attr_e( 'View as Table', 'wporg' ); ?>" aria-hidden="true"></a></h2>
    4343                                                <div id="wp_versions" class="wporg-stats-chart loading"></div>
    4444                                        </section>
    4545                                        <section>
    46                                                 <h2><?php esc_html_e( 'PHP Versions', 'wporg' ); ?></h2>
     46                                                <h2><?php esc_html_e( 'PHP Versions', 'wporg' ); ?> <a class="swap-table dashicons dashicons-editor-table" title="<?php esc_attr_e( 'View as Table', 'wporg' ); ?>" aria-hidden="true"></a></h2>
    4747                                                <div id="php_versions" class="wporg-stats-chart loading"></div>
    4848                                        </section>
    4949                                        <section>
    50                                                 <h2><?php esc_html_e( 'MySQL Version', 'wporg' ); ?></h2>
     50                                                <h2><?php esc_html_e( 'MySQL Version', 'wporg' ); ?> <a class="swap-table dashicons dashicons-editor-table" title="<?php esc_attr_e( 'View as Table', 'wporg' ); ?>" aria-hidden="true"></a></h2>
    5151                                                <div id="mysql_versions" class="wporg-stats-chart loading"></div>
    5252                                        </section>
    5353                                        <section>
    54                                                 <h2><?php esc_html_e( 'Locales', 'wporg' ); ?></h2>
     54                                                <h2><?php esc_html_e( 'Locales', 'wporg' ); ?> <a class="swap-table dashicons dashicons-editor-table" title="<?php esc_attr_e( 'View as Table', 'wporg' ); ?>" aria-hidden="true"></a></h2>
    5555                                                <div id="locales" class="wporg-stats-chart loading"></div>
    5656                                        </section>
Note: See TracChangeset for help on using the changeset viewer.