Plugin Directory

Changeset 3469699


Ignore:
Timestamp:
02/25/2026 07:53:41 PM (5 weeks ago)
Author:
sjcope
Message:

Update SDK

Location:
cwsi-invites/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cwsi-invites/trunk/README.txt

    r3286964 r3469699  
    22Contributors: charcope, sjcope
    33Tags: invitations, rsvps
    4 Stable tag: 1.4.1
     4Stable tag: 1.5.1
    55License: GPLv2
    66License URI: https://www.gnu.org/licenses/gpl-2.0.html
    7 Tested up to: 6.8
     7Tested up to: 6.9
    88
    99Set up a an invitation and RSVP system on your WordPress site.
     
    5050
    5151== Changelog ==
     52= 1.5.1 =
     53* Test with latest WordPress.
     54
     55= 1.5 =
     56* Update the SDK
     57
    5258= 1.4.1 =
    5359* Add back some premium functions
     
    8490
    8591== Upgrade Notice ==
     92= 1.5.1 =
     93* Test with latest WordPress
     94
     95= 1.5 =
     96* Update the SDK. Update when convenient.
     97
    8698= 1.4.1 =
    8799* Add back some premium functions. Update as soon as possible.
  • cwsi-invites/trunk/admin/class-cwsi-invites-admin.php

    r3286964 r3469699  
    180180            array($this, 'cwsiinvitesviewresponses_page')
    181181        );
     182        // END PREMIUM ONLY
    182183    }
    183184
     
    367368                    );
    368369                }
     370                // END PREMIUM ONLY
    369371                // Display form
    370                 cwslShowFilterEvents( $menu_slug, $results_events, $search_event_id );
     372                cwsiShowFilterEvents( $menu_slug, $results_events, $search_event_id );
    371373                cwsiShowAddInvitesPage(
    372374                    $menu_slug,
     
    469471                    // Display functions
    470472                    require_once plugin_dir_path( __FILE__ ) . 'partials/cwsi-invites-admin-display.php';
    471                     cwslShowFilterEvents( $menu_slug, $results_events, $search_event_id );
     473                    cwsiShowFilterEvents( $menu_slug, $results_events, $search_event_id );
    472474                    cwsiAdminInviteShowInviteSettings(
    473475                        $menu_slug,
     
    477479                        $search_event_id
    478480                    );
    479                     cwsiAdminShowSendTestInviteEmail(
    480                         $menu_slug,
    481                         $results,
    482                         "invite",
    483                         $search_event_id
    484                     );
     481                    cwsiAdminShowSendTestInviteEmail( $menu_slug, $results, "invite" );
    485482                } else {
    486483                    echo wp_kses( wp_unslash( nl2br( $message ) ), cwsi_invites_allowed_html() );
     
    542539                    // Display functions
    543540                    require_once plugin_dir_path( __FILE__ ) . 'partials/cwsi-invites-admin-display.php';
    544                     cwslShowFilterEvents( $menu_slug, $results_events, $search_event_id );
     541                    cwsiShowFilterEvents( $menu_slug, $results_events, $search_event_id );
    545542                    cwsiAdminInviteShowConfirmationSettings(
    546543                        $menu_slug,
     
    602599                $results_recips = cwsiGetInvitesNotEmailed( $search_event_id );
    603600                // Display form
    604                 cwslShowFilterEvents( $menu_slug, $results_events, $search_event_id );
     601                cwsiShowFilterEvents( $menu_slug, $results_events, $search_event_id );
    605602                cwsiShowInvitesSendEmails(
    606603                    $menu_slug,
     
    652649                $results_null = cwsiGetNullInvitesResponses( $search_event_id );
    653650                // Display form
    654                 cwslShowFilterEvents( $menu_slug, $results_events, $search_event_id );
     651                cwsiShowFilterEvents( $menu_slug, $results_events, $search_event_id );
    655652                cwsiShowInvitesViewResponses(
    656653                    $menu_slug,
  • cwsi-invites/trunk/admin/partials/cwsi-invites-admin-display.php

    r3235662 r3469699  
    373373
    374374// Display search and filter form for events
    375 function cwslShowFilterEvents(  $menu_slug, $results, $search_event_id  ) {
     375function cwsiShowFilterEvents(  $menu_slug, $results, $search_event_id  ) {
    376376    echo '
    377377    <div class="cwsi_admin cwsi_noprint">
     
    822822        'text_area_name' => 'email_body',
    823823        'textarea_rows'  => get_option( 'default_post_edit_rows', 10 ),
    824         'quicktags'      => true,
    825824        'tinymce'        => true,
    826825    );
     
    950949        'text_area_name' => 'email_body',
    951950        'textarea_rows'  => get_option( 'default_post_edit_rows', 10 ),
    952         'quicktags'      => true,
    953951        'tinymce'        => true,
    954952    );
     
    11561154        ),
    11571155        'text_area_name' => 'email_body',
    1158         'quicktags'      => true,
    11591156        'tinymce'        => true,
    11601157    );
     
    12361233    if ( $message_type == "confirmation" ) {
    12371234        echo '<p><strong>Email Body If No</strong></p>';
    1238         echo wp_kses( wp_unslash( nl2br( $settings->email_body_2 ) ), cwsi_invites_allowed_html() );
     1235        if (isset($settings->email_body_2)) {
     1236            echo wp_kses( wp_unslash( nl2br( $settings->email_body_2 ) ), cwsi_invites_allowed_html() );
     1237        }
    12391238    }
    12401239    echo '<p><strong>To Email Address:</strong> <input type="email" name="email_to" maxlength="150" autocomplete="off" required value="" style="width:60%"; /></p>
     
    13891388        ),
    13901389        'text_area_name' => 'email_body',
    1391         'quicktags'      => true,
    13921390        'tinymce'        => true,
    13931391    );
     
    14111409        ),
    14121410        'text_area_name' => 'email_body_2',
    1413         'quicktags'      => true,
    14141411        'tinymce'        => true,
    14151412    );
  • cwsi-invites/trunk/cwsi-invites.php

    r3286964 r3469699  
    1818 * Requires at least: 6.3
    1919 * Requires PHP:      8.0
    20  * Version:           1.4.1
     20 * Version:           1.5.1
    2121 * Author:            Charlene's Web Services
    2222 * Author URI:        https://charlenesweb.ca
     
    4343            if ( !isset( $ci_fs ) ) {
    4444                // Include Freemius SDK.
    45                 require_once dirname( __FILE__ ) . '/freemius/start.php';
     45                require_once dirname( __FILE__ ) . '/vendor/freemius/start.php';
    4646                $ci_fs = fs_dynamic_init( array(
    4747                    'id'             => '17787',
     
    6969     * First release 1.0.0 and then using SemVer - https://semver.org X.Y.Z (Major.Minor.Patch)
    7070     */
    71     define( 'CWSI_INVITES_VERSION', '1.4.1' );
     71    define( 'CWSI_INVITES_VERSION', '1.5' );
    7272    define( 'CWSI_INVITES_SRC_DIR', dirname( __FILE__ ) );
    7373    /**
     
    9292    // And here goes the uninstallation function:
    9393    function cwsi_invites_uninstall() {
    94         // do not delete the tables
     94        global $wpdb;
     95        global $wpdb;
     96        $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . "cwsi_events" );
     97        // phpcs:ignore WordPress.DB.DirectDatabaseQuery
     98        $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . "cwsi_events_invitees" );
     99        // phpcs:ignore WordPress.DB.DirectDatabaseQuery
     100        $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . "cwsi_invites" );
     101        // phpcs:ignore WordPress.DB.DirectDatabaseQuery
     102        $wpdb->query( "DROP TABLE IF EXISTS " . $wpdb->prefix . "cwsi_invitesettings" );
     103        // phpcs:ignore WordPress.DB.DirectDatabaseQuery
    95104    }
    96105
  • cwsi-invites/trunk/includes/class-cwsi-invites.php

    r3286964 r3469699  
    7272            $this->version = CWSI_INVITES_VERSION;
    7373        } else {
    74             $this->version = '1.4.1';
     74            $this->version = '1.5.1';
    7575        }
    7676        $this->plugin_name = 'cwsi-invites';
Note: See TracChangeset for help on using the changeset viewer.