PluginProbe
Polylang / 3.1
Polylang v3.1
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | install/install.php +9 -9 3.03.1 View file →
@@ -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,