Skip to content

Commit 27693bf

Browse files
committed
Bug fixes
1 parent 7e94b38 commit 27693bf

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

admin/layout/settings_tab/post/menu.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class="fed_admin_menu fed_ajax"
2626
'name' => 'fed_post_options[menu][rename_post]',
2727
'placeholder' => __( 'Please enter new name for Post' ),
2828
'value' => isset( $fed_admin_options['menu']['rename_post'] ) ? $fed_admin_options['menu']['rename_post'] : 'Post'
29-
), 'text' ) ?>
29+
), 'single_line' ) ?>
3030
</div>
3131
</div>
3232
<div class="row">
@@ -48,7 +48,7 @@ class="fed_admin_menu fed_ajax"
4848
'value' => isset( $fed_admin_options['menu']['post_menu_icon'] ) ? $fed_admin_options['menu']['post_menu_icon'] : 'fa fa-file-text',
4949
'class' => 'post_menu_icon',
5050
'extra' => 'data-toggle="modal" data-target=".fed_show_fa_list" placeholder="Menu Icon" data-fed_menu_box_id="post_menu_icon"'
51-
), 'text' ) ?>
51+
), 'single_line' ) ?>
5252
</div>
5353
</div>
5454
</div>

admin/layout/settings_tab/user/role.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class="fed_admin_menu fed_ajax"
3232
'id' => 'fed_admin_post_user_role_name',
3333
'placeholder' => __( 'Role Name' ),
3434
'required' => 'true'
35-
), 'text' ) ?>
35+
), 'single_line' ) ?>
3636
</div>
3737
<div class="col-md-4">
3838
<label>
@@ -43,7 +43,7 @@ class="fed_admin_menu fed_ajax"
4343
'id' => 'fed_admin_post_user_role_slug',
4444
'placeholder' => __( 'Role Slug' ),
4545
'required' => 'true'
46-
), 'text' ) ?>
46+
), 'single_line' ) ?>
4747
</div>
4848
<div class="col-md-2 padd_top_20">
4949
<button class="btn btn-primary">

frontend/controller/posts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class="fed_dashboard_add_new_post"
137137
<div class="row fed_dashboard_item_field">
138138
<div class="col-md-12">
139139
<div class="fed_header_font_color">' . __( 'Post Title' ) . '</div>
140-
' . fed_input_box( 'post_title', array( 'placeholder' => 'Post Title' ), 'text' ) . '
140+
' . fed_input_box( 'post_title', array( 'placeholder' => 'Post Title' ), 'single_line' ) . '
141141
</div>
142142
143143
</div>
@@ -472,7 +472,7 @@ class="fed_dashboard_process_edit_post_request"
472472
' . fed_input_box( 'post_title', array(
473473
'value' => esc_attr( $post->post_title ),
474474
'placeholder' => 'Post Title'
475-
), 'text' ) . '
475+
), 'single_line' ) . '
476476
</div>
477477
478478
</div>

shortcodes/login/login-data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function fed_login_only() {
2424
'content' => array(
2525
'user_login' => array(
2626
'name' => 'User Name',
27-
'input' => fed_input_box( 'user_login', array( 'placeholder' => 'User Name' ), 'text' ),
27+
'input' => fed_input_box( 'user_login', array( 'placeholder' => 'User Name' ), 'single_line' ),
2828
'input_order' => 7
2929
),
3030
'user_password' => array(
@@ -90,7 +90,7 @@ function fed_forgot_password_only() {
9090
'content' => array(
9191
'user_email' => array(
9292
'name' => 'User Name / Email Address',
93-
'input' => fed_input_box( 'user_login', array( 'placeholder' => 'User Name / Email Address' ), 'text' ),
93+
'input' => fed_input_box( 'user_login', array( 'placeholder' => 'User Name / Email Address' ), 'single_line' ),
9494
'input_order' => 7
9595
),
9696
),

0 commit comments

Comments
 (0)