PluginProbe ʕ •ᴥ•ʔ
Loco Translate / 1.5.6
Loco Translate v1.5.6
2.8.5 2.8.4 2.5.8 2.6.0 2.6.1 2.6.10 2.6.11 2.6.12 2.6.13 2.6.14 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.7.0 2.7.1 2.7.2 2.7.3 2.8.0 2.8.1 2.8.2 2.8.3 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2 1.2.1 1.2.2 1.3 1.3.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7
loco-translate / php / loco-data.php
loco-translate / php Last commit date
loco-ajax.php 9 years ago loco-data.php 9 years ago loco-download.php 9 years ago loco-fail.php 12 years ago loco-fatal.php 12 years ago loco-posave.php 9 years ago loco-posync.php 9 years ago
loco-data.php
22 lines
1 <?php
2 /**
3 * Admin ajax include that returns compiled-in data
4 * Included by loco-ajax.php during Ajax action
5 */
6
7 DOING_AJAX or die();
8
9 // default is single locale response
10 if( isset($locale) ){
11 loco_require('loco-locales');
12 $data = loco_locale_resolve($locale);
13 return array (
14 'locales' => array (
15 $locale => $data->export(),
16 ),
17 );
18 }
19
20
21 throw new Exception( __('Invalid data posted to server','loco-translate'), 422 );
22