| @@ -1,8 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * @package Polylang | |
| 4 | - */ | |
| 5 | 2 | |
| 6 | 3 | /** |
| 7 | 4 | * A class to inform about the WPML compatibility module in Polylang settings |
| 8 | 5 | * |
| @@ -8,17 +5,11 @@ | ||
| 8 | 5 | * |
| 9 | 6 | * @since 1.8 |
| 10 | 7 | */ |
| 11 | 8 | class PLL_Settings_WPML extends PLL_Settings_Module { |
| 12 | - /** | |
| 13 | - * Stores the display order priority. | |
| 14 | - * | |
| 15 | - * @var int | |
| 16 | - */ | |
| 17 | - public $priority = 60; | |
| 18 | 9 | |
| 19 | 10 | /** |
| 20 | - * Constructor | |
| 11 | + * constructor | |
| 21 | 12 | * |
| 22 | 13 | * @since 1.8 |
| 23 | 14 | * |
| 24 | 15 | * @param object $polylang polylang object |
| @@ -23,20 +14,17 @@ | ||
| 23 | 14 | * |
| 24 | 15 | * @param object $polylang polylang object |
| 25 | 16 | */ |
| 26 | 17 | public function __construct( &$polylang ) { |
| 27 | - parent::__construct( | |
| 28 | - $polylang, | |
| 29 | - array( | |
| 30 | - 'module' => 'wpml', | |
| 31 | - 'title' => __( 'WPML compatibility', 'polylang' ), | |
| 32 | - 'description' => __( 'Polylang\'s WPML compatibility mode', 'polylang' ), | |
| 33 | - ) | |
| 34 | - ); | |
| 18 | + parent::__construct( $polylang, array( | |
| 19 | + 'module' => 'wpml', | |
| 20 | + 'title' => __( 'WPML Compatibility', 'polylang' ), | |
| 21 | + 'description' => __( 'WPML compatibility mode of Polylang', 'polylang' ), | |
| 22 | + ) ); | |
| 35 | 23 | } |
| 36 | 24 | |
| 37 | 25 | /** |
| 38 | - * Tells if the module is active | |
| 26 | + * tells if the module is active | |
| 39 | 27 | * |
| 40 | 28 | * @since 1.8 |
| 41 | 29 | * |
| 42 | 30 | * @return bool |