Changeset 1041
- Timestamp:
- 12/13/2014 07:32:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/translations/core/1.0/index.php
r825 r1041 12 12 $translations = find_all_translations_for_core( $version ); 13 13 14 header( 'Access-Control-Allow-Origin: *' ); 15 header( 'X-Translations-Count:' . count( $translations ) ); 16 if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] ) { 17 exit; 18 } 19 14 20 call_headers( 'application/json' ); 15 21
Note: See TracChangeset
for help on using the changeset viewer.