| @@ -79,9 +79,9 @@ | ||
| 79 | 79 | ); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * Get default Polylang options | |
| 83 | + * Get default Polylang options. | |
| 84 | 84 | * |
| 85 | 85 | * @since 1.8 |
| 86 | 86 | * |
| 87 | 87 | * @return array |
| @@ -87,16 +87,16 @@ | ||
| 87 | 87 | * @return array |
| 88 | 88 | */ |
| 89 | 89 | public static function get_default_options() { |
| 90 | 90 | return array( |
| 91 | - 'browser' => 1, // Default language for the front page is set by browser preference | |
| 92 | - 'rewrite' => 1, // Remove /language/ in permalinks ( was the opposite before 0.7.2 ) | |
| 93 | - 'hide_default' => 1, // Remove URL language information for default language ( was the opposite before 2.1.5 ) | |
| 94 | - 'force_lang' => 1, // Add URL language information ( was 0 before 1.7 ) | |
| 95 | - 'redirect_lang' => 0, // Do not redirect the language page to the homepage | |
| 96 | - 'media_support' => 1, // Support languages and translation for media by default | |
| 97 | - 'uninstall' => 0, // Do not remove data when uninstalling Polylang | |
| 98 | - 'sync' => array(), // Synchronisation is disabled by default ( was the opposite before 1.2 ) | |
| 91 | + 'browser' => 0, // Default language for the front page is not set by browser preference (was the opposite before 3.1). | |
| 92 | + 'rewrite' => 1, // Remove /language/ in permalinks (was the opposite before 0.7.2). | |
| 93 | + 'hide_default' => 1, // Remove URL language information for default language (was the opposite before 2.1.5). | |
| 94 | + 'force_lang' => 1, // Add URL language information (was 0 before 1.7). | |
| 95 | + 'redirect_lang' => 0, // Do not redirect the language page to the homepage. | |
| 96 | + 'media_support' => 0, // Do not support languages and translation for media by default (was the opposite before 3.1). | |
| 97 | + 'uninstall' => 0, // Do not remove data when uninstalling Polylang. | |
| 98 | + 'sync' => array(), // Synchronisation is disabled by default (was the opposite before 1.2). | |
| 99 | 99 | 'post_types' => array(), |
| 100 | 100 | 'taxonomies' => array(), |
| 101 | 101 | 'domains' => array(), |
| 102 | 102 | 'version' => POLYLANG_VERSION, |