Skip to content

Commit

Permalink
fix: dokan admin settings rearrange mapping (#657)
Browse files Browse the repository at this point in the history
* fix: dokan admin settings rearrange mapping

* fix: admin settings typo
  • Loading branch information
saimonh3 authored and sabbir1991 committed Jul 29, 2019
1 parent 751b529 commit 8422962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function get_settings_fields() {
'admin_access' => array(
'name' => 'admin_access',
'label' => __( 'Admin area access', 'dokan-lite' ),
'desc' => __( 'Allow/Disallow Vendors and Customers from accessing the wp-admin dashboard area', 'dokan-lite' ),
'desc' => __( 'Disallow Vendors and Customers from accessing the wp-admin dashboard area', 'dokan-lite' ),
'type' => 'checkbox',
'default' => 'on'
),
Expand Down
1 change: 1 addition & 0 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3533,6 +3533,7 @@ function dokan_admin_settings_rearrange_map( $option, $section ) {
'contact_seller_dokan_general' => array( 'contact_seller', 'dokan_appearance' ),
'enable_theme_store_sidebar_dokan_general' => array( 'enable_theme_store_sidebar', 'dokan_appearance' ),
'setup_wizard_logo_url_dokan_appearance' => array( 'setup_wizard_logo_url', 'dokan_general' ),
'disable_welcome_wizard_dokan_selling' => array( 'disable_welcome_wizard', 'dokan_general' ),
) );

if ( isset( $map[ $id ] ) ) {
Expand Down

0 comments on commit 8422962

Please sign in to comment.