| @@ -32,9 +32,9 @@ | ||
| 32 | 32 | * |
| 33 | 33 | * @param array $args |
| 34 | 34 | */ |
| 35 | 35 | public function __construct( $args ) { |
| 36 | - trigger_error( 'The class PLL_Pointer has been deprecated since Polylang 2.3.9 and will be removed in a future version.', E_USER_ERROR ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions | |
| 36 | + trigger_error( 'The class PLL_Pointer has been deprecated since Polylang 2.3.9 and will be removed in a future version.', E_USER_ERROR ); | |
| 37 | 37 | |
| 38 | 38 | $this->args = $args; |
| 39 | 39 | add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); |
| 40 | 40 | } |
| @@ -107,7 +107,7 @@ | ||
| 107 | 107 | empty( $this->args['position'] ) ? '' : sprintf( 'position: {edge: "%s", align: "%s",},', $this->args['position']['edge'], $this->args['position']['align'] ), |
| 108 | 108 | empty( $this->args['width'] ) ? '' : sprintf( 'pointerWidth: %d,', $this->args['width'] ), |
| 109 | 109 | empty( $b ) ? '' : $b |
| 110 | 110 | ); |
| 111 | - echo '<script type="text/javascript">' . $js . '</script>'; // phpcs:ignore WordPress.Security.EscapeOutput | |
| 111 | + echo '<script type="text/javascript">' . $js . '</script>'; | |
| 112 | 112 | } |
| 113 | 113 | } |