Plugin Directory

Changeset 3346590


Ignore:
Timestamp:
08/18/2025 05:31:00 PM (7 months ago)
Author:
andy_moyle
Message:

5.0.27

Location:
church-admin/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • church-admin/trunk/church-admin.php

    r3285410 r3346590  
    55Plugin URI: http://www.churchadminplugin.com/
    66Description: Manage church life with address book, schedule, classes, small groups, and advanced communication tools - bulk email and sms.
    7 Version: 5.0.26
     7Version: 5.0.27
    88Tags: sermons, sermons, prayer, membership, SMS, Bible, events, calendar, email, small groups, contact form, giving, administration, management, child protection, safeguarding
    99Author: Andy Moyle
     
    5151
    5252*/
    53 if(!defined('CHURCH_ADMIN_VERSION')){define('CHURCH_ADMIN_VERSION','5.0.26');}
     53if(!defined('CHURCH_ADMIN_VERSION')){define('CHURCH_ADMIN_VERSION','5.0.27');}
    5454
    5555define('CA_PAYPAL',"https://www.paypal.com/cgi-bin/webscr");
     
    16041604                church_admin_form_script();
    16051605                church_admin_map_script();
    1606                
     1606                wp_enqueue_script('ca-draganddrop');
    16071607                church_admin_media_uploader_enqueue();
    16081608                church_admin_date_picker_script();
     
    37703770function church_admin_image_upload()
    37713771{
     3772    check_ajax_referer('image-upload');
    37723773    //church_admin_debug("********************\r\nAJAX Image upload");
    37733774    // These files need to be included as dependencies when on the front end.
     
    48194820            break;
    48204821            case 'image_upload':
    4821             check_ajax_referer('church_admin_image_upload','nonce',TRUE);
     4822                check_ajax_referer('church_admin_image_upload','nonce',TRUE);
    48224823                // These files need to be included as dependencies when on the front end.
    48234824                require_once( ABSPATH . 'wp-admin/includes/image.php' );
  • church-admin/trunk/includes/directory.php

    r3270571 r3346590  
    876876    }else
    877877    {
     878        $nonce = wp_create_nonce('image-upload');
    878879   $out.='<script>
    879880    jQuery(document).ready(function( $) {
     
    887888    jQuery.each(jQuery("#file-chooser")[0].files, function(i, file) {
    888889    data.append("file-"+i, file);
     890    data.append("nonce","'.esc_attr($nonce).'");
    889891    });
    890892    $.ajax({
  • church-admin/trunk/readme.txt

    r3285410 r3346590  
    66Requires PHP: 7.0
    77Tested up to: 6.7
    8 Stable tag: 5.0.26
     8Stable tag: 5.0.27
    99Elementor tested up to: 3.25.0
    1010License: GNU General Public License (GPL) version 2
     
    6161
    6262== Changelog ==
     63= 5.0.27 =
     64* Fixed image upload in directory section
    6365= 5.0.26 =
    6466* Ability to add service in Media upload section
Note: See TracChangeset for help on using the changeset viewer.