Plugin Directory

Changeset 3064672


Ignore:
Timestamp:
04/04/2024 12:22:30 PM (23 months ago)
Author:
10to8
Message:

bug fixes

Location:
10to8-online-booking/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 10to8-online-booking/trunk/10to8-online-appointment-booking.php

    r2974317 r3064672  
    44Plugin URI: http://10to8.com?utm_source=wp_plugin&utm_medium=existing_platforms
    55Description: Embed a FREE <a href="https://10to8.com?utm_source=wp_plugin&utm_medium=existing_platforms">Sign In Scheduling Online Booking Widget</a> into your website. Sign up for an account at 10to8.com and then visit 'Online Booking > Buttons & Widget' to access the code to set up the widget.
    6 Version: 1.0.9
     6Version: 1.1.0
    77Author: 10to8
    88Author URI: http://10to8.com?utm_source=wp_plugin&utm_medium=existing_platforms
     
    2323
    2424function embed_10to8( $atts ) {
    25     extract( shortcode_atts( array(
    26         'organisation_id' => '',
    27     ), $atts ) );
     25    // Define default attribute values
     26  $default_atts = array('organisation_id' => '');
    2827
     28  // Merge user-provided attributes with default attributes
     29  $atts = shortcode_atts($default_atts, $atts);
     30
     31  // Sanitize each attribute
     32  $sanitized_atts = array_map("esc_attr", $atts);
     33
     34  // import variables into the local symbol table from an array
     35  // we now can access $organisation_id
     36  extract($sanitized_atts);
     37 
    2938  wp_enqueue_script( '10to8-js' );
    3039  wp_localize_script('10to8-js-init',
  • 10to8-online-booking/trunk/readme.txt

    r2974317 r3064672  
    4949== Changelog ==
    5050
     51= 1.1.0 =
     52* Bug fixes
     53
    5154= 1.0.9 =
    5255* Rebranding from 10to8 to Sign In Scheduling & Updated for latest version of wordpress i.e. version 6.3.1
Note: See TracChangeset for help on using the changeset viewer.