Browse Source

Bump copyright year

develop
Sam Black 2 years ago
parent
commit
7838d091d3
Signed by: samwwwblack GPG Key ID: 0FF0223994EA47D8
  1. 2
      README.md
  2. 148
      booking-activities.php
  3. 2
      silicon/common.php
  4. 2
      silicon/controllers.php
  5. 2
      silicon/functions.php
  6. 2
      silicon/model.php
  7. 2
      silicon/silicon.php
  8. 2
      silicon/view/silicon-ical-link.php

2
README.md

@ -28,7 +28,7 @@ Tags: booking activities, booking sport, booking form, event reservation, reserv
Requires at least: 3.6
Tested up to: 5.3
Requires PHP: 7.0
Stable tag: 1.7.14.20191231
Stable tag: 1.7.20.20200307
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

148
booking-activities.php

@ -1,4 +1,4 @@
<?php
<?php
/**
* Plugin Name: Booking Activities
* Plugin URI: https://booking-activities.fr/en/?utm_source=plugin&utm_medium=plugin&utm_content=header
@ -12,28 +12,28 @@
* WC tested up to: 3.9
* License: GPL3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*
*
* This file is part of Booking Activities.
*
*
* Booking Activities is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
*
* Booking Activities is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with Booking Activities. If not, see <http://www.gnu.org/licenses/>.
*
*
* @package Booking Activities
* @category Core
* @author Booking Activities Team
*
*
* Copyright 2018 Yoan Cutillas
* Copyright 2018, 2019 Sam Black <samwwwblack@lapwing.org>
* Copyright 2018-2020 Sam Black <samwwwblack@lapwing.org>
*/
// Exit if accessed directly
@ -55,13 +55,13 @@ __( 'Booking system specialized in activities (sports, cultural, leisure, events
* Load or reload Booking Activities translations
* @version 1.7.8
*/
function bookacti_load_textdomain() {
function bookacti_load_textdomain() {
$locale = is_admin() && function_exists( 'get_user_locale' ) ? get_user_locale() : get_locale();
$locale = apply_filters( 'plugin_locale', $locale, 'booking-activities' );
unload_textdomain( 'booking-activities' );
load_textdomain( 'booking-activities', WP_LANG_DIR . '/' . BOOKACTI_PLUGIN_NAME . '/' . BOOKACTI_PLUGIN_NAME . '-' . $locale . '.mo' );
load_plugin_textdomain( 'booking-activities', false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
load_plugin_textdomain( 'booking-activities', false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
}
add_action( 'plugins_loaded', 'bookacti_load_textdomain' );
@ -69,8 +69,8 @@ add_action( 'plugins_loaded', 'bookacti_load_textdomain' );
// INCLUDE PHP FUNCTIONS
include_once( 'functions/functions-global.php' );
include_once( 'functions/functions-booking-system.php' );
include_once( 'functions/functions-global.php' );
include_once( 'functions/functions-booking-system.php' );
include_once( 'functions/functions-templates.php' );
include_once( 'functions/functions-templates-forms-control.php' );
include_once( 'functions/functions-bookings.php' );
@ -131,26 +131,26 @@ include_once 'silicon/silicon.php';
function bookacti_enqueue_high_priority_global_scripts() {
// On backend, only include these scripts on Booking Activities pages
if( is_admin() && ! bookacti_is_booking_activities_screen() ) { return; }
// INCLUDE LIBRARIES
wp_enqueue_script( 'bookacti-js-moment', plugins_url( 'lib/fullcalendar/moment.min.js', __FILE__ ), array( 'jquery' ), BOOKACTI_VERSION, true );
wp_enqueue_style ( 'bookacti-css-fullcalendar', plugins_url( 'lib/fullcalendar/fullcalendar.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
wp_enqueue_style ( 'bookacti-css-fullcalendar-print', plugins_url( 'lib/fullcalendar/fullcalendar.print.min.css', __FILE__ ), array( 'bookacti-css-fullcalendar' ), BOOKACTI_VERSION, 'print' );
wp_enqueue_script( 'bookacti-js-fullcalendar', plugins_url( 'lib/fullcalendar/fullcalendar.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-moment' ), BOOKACTI_VERSION, true );
wp_enqueue_script( 'bookacti-js-fullcalendar-locale-all', plugins_url( 'lib/fullcalendar/locale-all.js', __FILE__ ), array( 'jquery', 'bookacti-js-fullcalendar' ), BOOKACTI_VERSION, true );
// INCLUDE JAVASCRIPT FILES
wp_register_script( 'bookacti-js-global-var', plugins_url( 'js/global-var.min.js', __FILE__ ), array( 'jquery' ), BOOKACTI_VERSION, false ); // Load in header
wp_register_script( 'bookacti-js-global-functions', plugins_url( 'js/global-functions.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'jquery-ui-tooltip' ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-booking-system-functions', plugins_url( 'js/booking-system-functions.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-fullcalendar', 'jquery-effects-highlight' ), BOOKACTI_VERSION, true );
// LOCALIZE SCRIPTS
global $bookacti_translation_array;
require_once( 'languages/script-translation.php' );
wp_localize_script( 'bookacti-js-global-var', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-global-functions', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-booking-system-functions', 'bookacti_localized', $bookacti_translation_array );
// ENQUEUE SCRIPTS
wp_enqueue_script ( 'bookacti-js-global-var' );
wp_enqueue_script ( 'bookacti-js-global-functions' );
@ -168,7 +168,7 @@ add_action( 'wp_enqueue_scripts', 'bookacti_enqueue_high_priority_global_scripts
function bookacti_enqueue_global_scripts() {
global $bookacti_translation_array;
if( empty( $bookacti_translation_array ) ) { require_once( 'languages/script-translation.php' ); }
// Include WooCommerce style and scripts
if( bookacti_is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
if( ! is_admin() || bookacti_is_wc_screen( array( 'product', 'product_variation', 'shop_order' ) ) ) {
@ -183,17 +183,17 @@ function bookacti_enqueue_global_scripts() {
wp_localize_script( 'bookacti-js-woocommerce-global', 'bookacti_localized', $bookacti_translation_array );
wp_enqueue_script( 'bookacti-js-woocommerce-global' );
}
// On backend, only include these scripts on Booking Activities pages
if( is_admin() && ! bookacti_is_booking_activities_screen() ) { return; }
// INCLUDE STYLESHEETS
wp_enqueue_style ( 'bookacti-css-global', plugins_url( 'css/global.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
wp_enqueue_style ( 'bookacti-css-fonts', plugins_url( 'css/fonts.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
wp_enqueue_style ( 'bookacti-css-bookings', plugins_url( 'css/bookings.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
wp_enqueue_style ( 'bookacti-css-forms', plugins_url( 'css/forms.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
wp_enqueue_style ( 'jquery-ui-bookacti-theme', plugins_url( 'lib/jquery-ui/themes/booking-activities/jquery-ui.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
// INCLUDE JAVASCRIPT FILES
wp_register_script( 'bookacti-js-booking-system', plugins_url( 'js/booking-system.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-fullcalendar', 'bookacti-js-global-functions' ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-booking-system-dialogs', plugins_url( 'js/booking-system-dialogs.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-moment', 'jquery-ui-dialog' ), BOOKACTI_VERSION, true );
@ -201,7 +201,7 @@ function bookacti_enqueue_global_scripts() {
wp_register_script( 'bookacti-js-bookings-functions', plugins_url( 'js/bookings-functions.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-fullcalendar', 'bookacti-js-global-functions', ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-bookings-dialogs', plugins_url( 'js/bookings-dialogs.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-global-functions', 'bookacti-js-moment', 'jquery-ui-dialog' ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-forms', plugins_url( 'js/forms.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-functions', 'jquery-ui-dialog' ), BOOKACTI_VERSION, true );
// LOCALIZE SCRIPTS
wp_localize_script( 'bookacti-js-booking-system', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-booking-system-dialogs', 'bookacti_localized', $bookacti_translation_array );
@ -209,7 +209,7 @@ function bookacti_enqueue_global_scripts() {
wp_localize_script( 'bookacti-js-bookings-functions', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-bookings-dialogs', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-forms', 'bookacti_localized', $bookacti_translation_array );
// ENQUEUE SCRIPTS
wp_enqueue_script( 'bookacti-js-booking-system' );
wp_enqueue_script( 'bookacti-js-booking-system-dialogs' );
@ -234,15 +234,15 @@ function bookacti_enqueue_high_priority_backend_scripts() {
$select2_version = '4.0.13';
wp_enqueue_script( 'select2', plugins_url( 'lib/select2/select2.min.js', __FILE__ ), array( 'jquery' ), $select2_version, true );
wp_enqueue_style( 'select2', plugins_url( 'lib/select2/select2.min.css', __FILE__ ), array(), $select2_version );
// INCLUDE JAVASCRIPT FILES
wp_register_script( 'bookacti-js-backend-functions', plugins_url( 'js/backend-functions.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-global-functions', 'jquery-ui-dialog', 'jquery-ui-tabs', 'jquery-ui-tooltip' ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-bookings', plugins_url( 'js/bookings.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-fullcalendar', 'bookacti-js-global-functions', 'bookacti-js-backend-functions' ), BOOKACTI_VERSION, true );
// LOCALIZE SCRIPTS
global $bookacti_translation_array;
wp_localize_script( 'bookacti-js-bookings', 'bookacti_localized', $bookacti_translation_array );
// ENQUEUE SCRIPTS
wp_enqueue_script ( 'bookacti-js-backend-functions' );
wp_enqueue_script ( 'bookacti-js-bookings' );
@ -258,7 +258,7 @@ add_action( 'admin_enqueue_scripts','bookacti_enqueue_high_priority_backend_scri
function bookacti_enqueue_backend_scripts() {
global $bookacti_translation_array;
if( empty( $bookacti_translation_array ) ) { require_once( 'languages/script-translation.php' ); }
// Include WooCommerce scripts
if( bookacti_is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
if( bookacti_is_wc_screen( array( 'product', 'product_variation', 'shop_order' ) ) || bookacti_is_booking_activities_screen() ) {
@ -267,7 +267,7 @@ function bookacti_enqueue_backend_scripts() {
wp_enqueue_script ( 'bookacti-js-woocommerce-backend' );
}
}
// On backend, only include these scripts on Booking Activities pages
if( ! bookacti_is_booking_activities_screen() ) { return; }
@ -275,7 +275,7 @@ function bookacti_enqueue_backend_scripts() {
wp_enqueue_style ( 'bookacti-css-backend', plugins_url( 'css/backend.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
wp_enqueue_style ( 'bookacti-css-templates',plugins_url( 'css/templates.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
wp_enqueue_style ( 'bookacti-css-landing', plugins_url( 'css/landing.min.css', __FILE__ ), array(), BOOKACTI_VERSION );
// INCLUDE JAVASCRIPT FILES
wp_register_script( 'bookacti-js-templates-forms-control', plugins_url( 'js/templates-forms-control.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-moment' ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-templates-functions', plugins_url( 'js/templates-functions.min.js', __FILE__ ), array( 'jquery', 'jquery-touch-punch', 'bookacti-js-global-var', 'bookacti-js-fullcalendar', 'jquery-effects-highlight' ), BOOKACTI_VERSION, true );
@ -284,7 +284,7 @@ function bookacti_enqueue_backend_scripts() {
wp_register_script( 'bookacti-js-settings', plugins_url( 'js/settings.min.js', __FILE__ ), array( 'jquery' ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-form-editor-dialogs', plugins_url( 'js/form-editor-dialogs.min.js', __FILE__ ), array( 'jquery', 'bookacti-js-global-var', 'bookacti-js-moment', 'jquery-ui-dialog', 'bookacti-js-backend-functions' ), BOOKACTI_VERSION, true );
wp_register_script( 'bookacti-js-form-editor', plugins_url( 'js/form-editor.min.js', __FILE__ ), array( 'jquery', 'jquery-touch-punch', 'bookacti-js-global-var', 'bookacti-js-booking-system-functions', 'jquery-ui-sortable', 'bookacti-js-forms', 'bookacti-js-form-editor-dialogs' ), BOOKACTI_VERSION, true );
// LOCALIZE SCRIPTS
wp_localize_script( 'bookacti-js-templates-forms-control', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-templates-functions', 'bookacti_localized', $bookacti_translation_array );
@ -293,7 +293,7 @@ function bookacti_enqueue_backend_scripts() {
wp_localize_script( 'bookacti-js-settings', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-form-editor-dialogs', 'bookacti_localized', $bookacti_translation_array );
wp_localize_script( 'bookacti-js-form-editor', 'bookacti_localized', $bookacti_translation_array );
// ENQUEUE SCRIPTS
wp_enqueue_script ( 'bookacti-js-templates-forms-control' );
wp_enqueue_script ( 'bookacti-js-templates-functions' );
@ -333,22 +333,22 @@ function bookacti_activate() {
// Create tables in database
bookacti_create_tables();
// Keep in memory the first installed date
$install_date = get_option( 'bookacti-install-date' );
if( ! $install_date ) {
update_option( 'bookacti-install-date', date( 'Y-m-d H:i:s' ) );
}
// Check if the plugin is being updated
bookacti_check_version( true );
// Update current version
delete_option( 'bookacti_version' );
add_option( 'bookacti_version', BOOKACTI_VERSION );
do_action( 'bookacti_activate' );
// Flush rules after install
flush_rewrite_rules();
}
@ -372,17 +372,17 @@ register_deactivation_hook( __FILE__, 'bookacti_deactivate' );
function bookacti_uninstall() {
// Delete notices acknowledgement
bookacti_reset_notices();
if( bookacti_get_setting_value( 'bookacti_general_settings', 'delete_data_on_uninstall' ) ) {
// Delete plugin settings
bookacti_delete_settings();
// Delete user meta related to Booking Activities
bookacti_delete_user_data();
// Drop tables and every Booking Activities Data
bookacti_drop_tables();
// Delete Booking Activities files
$uploads_dir = wp_upload_dir();
$bookacti_upload_dir = trailingslashit( str_replace( '\\', '/', $uploads_dir[ 'basedir' ] ) ) . BOOKACTI_PLUGIN_NAME . '/';
@ -390,12 +390,12 @@ function bookacti_uninstall() {
bookacti_delete_files( $bookacti_upload_dir, true );
}
}
// Unset roles and capabilities
bookacti_unset_role_and_cap();
do_action( 'bookacti_uninstall' );
// Clear any cached data that has been removed
wp_cache_flush();
}
@ -428,44 +428,44 @@ function bookacti_update_removed_global_settings_in_1_7_16( $old_version ) {
$global_booking_method = bookacti_get_setting_value( 'bookacti_general_settings', 'booking_method' );
$global_availability_period_start = bookacti_get_setting_value( 'bookacti_general_settings', 'availability_period_start' );
$global_availability_period_end = bookacti_get_setting_value( 'bookacti_general_settings', 'availability_period_end' );
global $wpdb;
// Update the "Booking method" setting (Calendar form fields)
$booking_method_updated = $wpdb->update(
BOOKACTI_TABLE_META,
$booking_method_updated = $wpdb->update(
BOOKACTI_TABLE_META,
array( 'meta_value' => $global_booking_method ? $global_booking_method : 'calendar' ),
array( 'meta_key' => 'method', 'meta_value' => 'site' ),
array( '%s' ),
array( '%s', '%s' )
);
$wc_product_booking_method_updated = $wpdb->update(
$wpdb->postmeta,
$wc_product_booking_method_updated = $wpdb->update(
$wpdb->postmeta,
array( 'meta_value' => $global_booking_method ? $global_booking_method : 'calendar' ),
array( 'meta_key' => '_bookacti_booking_method', 'meta_value' => 'site' ),
array( '%s' ),
array( '%s', '%s' )
);
$wc_variation_booking_method_updated = $wpdb->update(
$wpdb->postmeta,
$wc_variation_booking_method_updated = $wpdb->update(
$wpdb->postmeta,
array( 'meta_value' => $global_booking_method ? $global_booking_method : 'calendar' ),
array( 'meta_key' => 'bookacti_variable_booking_method', 'meta_value' => 'site' ),
array( '%s' ),
array( '%s', '%s' )
);
// Update the "Events will be bookable in" setting (Templates, Calendar form fields)
$availability_period_start_updated = $wpdb->update(
BOOKACTI_TABLE_META,
$availability_period_start_updated = $wpdb->update(
BOOKACTI_TABLE_META,
array( 'meta_value' => $global_availability_period_start ? $global_availability_period_start : 0 ),
array( 'meta_key' => 'availability_period_start', 'meta_value' => -1 ),
array( '%d' ),
array( '%s', '%d' )
);
// Update the "Events will be bookable in" setting (Templates, Calendar form fields)
$availability_period_end_updated = $wpdb->update(
BOOKACTI_TABLE_META,
$availability_period_end_updated = $wpdb->update(
BOOKACTI_TABLE_META,
array( 'meta_value' => $global_availability_period_end ? $global_availability_period_end : 0 ),
array( 'meta_key' => 'availability_period_end', 'meta_value' => -1 ),
array( '%d' ),
@ -487,25 +487,25 @@ function bookacti_delete_removed_template_settings_in_1_7_17( $old_version ) {
// Do it only once, when Booking Activities is updated for the first time after 1.7.17
if( version_compare( $old_version, '1.7.17', '<' ) ) {
global $wpdb;
// Delete templates availability_period_start
$availability_period_start_deleted = $wpdb->delete(
BOOKACTI_TABLE_META,
array(
$availability_period_start_deleted = $wpdb->delete(
BOOKACTI_TABLE_META,
array(
'object_type' => 'template',
'meta_key' => 'availability_period_start'
),
array( '%s', '%s' )
),
array( '%s', '%s' )
);
// Delete templates availability_period_end
$availability_period_end_deleted = $wpdb->delete(
BOOKACTI_TABLE_META,
array(
$availability_period_end_deleted = $wpdb->delete(
BOOKACTI_TABLE_META,
array(
'object_type' => 'template',
'meta_key' => 'availability_period_end'
),
array( '%s', '%s' )
),
array( '%s', '%s' )
);
}
}
@ -528,9 +528,9 @@ function bookacti_create_menu() {
add_submenu_page( 'booking-activities', __( 'Calendar editor', 'booking-activities' ), __( 'Calendar editor', 'booking-activities' ), 'bookacti_manage_templates', 'bookacti_calendars', 'bookacti_templates_page' );
add_submenu_page( 'booking-activities', __( 'Booking forms', 'booking-activities' ), __( 'Booking forms', 'booking-activities' ), 'bookacti_manage_forms', 'bookacti_forms', 'bookacti_forms_page' );
add_submenu_page( 'booking-activities', __( 'Bookings', 'booking-activities' ), __( 'Bookings', 'booking-activities' ), 'bookacti_manage_bookings', 'bookacti_bookings', 'bookacti_bookings_page' );
do_action( 'bookacti_admin_menu' );
add_submenu_page( 'booking-activities', __( 'Settings', 'booking-activities' ), __( 'Settings', 'booking-activities' ), 'bookacti_manage_booking_activities_settings', 'bookacti_settings', 'bookacti_settings_page' );
}
add_action( 'admin_menu', 'bookacti_create_menu' );
@ -555,18 +555,18 @@ function bookacti_templates_page() {
* @since 1.5.0
*/
function bookacti_forms_page() {
$can_create_form = current_user_can( 'bookacti_create_forms' );
$can_edit_form = current_user_can( 'bookacti_edit_forms' );
$load_form_editor = false;
if( ! empty( $_GET[ 'action' ] ) ) {
if( ( $_GET[ 'action' ] === 'new' && $can_create_form )
|| ( $_GET[ 'action' ] === 'edit' && ! empty( $_GET[ 'form_id' ] ) && is_numeric( $_GET[ 'form_id' ] ) && $can_edit_form ) ) {
$load_form_editor = true;
}
}
if( $load_form_editor ) {
include_once( 'view/view-form-editor.php' );
} else {

2
silicon/common.php

@ -18,7 +18,7 @@
* @package Booking Activities: Silicon
* @author Sam Black
*
* Copyright 2018-2019 Sam Black
* Copyright 2018-2020 Sam Black
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) { exit; }

2
silicon/controllers.php

@ -18,7 +18,7 @@
* @package Booking Activities: Silicon
* @author Sam Black
*
* Copyright 2018-2019 Sam Black
* Copyright 2018-2020 Sam Black
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) { exit; }

2
silicon/functions.php

@ -18,7 +18,7 @@
* @package Booking Activities: Silicon
* @author Sam Black
*
* Copyright 2018-2019 Sam Black
* Copyright 2018-2020 Sam Black
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) { exit; }

2
silicon/model.php

@ -18,7 +18,7 @@
* @package Booking Activities: Silicon
* @author Sam Black
*
* Copyright 2018-2019 Sam Black
* Copyright 2018-2020 Sam Black
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) { exit; }

2
silicon/silicon.php

@ -18,7 +18,7 @@
* @package Booking Activities: Silicon
* @author Sam Black
*
* Copyright 2018-2019 Sam Black
* Copyright 2018-2020 Sam Black
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) { exit; }

2
silicon/view/silicon-ical-link.php

@ -18,7 +18,7 @@
* @package Booking Activities: Silicon
* @author Sam Black
*
* Copyright 2018-2019 Sam Black
* Copyright 2018-2020 Sam Black
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) { exit; }

Loading…
Cancel
Save