Skip to content

Commit 337188b

Browse files
committed
Input field bug fix
1 parent 3f8cb6f commit 337188b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

admin/includes/settings.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function title_callback( $args ) {
139139

140140
$value = isset( $args[1]['title'] ) ? $args[1]['title'] : '';
141141

142-
$html = '<input type"text" id="title" name="' . $args[0] . '[title]" value="' . $value . '" class="regular-text" />';
142+
$html = '<input type="text" id="title" name="' . $args[0] . '[title]" value="' . $value . '" class="regular-text" />';
143143
$html .= '<p class="description">' . __( 'Enter your custom title for Featured Image Metabox.', $this->plugin_slug ) . '</p>';
144144

145145
echo $html;
@@ -150,7 +150,7 @@ public function instruction_callback( $args ) {
150150

151151
$value = isset( $args[1]['instruction'] ) ? $args[1]['instruction'] : '';
152152

153-
$html = '<input type"text" id="instruction" name="' . $args[0] . '[instruction]" value="' . $value . '" class="regular-text" />';
153+
$html = '<input type="text" id="instruction" name="' . $args[0] . '[instruction]" value="' . $value . '" class="regular-text" />';
154154
$html .= '<p class="description">' . __( 'Enter the instructions for Featured Image, like image dimensions.', $this->plugin_slug ) . '</p>';
155155

156156
echo $html;
@@ -161,7 +161,7 @@ public function set_text_callback( $args ) {
161161

162162
$value = isset( $args[1]['set_text'] ) ? $args[1]['set_text'] : '';
163163

164-
$html = '<input type"text" id="set_text" name="' . $args[0] . '[set_text]" value="' . $value . '" class="regular-text" />';
164+
$html = '<input type="text" id="set_text" name="' . $args[0] . '[set_text]" value="' . $value . '" class="regular-text" />';
165165
$html .= '<p class="description">' . sprintf( __( 'Enter the custom text to replace the default "%s".', $this->plugin_slug ), __( 'Set featured image' ) ) . '</p>';
166166

167167
echo $html;
@@ -172,7 +172,7 @@ public function remove_text_callback( $args ) {
172172

173173
$value = isset( $args[1]['remove_text'] ) ? $args[1]['remove_text'] : '';
174174

175-
$html = '<input type"text" id="remove_text" name="' . $args[0] . '[remove_text]" value="' . $value . '" class="regular-text" />';
175+
$html = '<input type="text" id="remove_text" name="' . $args[0] . '[remove_text]" value="' . $value . '" class="regular-text" />';
176176
$html .= '<p class="description">' . sprintf( __( 'Enter the custom text to replace the default "%s".', $this->plugin_slug ), __( 'Remove featured image' ) ) . '</p>';
177177

178178
echo $html;

0 commit comments

Comments
 (0)