Changeset 10060
- Timestamp:
- 07/11/2020 12:38:56 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download-counter.php
r9780 r10060 32 32 33 33 if ( ! empty( $_GET['ajaxupdate'] ) ) { 34 header( 'Link: <' . $canonical_url . '>; rel="canonical"' ); 35 34 36 die( esc_html( number_format_i18n( $num ) ) ); 35 37 } 36 38 37 39 if ( ! empty( $_GET['json'] ) ) { 40 header( 'Content-Type: application/json' ); 41 header( 'Link: <' . $canonical_url . '>; rel="canonical"' ); 42 38 43 ?> 39 44 {"wpcounter": {
Note: See TracChangeset
for help on using the changeset viewer.