PluginProbe
Booking Calendar / 11.8.4
Booking Calendar v11.8.4
11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 All 204 releases
← All changes | core/admin/page-ics-import.php +11 -8 10.10.211.8.4 View file →
@@ -55,23 +55,22 @@
55 55 $subtabs = array();
56 56
57 57 $subtabs[ 'import' ] = array(
58 58 'type' => 'subtab' // Required| Possible values: 'subtab' | 'separator' | 'button' | 'goto-link' | 'html'
59 - , 'title' => __('Import' ,'booking') . ' - .ics' // Title of TAB
60 - , 'page_title' => __('Import' ,'booking') . ' .ics '
59 + , 'title' => __('Import' ,'booking') . ' - .ics' // Title of TAB
60 + , 'page_title' => __('Import Bookings via .ics' ,'booking')
61 61 //. ' <span style="padding: 10px;font-size: 12px;font-style: italic;vertical-align: top;">Beta</span>' // Title of Page
62 - , 'hint' => __('Import' ,'booking') . ' .ics/ical ' . __('feeds', 'booking') // Hint
62 + , 'hint' => __('Set up and configure the import of events using .ics feeds.' ,'booking') // Hint
63 63 , 'link' => '' // link
64 64 , 'position' => '' // 'left' || 'right' || ''
65 65 , 'css_classes' => '' // CSS class(es)
66 66 //, 'icon' => 'http://.../icon.png' // Icon - link to the real PNG img
67 - //, 'font_icon' => 'wpbc_icn_mail_outline' // CSS definition of Font Icon
68 - , 'header_font_icon' => 'wpbc_icn_sync_alt' // CSS definition of Font Icon // FixIn: 9.6.1.4.
69 - , 'default' => ! true // Is this sub tab activated by default or not: true || false. // FixIn: 8.1.1.10.
67 + , 'font_icon' => 'wpbc-bi-box-arrow-in-down-right'
68 + , 'default' => false // Is this sub tab activated by default or not: true || false. // FixIn: 8.1.1.10.
70 69 , 'disabled' => false // Is this sub tab deactivated: true || false.
71 70 , 'checkbox' => false // or definition array for specific checkbox: array( 'checked' => true, 'name' => 'feature1_active_status' ) //, 'checkbox' => array( 'checked' => $is_checked, 'name' => 'enabled_active_status' )
72 71 , 'content' => 'content' // Function to load as conten of this TAB
73 - //, 'is_use_left_navigation' => true // We commented this line to have the vertical subline of menu
72 +
74 73 );
75 74
76 75 $tabs[ 'sync' ]['subtabs'] = $subtabs;
77 76
@@ -645,9 +644,12 @@
645 644 </h4>
646 645 <ol style="list-style-type: decimal !important;list-style-position: inside;margin-left: 15px;">
647 646 <li><?php
648 647 /* translators: 1: ... */
649 - echo wp_kses_post( sprintf( __( 'Install %s plugin.', 'booking' ), '<a target="_blank" href="https://wordpress.org/plugins/booking-manager/"><strong>Booking Manager</strong></a>' ) );
648 + echo wp_kses_post( sprintf( __( 'Install %s plugin.', 'booking' ), '<a class="thickbox open-plugin-details-modal" target="_blank" href="plugin-install.php?tab=plugin-information&plugin=booking-manager&TB_iframe=true&width=772&height=435" aria-label="Booking Manager" data-title="Booking Manager"><strong>Booking Manager</strong></a>' ) );
649 + echo ' ';
650 + /* translators: 1: URL of Booking Manager plugin page.*/
651 + echo wp_kses_post( sprintf( __( 'WordPress directory %s page.', 'booking' ), '<a target="_blank" href="https://wordpress.org/plugins/booking-manager/"><strong>Booking Manager</strong></a>' ) );
650 652 ?></li>
651 653 <li> <?php esc_html_e( 'Configure ULR feed(s) at this settings page.', 'booking' ); ?>
652 654 <div class="wpbc-settings-notice notice-info"
653 655 style='margin-left:25px;text-align:left;border-top:1px solid #f0f0f0;border-right:1px solid #f0f0f0;'>
@@ -762,8 +764,9 @@
762 764
763 765 //////////////////////////////////////////////////////////////////////
764 766 // Import events from .ics feed to specific booking resource
765 767 //////////////////////////////////////////////////////////////////////
768 + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
766 769 do_action( 'wpbm_ics_import_start', array(
767 770 'url' => esc_url_raw( $_POST['params']['wpbc_import_url'] ), // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
768 771 'resource_id' => intval( $_POST['params']['wpbc_import_br_selection'] ), // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated
769 772 'import_conditions' => '',