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