PluginProbe
Polylang / 2.4
Polylang v2.4
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 | include/pointer.php +2 -2 2.72.4 View file →
@@ -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 }