Plugin Directory

Changeset 1717843

Timestamp:
08/23/2017 02:29:42 AM (7 years ago)
Author:
nateallen
Message:

Version 1.1.2 - Delete donation/donor meta when donation/donor is deleted

Location:
peerraiser/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • peerraiser/trunk/README.txt

    r1716138 r1717843  
    44Requires at least: 4.4.0
    55Tested up to: 4.8.1
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5353== Changelog ==
    5454
     55
     56
     57
     58
    5559= 1.1.1 =
    5660* Add default widgets to sidebars when plugin is installed
  • peerraiser/trunk/application/model/class-donation.php

    r1714450 r1717843  
    553553     */
    554554    public function delete() {
     555
     556
    555557        do_action( 'peerraiser_donation_delete', $this );
    556558
     
    563565        $this->decrease_team_amounts();
    564566        $this->decrease_participant_amounts();
     567
     568
     569
    565570
    566571        do_action( 'peerraiser_donation_deleted', $this );
  • peerraiser/trunk/application/model/class-donor.php

    r1713869 r1717843  
    324324     */
    325325    public function delete() {
     326
     327
    326328        do_action( 'peerraiser_donor_delete', $this );
    327329
    328330        $this->db->delete( $this->ID );
     331
     332
     333
    329334
    330335        do_action( 'peerraiser_donor_delete', $this );
  • peerraiser/trunk/peerraiser.php

    r1716138 r1717843  
    44 * Plugin URI:  https://PeerRaiser.com
    55 * Description: PeerRaiser makes it easy to create powerful peer-to-peer fundraising campaigns on your own WordPress site.
    6  * Version:     1.1.1
     6 * Version:     1.1.
    77 * Author:      Nate Allen
    88 * Author URI:  https://peerraiser.com/
Note: See TracChangeset for help on using the changeset viewer.