Changeset 3346590
- Timestamp:
- 08/18/2025 05:31:00 PM (7 months ago)
- Location:
- church-admin/trunk
- Files:
-
- 3 edited
-
church-admin.php (modified) (5 diffs)
-
includes/directory.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
church-admin/trunk/church-admin.php
r3285410 r3346590 5 5 Plugin URI: http://www.churchadminplugin.com/ 6 6 Description: Manage church life with address book, schedule, classes, small groups, and advanced communication tools - bulk email and sms. 7 Version: 5.0.2 67 Version: 5.0.27 8 8 Tags: sermons, sermons, prayer, membership, SMS, Bible, events, calendar, email, small groups, contact form, giving, administration, management, child protection, safeguarding 9 9 Author: Andy Moyle … … 51 51 52 52 */ 53 if(!defined('CHURCH_ADMIN_VERSION')){define('CHURCH_ADMIN_VERSION','5.0.2 6');}53 if(!defined('CHURCH_ADMIN_VERSION')){define('CHURCH_ADMIN_VERSION','5.0.27');} 54 54 55 55 define('CA_PAYPAL',"https://www.paypal.com/cgi-bin/webscr"); … … 1604 1604 church_admin_form_script(); 1605 1605 church_admin_map_script(); 1606 1606 wp_enqueue_script('ca-draganddrop'); 1607 1607 church_admin_media_uploader_enqueue(); 1608 1608 church_admin_date_picker_script(); … … 3770 3770 function church_admin_image_upload() 3771 3771 { 3772 check_ajax_referer('image-upload'); 3772 3773 //church_admin_debug("********************\r\nAJAX Image upload"); 3773 3774 // These files need to be included as dependencies when on the front end. … … 4819 4820 break; 4820 4821 case 'image_upload': 4821 check_ajax_referer('church_admin_image_upload','nonce',TRUE);4822 check_ajax_referer('church_admin_image_upload','nonce',TRUE); 4822 4823 // These files need to be included as dependencies when on the front end. 4823 4824 require_once( ABSPATH . 'wp-admin/includes/image.php' ); -
church-admin/trunk/includes/directory.php
r3270571 r3346590 876 876 }else 877 877 { 878 $nonce = wp_create_nonce('image-upload'); 878 879 $out.='<script> 879 880 jQuery(document).ready(function( $) { … … 887 888 jQuery.each(jQuery("#file-chooser")[0].files, function(i, file) { 888 889 data.append("file-"+i, file); 890 data.append("nonce","'.esc_attr($nonce).'"); 889 891 }); 890 892 $.ajax({ -
church-admin/trunk/readme.txt
r3285410 r3346590 6 6 Requires PHP: 7.0 7 7 Tested up to: 6.7 8 Stable tag: 5.0.2 68 Stable tag: 5.0.27 9 9 Elementor tested up to: 3.25.0 10 10 License: GNU General Public License (GPL) version 2 … … 61 61 62 62 == Changelog == 63 = 5.0.27 = 64 * Fixed image upload in directory section 63 65 = 5.0.26 = 64 66 * Ability to add service in Media upload section
Note: See TracChangeset
for help on using the changeset viewer.