| @@ -14,9 +14,8 @@ | ||
| 14 | 14 | * |
| 15 | 15 | * @param object $polylang polylang object |
| 16 | 16 | */ |
| 17 | 17 | public function __construct( &$polylang ) { |
| 18 | - $this->options = &$polylang->options; | |
| 19 | 18 | parent::__construct( |
| 20 | 19 | $polylang, |
| 21 | 20 | array( |
| 22 | 21 | 'module' => 'browser', |
| @@ -79,12 +78,12 @@ | ||
| 79 | 78 | ( function( $ ){ |
| 80 | 79 | $( "input[name='force_lang']" ).change( function() { |
| 81 | 80 | var value = $( this ).val(); |
| 82 | 81 | if ( 3 > value ) { |
| 83 | - $( "#pll-module-browser" ).<?php echo $func; // phpcs:ignore WordPress.Security.EscapeOutput ?>.children( "td" ).children( ".row-actions" ).html( '<?php echo $link; // phpcs:ignore WordPress.Security.EscapeOutput ?>' ); | |
| 82 | + $( "#pll-module-browser" ).<?php echo $func; ?>.children( "td" ).children( ".row-actions" ).html( '<?php echo $link; ?>' ); | |
| 84 | 83 | } |
| 85 | 84 | else { |
| 86 | - $( "#pll-module-browser" ).removeClass( "active" ).addClass( "inactive" ).children( "td" ).children( ".row-actions" ).html( '<?php echo $deactivated; // phpcs:ignore WordPress.Security.EscapeOutput ?>' ); | |
| 85 | + $( "#pll-module-browser" ).removeClass( "active" ).addClass( "inactive" ).children( "td" ).children( ".row-actions" ).html( '<?php echo $deactivated; ?>' ); | |
| 87 | 86 | } |
| 88 | 87 | } ); |
| 89 | 88 | } )( jQuery ); |
| 90 | 89 | // ]]> |