| @@ -1,5 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * @package Polylang | |
| 4 | + */ | |
| 2 | 5 | |
| 3 | 6 | /** |
| 4 | 7 | * Polylang activation / de-activation class |
| 5 | 8 | * |
| @@ -33,9 +36,9 @@ | ||
| 33 | 36 | * |
| 34 | 37 | * @since 2.6.7 |
| 35 | 38 | */ |
| 36 | 39 | public function php_version_notice() { |
| 37 | - load_plugin_textdomain( 'polylang', false, basename( POLYLANG_DIR ) . '/languages' ); // Plugin i18n. | |
| 40 | + load_plugin_textdomain( 'polylang' ); // Plugin i18n. | |
| 38 | 41 | |
| 39 | 42 | printf( |
| 40 | 43 | '<div class="error"><p>%s</p></div>', |
| 41 | 44 | sprintf( |
| @@ -55,9 +58,9 @@ | ||
| 55 | 58 | */ |
| 56 | 59 | public function wp_version_notice() { |
| 57 | 60 | global $wp_version; |
| 58 | 61 | |
| 59 | - load_plugin_textdomain( 'polylang', false, basename( POLYLANG_DIR ) . '/languages' ); // Plugin i18n. | |
| 62 | + load_plugin_textdomain( 'polylang' ); // Plugin i18n. | |
| 60 | 63 | |
| 61 | 64 | printf( |
| 62 | 65 | '<div class="error"><p>%s</p></div>', |
| 63 | 66 | sprintf( |