Plugin Directory

Changeset 3263745


Ignore:
Timestamp:
03/29/2025 08:35:03 AM (12 months ago)
Author:
arshidkv12
Message:

cfdb7 v1.3.0

Location:
contact-form-cfdb7/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contact-form-cfdb7/trunk/contact-form-cfdb-7.php

    r3198095 r3263745  
    88Text Domain: contact-form-cfdb7
    99Domain Path: /languages/
    10 Version: 1.2.10
     10Version: 1.3.0
    1111*/
    1212
     
    4949    global $wpdb;
    5050    if ( is_multisite() && $network_wide ) {
    51         // Get all blogs in the network and activate plugin on each one
    5251        $blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
    5352        foreach ( $blog_ids as $blog_id ) {
     
    6059    }
    6160
    62     // Add custom capability
    6361    $role = get_role( 'administrator' );
    6462    $role->add_cap( 'cfdb7_access' );
     
    8987function cfdb7_on_deactivate() {
    9088
    91     // Remove custom capability from all roles
    9289    global $wp_roles;
    9390
     
    175172        }
    176173
    177         /* cfdb7 before save data. */
    178174        $form_data = apply_filters('cfdb7_before_save_data', $form_data);
    179175
     
    190186        ) );
    191187
    192         /* cfdb7 after save data */
    193188        $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 );
    195190    }
    196191
  • contact-form-cfdb7/trunk/readme.txt

    r3198604 r3263745  
    55Requires at least: 4.8
    66Tested up to: 6.7
    7 Stable tag: 1.2.10
     7Stable tag: 1.3.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7979== Changelog ==
    8080
     81= 1.3.0 =
     82Hooks are modified
     83
    8184= 1.2.10 =
    8285Fixed csv header issues
Note: See TracChangeset for help on using the changeset viewer.