| @@ -31,12 +31,12 @@ | ||
| 31 | 31 | public function __construct() { |
| 32 | 32 | |
| 33 | 33 | parent::__construct( |
| 34 | 34 | 'convertkit_form', |
| 35 | - __( 'Kit Form (Legacy Widget)', 'convertkit' ), | |
| 35 | + __( 'ConvertKit Form (Legacy Widget)', 'convertkit' ), | |
| 36 | 36 | array( |
| 37 | 37 | 'classname' => 'convertkit widget_convertkit_form', |
| 38 | - 'description' => __( 'Display a Kit form.', 'convertkit' ), | |
| 38 | + 'description' => __( 'Display a ConvertKit form.', 'convertkit' ), | |
| 39 | 39 | 'customize_selective_refresh' => true, |
| 40 | 40 | ) |
| 41 | 41 | ); |
| 42 | 42 | |
| @@ -57,9 +57,9 @@ | ||
| 57 | 57 | // Bail if no Forms exist. |
| 58 | 58 | if ( ! $forms->exist() ) { |
| 59 | 59 | ?> |
| 60 | 60 | <p> |
| 61 | - <?php esc_html_e( 'To display a Kit Form, at least one form must be defined in your Kit Account.', 'convertkit' ); ?> | |
| 61 | + <?php esc_html_e( 'To display a ConvertKit Form, at least one form must be defined in your ConvertKit Account.', 'convertkit' ); ?> | |
| 62 | 62 | </p> |
| 63 | 63 | <?php |
| 64 | 64 | } |
| 65 | 65 | |
| @@ -119,10 +119,9 @@ | ||
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | // Output Form. |
| 122 | 122 | // $args already escaped as supplied by WordPress, so we don't need to escape them again. |
| 123 | - // $form could be a script or legacy form with varying HTML, so we don't want to escape it. | |
| 124 | - // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 123 | + // phpcs:disable WordPress.Security.EscapeOutput | |
| 125 | 124 | echo $args['before_widget']; |
| 126 | 125 | if ( $instance['title'] ) { |
| 127 | 126 | echo $args['before_title']; |
| 128 | 127 | echo esc_attr( $instance['title'] ); |