Changeset 3263745
- Timestamp:
- 03/29/2025 08:35:03 AM (12 months ago)
- Location:
- contact-form-cfdb7/trunk
- Files:
-
- 2 edited
-
contact-form-cfdb-7.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contact-form-cfdb7/trunk/contact-form-cfdb-7.php
r3198095 r3263745 8 8 Text Domain: contact-form-cfdb7 9 9 Domain Path: /languages/ 10 Version: 1. 2.1010 Version: 1.3.0 11 11 */ 12 12 … … 49 49 global $wpdb; 50 50 if ( is_multisite() && $network_wide ) { 51 // Get all blogs in the network and activate plugin on each one52 51 $blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" ); 53 52 foreach ( $blog_ids as $blog_id ) { … … 60 59 } 61 60 62 // Add custom capability63 61 $role = get_role( 'administrator' ); 64 62 $role->add_cap( 'cfdb7_access' ); … … 89 87 function cfdb7_on_deactivate() { 90 88 91 // Remove custom capability from all roles92 89 global $wp_roles; 93 90 … … 175 172 } 176 173 177 /* cfdb7 before save data. */178 174 $form_data = apply_filters('cfdb7_before_save_data', $form_data); 179 175 … … 190 186 ) ); 191 187 192 /* cfdb7 after save data */193 188 $insert_id = $cfdb->insert_id; 194 do_action( 'cfdb7_after_save_data', $insert_id );189 do_action( 'cfdb7_after_save_data', $insert_id, $form_data ); 195 190 } 196 191 -
contact-form-cfdb7/trunk/readme.txt
r3198604 r3263745 5 5 Requires at least: 4.8 6 6 Tested up to: 6.7 7 Stable tag: 1. 2.107 Stable tag: 1.3.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 79 79 == Changelog == 80 80 81 = 1.3.0 = 82 Hooks are modified 83 81 84 = 1.2.10 = 82 85 Fixed csv header issues
Note: See TracChangeset
for help on using the changeset viewer.