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/admin/wpbm-toolbar-tiny.php +15 -13 2.0.1 → 2.1.21 View file →
@@ -5,9 +5,9 @@
5 5 * @subpackage Files Loading
6 6 * @category Bookings
7 7 *
8 8 * @author wpdevelop
9 - * @link http://oplugins.com/plugins/booking-manager/
9 + * @link https://oplugins.com/plugins/booking-manager/
10 10 * @email [email protected]
11 11 *
12 12 * @modified 2017-08-01
13 13 */
@@ -32,10 +32,10 @@
32 32 , 'tiny_btn_row' => 1
33 33 , 'pages_where_insert' => array( 'post-new.php', 'page-new.php', 'post.php', 'page.php' )
34 34 , 'buttons' => array(
35 35 'wpbm_insert' => array(
36 - 'hint' => __('Insert Shortcode' , 'booking-manager' )
37 - , 'title' => __('Insert Shortcode' , 'booking-manager' )
36 + 'hint' => 'Insert Shortcode' // FixIn: 2025-04-04.
37 + , 'title' => 'Insert Shortcode'
38 38 , 'js_func_name_click' => 'wpbm_tiny_btn_click'
39 39 , 'img' => WPBM_PLUGIN_URL . '/assets/img/icon-16x16.png'
40 40 )
41 41 )
@@ -67,9 +67,10 @@
67 67 if ( 1 === $this->settings['tiny_btn_row'] ) add_filter( 'mce_buttons', array( $this, 'add_tiny_button' ) );
68 68 else add_filter( 'mce_buttons_' . $this->settings['tiny_btn_row'] , array( $this, 'add_tiny_button' ) );
69 69
70 70 // Add the old style button to the non-TinyMCE editor views
71 - add_action( 'edit_form_advanced', array( $this, 'add_html_button' ) ); // Fires after 'normal' context meta boxes have been output
71 + //FixIn: 2.0.8.2 - compatibility with Gutenberg 4.1- 4.3 ( or newer ) at edit post page.
72 + //add_action( 'edit_form_advanced', array( $this, 'add_html_button' ) ); // Fires after 'normal' context meta boxes have been output
72 73 add_action( 'edit_page_form', array( $this, 'add_html_button' ) );
73 74 add_action( 'admin_head', array( $this, 'insert_button') );
74 75 /////////////////////////////////////////////////////////////////////////////////////
75 76
@@ -471,10 +472,10 @@
471 472 , 'tiny_btn_row' => 1
472 473 , 'pages_where_insert' => $wpbm_pages_where_insert_btn
473 474 , 'buttons' => array(
474 475 'wpbm_insert' => array(
475 - 'hint' => __('Booking Manager Shortcodes' , 'booking-manager' )
476 - , 'title' => __('Booking Manager' , 'booking-manager' )
476 + 'hint' => 'Booking Manager Shortcodes'
477 + , 'title' => 'Booking Manager'
477 478 , 'js_func_name_click' => 'wpbm_tiny_btn_click'
478 479 , 'img' => WPBM_PLUGIN_URL . '/assets/img/icon-16x16.png'
479 480 )
480 481 )
@@ -537,9 +538,9 @@
537 538 $wpbm_tabs = array();
538 539
539 540 $wpbm_tabs[ 'booking-manager-listing' ] = __( 'Listing .ics feed' , 'booking-manager' );
540 541
541 - if ( wpbm_is_wpbc_supported() )
542 + //if ( wpbm_is_wpbc_supported() )
542 543 $wpbm_tabs[ 'booking-manager-import' ] = __( 'Import .ics feed into' , 'booking-manager' ) . ' ' . '<strong>WPBC</strong>';
543 544
544 545 return $wpbm_tabs;
545 546 }
@@ -1348,14 +1349,15 @@
1348 1349
1349 1350 ////////////////////////////////////////////////////////////////
1350 1351 // Booking resource ID
1351 1352 ////////////////////////////////////////////////////////////////
1352 - var p_br = parseInt( jQuery( '#wpbm_ics_import_booking_resource' ).val().trim() );
1353 -
1354 - if ( p_br > 0 ) {
1355 - wpbm_shortcode += ' resource_id=' + p_br;
1356 - }
1357 -
1353 + if ( jQuery( '#wpbm_ics_import_booking_resource' ).length >0 ){ //FixIn: 2.0.3.1
1354 + var p_br = parseInt( jQuery( '#wpbm_ics_import_booking_resource' ).val().trim() );
1355 +
1356 + if ( p_br > 0 ){
1357 + wpbm_shortcode += ' resource_id=' + p_br;
1358 + }
1359 + }
1358 1360 ////////////////////////////////////////////////////////////////
1359 1361 // FROM
1360 1362 ////////////////////////////////////////////////////////////////
1361 1363 var p_from = jQuery( '#wpbm_ics_import_from' ).val().trim();