@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | |
16 | 16 | function __construct() { |
17 | 17 | |
18 | - $this->widget_description = __('Display a Gravity Forms form.', 'gravityview' ); |
|
18 | + $this->widget_description = __( 'Display a Gravity Forms form.', 'gravityview' ); |
|
19 | 19 | |
20 | 20 | $default_values = array( |
21 | 21 | 'header' => 1, |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | |
57 | 57 | add_filter( 'gravityview/widget/hide_until_searched/allowlist', array( $this, 'add_to_allowlist' ) ); |
58 | 58 | |
59 | - parent::__construct( __( 'Gravity Forms', 'gravityview' ) , 'gravityforms', $default_values, $settings ); |
|
59 | + parent::__construct( __( 'Gravity Forms', 'gravityview' ), 'gravityforms', $default_values, $settings ); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | */ |
106 | 106 | function add_to_allowlist( $allowlist ) { |
107 | 107 | |
108 | - $allowlist[] = 'gravityforms'; |
|
108 | + $allowlist[ ] = 'gravityforms'; |
|
109 | 109 | |
110 | 110 | return $allowlist; |
111 | 111 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * @param string $content |
116 | 116 | * @param string $context |
117 | 117 | */ |
118 | - public function render_frontend( $widget_args, $content = '', $context = '') { |
|
118 | + public function render_frontend( $widget_args, $content = '', $context = '' ) { |
|
119 | 119 | |
120 | 120 | if ( ! $this->pre_render_frontend() ) { |
121 | 121 | return; |