PluginProbe
Polylang / 3.1.4
Polylang v3.1.4
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 | settings/settings-browser.php +3 -1 2.93.1.4 View file →
@@ -29,9 +29,9 @@
29 29 $polylang,
30 30 array(
31 31 'module' => 'browser',
32 32 'title' => __( 'Detect browser language', 'polylang' ),
33 - 'description' => __( 'When the front page is visited, set the language according to the browser preference', 'polylang' ),
33 + 'description' => __( 'When the front page is visited, redirects to itself in the browser preferred language. As this doesn\'t work if it is cached, Polylang will attempt to disable the front page cache for known cache plugins.', 'polylang' ),
34 34 'active_option' => $this->is_available() ? 'browser' : false,
35 35 )
36 36 );
37 37
@@ -66,8 +66,10 @@
66 66 * Displays the javascript to handle dynamically the change in url modifications
67 67 * as the preferred browser language is not used when the language is set from different domains
68 68 *
69 69 * @since 1.8
70 + *
71 + * @return void
70 72 */
71 73 public function print_js() {
72 74 wp_enqueue_script( 'jquery' );
73 75