| @@ -26,18 +26,14 @@ | ||
| 26 | 26 | 'option-version_num' => 'wpbm_version_num' |
| 27 | 27 | , 'option-is_delete_if_deactive' => 'wpbm_is_delete_if_deactive' |
| 28 | 28 | , 'option-activation_process' => 'wpbm_activation_process' |
| 29 | 29 | , 'transient-wpbm_activation_redirect' => '_wpbm_activation_redirect' |
| 30 | - , 'message-delete_data' => '<strong>' . __('Warning!', 'booking-manager') . '</strong> ' | |
| 31 | - . __('All plugin data will be deleted when the plugin is deactivated.', 'booking-manager') | |
| 32 | - . '<br />' | |
| 33 | - . sprintf( __('If you want to save your plugin data, please uncheck the %s"Delete data"%s at the' , 'booking-manager') | |
| 34 | - , '<strong>', '</strong>') | |
| 30 | + , 'message-delete_data' => '<strong>Warning!</strong> All plugin data will be deleted when the plugin is deactivated.<br />' . | |
| 31 | + sprintf( 'If you want to save your plugin data, please uncheck the %s"Delete data"%s at the', '<strong>', '</strong>' ) | |
| 35 | 32 | . '<a href="' . esc_url( admin_url( add_query_arg( array( 'page' => 'oplugins', 'tab' => 'wpbm-settings' ), 'admin.php' ) ) ) |
| 36 | - . '#wpbm_general_settings_uninstall_metabox"> ' . __('settings page', 'booking-manager') . '.' | |
| 37 | - . ' </a>' | |
| 33 | + . '#wpbm_general_settings_uninstall_metabox"> settings page. </a>' | |
| 38 | 34 | , 'link_settings' => '<a href="' . esc_url( admin_url( add_query_arg( array( 'page' => 'oplugins', 'tab' => 'wpbm-settings' ), 'admin.php' ) ) ) |
| 39 | - . '">'.__("Settings", 'booking-manager').'</a>' | |
| 35 | + . '">Settings</a>' //FixIn: 2025-03-28 | |
| 40 | 36 | , 'link_whats_new' => '' |
| 41 | 37 | ); |
| 42 | 38 | |
| 43 | 39 | } |
| @@ -176,16 +172,17 @@ | ||
| 176 | 172 | */ |
| 177 | 173 | |
| 178 | 174 | $default_options[ 'wpbm_menu_position' ] = ( $is_demo ) ? 'bottom' : 'bottom'; |
| 179 | 175 | // User permissions |
| 180 | - $default_options[ 'wpbm_user_role_master' ] = ( $is_demo ) ? 'subscriber' : 'editor'; | |
| 181 | - //$default_options[ 'wpbm_user_role_addnew' ] = ( $is_demo ) ? 'subscriber' : 'editor'; | |
| 182 | - //$default_options[ 'wpbm_user_role_settings' ] = ( $is_demo ) ? 'subscriber' : 'editor'; | |
| 176 | + $default_options[ 'wpbm_user_role_master' ] = 'subscriber'; | |
| 177 | + //$default_options[ 'wpbm_user_role_addnew' ] = 'subscriber'; | |
| 178 | + //$default_options[ 'wpbm_user_role_settings' ] = 'subscriber'; | |
| 183 | 179 | // Position |
| 184 | - | |
| 185 | - // Uninstall | |
| 186 | - $default_options[ 'wpbm_is_delete_if_deactive' ] = ($is_demo) ? 'On' : 'Off'; | |
| 187 | - $default_options[ 'wpbm_is_hide_details' ] = 'Off'; //FixIn: 2.0.12.3 | |
| 180 | + | |
| 181 | + // Uninstall. | |
| 182 | + $default_options['wpbm_is_delete_if_deactive'] = ( $is_demo ) ? 'On' : 'Off'; | |
| 183 | + $default_options['wpbm_is_hide_details'] = 'Off'; // FixIn: 2.0.12.3. | |
| 184 | + $default_options['wpbm_is_export_only_full_days'] = 'Off'; // FixIn: 2.1.12.1. | |
| 188 | 185 | |
| 189 | 186 | $default_options[ 'wpbm_listing_template' ] = |
| 190 | 187 | '<div class="wpbm-event">' . "\n" |
| 191 | 188 | . ' <div style="width:35%;float:left;margin-right:5%;">[DATES]</div>' . "\n" |