PluginProbe
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar / 2.1.21
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar v2.1.21
2.1.22 2.1.21 2.1.20 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 trunk 1.1 2.0 2.0.1 2.0.10.2 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.18 2.0.2 2.0.20 2.0.21 All 56 releases
← All changes | core/wpbm-activation.php +14 -16 2.0.1 → 2.1.21 View file →
@@ -5,9 +5,9 @@
5 5 * @subpackage Activation / Deactivation
6 6 * @category Functions
7 7 * @author wpdevelop
8 8 *
9 - * @web-site http://oplugins.com/
9 + * @web-site https://oplugins.com/
10 10 * @email [email protected]
11 11 * @modified 2016-03-17
12 12 */
13 13
@@ -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,18 @@
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 -
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.
185 +
188 186 $default_options[ 'wpbm_listing_template' ] =
189 187 '<div class="wpbm-event">' . "\n"
190 188 . ' <div style="width:35%;float:left;margin-right:5%;">[DATES]</div>' . "\n"
191 189 . ' <div style="width:60%;float:left;">' . "\n"