PluginProbe
Polylang / 2.3
Polylang v2.3
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-media.php +7 -19 2.82.3 View file →
@@ -1,8 +1,5 @@
1 1 <?php
2 -/**
3 - * @package Polylang
4 - */
5 2
6 3 /**
7 4 * Settings class for media language and translation management
8 5 *
@@ -8,17 +5,11 @@
8 5 *
9 6 * @since 1.8
10 7 */
11 8 class PLL_Settings_Media extends PLL_Settings_Module {
12 - /**
13 - * Stores the display order priority.
14 - *
15 - * @var int
16 - */
17 - public $priority = 30;
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,15 +14,12 @@
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' => 'media',
31 - 'title' => __( 'Media', 'polylang' ),
32 - 'description' => __( 'Activate languages and translations for media', 'polylang' ),
33 - 'active_option' => 'media_support',
34 - )
35 - );
18 + parent::__construct( $polylang, array(
19 + 'module' => 'media',
20 + 'title' => __( 'Media' ),
21 + 'description' => __( 'Activate languages and translations for media', 'polylang' ),
22 + 'active_option' => 'media_support',
23 + ) );
36 24 }
37 25 }