PluginProbe
Polylang / 2.5.2
Polylang v2.5.2
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/view-languages.php +3 -4 2.92.5.2 View file →
@@ -1,9 +1,8 @@
1 1 <?php
2 +
2 3 /**
3 4 * Displays the Languages admin panel
4 - *
5 - * @package Polylang
6 5 */
7 6
8 7 if ( ! defined( 'ABSPATH' ) ) {
9 8 exit; // Don't access directly
@@ -17,10 +16,10 @@
17 16 switch ( $this->active_tab ) {
18 17 case 'lang': // Languages tab
19 18 case 'strings': // String translations tab
20 19 case 'settings': // Settings tab
21 - include __DIR__ . '/view-tab-' . $this->active_tab . '.php';
22 - // Intentional fall-through to upgrade to fire the action below.
20 + include PLL_SETTINGS_INC . '/view-tab-' . $this->active_tab . '.php';
21 + break;
23 22
24 23 default:
25 24 /**
26 25 * Fires when loading the active Polylang settings tab