Plugin Directory

Changeset 2417829


Ignore:
Timestamp:
11/13/2020 09:46:41 AM (5 years ago)
Author:
mbj-webdevelopment
Message:

Update version 2.0.4

Location:
donation-button
Files:
381 added
15 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • donation-button/trunk/README.txt

    r2395185 r2417829  
    33Tags: button shortcode, campaign monitor, charity, church, churches, crowdfunding, donate, donation, donation plugin, donations, fundraiser, fundraising, gifts, giving, non-profit, nonprofit, paypal, PayPal Donate, PayPal donations, recurring, recurring donations, wordpress donation plugin, wordpress donations, worship, wp donation, constant contact, donation goal, donation history, donation widget, getresponse, icontact, infusionsoft, mailchimp, multi currency, paypal automation, twilio sms
    44Requires at least: 3.0.1
    5 Tested up to: 5.5.1
    6 stable tag: 2.0.3
     5Tested up to: 5.5.3
     6stable tag: 2.0.4
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • donation-button/trunk/donation-button.php

    r2395185 r2417829  
    66 * Plugin URI:        https://www.premiumdev.com/
    77 * Description:       Easy to used PayPal Donation button with Auto Responder.
    8  * Version:           2.0.3
     8 * Version:           2.0.4
    99 * Author:            mbj-webdevelopment
    1010 * Author URI:        https://www.premiumdev.com/
  • donation-button/trunk/includes/class-donation-button.php

    r2395185 r2417829  
    4747    public function __construct() {
    4848        $this->plugin_name = 'donation-button';
    49         $this->version = '2.0.3';
     49        $this->version = '2.0.4';
    5050        $this->load_dependencies();
    5151        $this->set_locale();
  • donation-button/trunk/public/class-donation-button-public.php

    r1473588 r2417829  
    7676
    7777    public function donation_button_button_generator($atts) {
     78        if (!empty($_GET['post'])) {
     79            return false;
     80        }
    7881        $donation_dropdown_string = '';
    7982        $donation_payment_table_border_td = '';
     
    187190        $output .= '</form></div>';
    188191
    189         return $output;       
     192        return $output;
    190193    }
    191194
     
    336339
    337340    public static function donation_button_paypal_donation_list($atts) {
     341        if(isset($_GET['post'])) {
     342            return false;
     343        }
    338344        extract(shortcode_atts(array(
    339345            'txn_type' => 'any',
     
    347353                        ), $atts));
    348354
    349        
     355
    350356        $args = array(
    351357            'post_type' => 'donation_list',
     
    415421            $mainhtml .= $tbody_start . $tbody . $tbody_end;
    416422            $mainhtml .= "</table>";
    417             return $mainhtml;           
     423            return $mainhtml;
    418424        } else {
    419             $mainhtml = "no records found";           
     425            $mainhtml = "no records found";
    420426        }
    421427    }
     
    423429    public static function donation_button_goal_for_wordpress($atts) {
    424430
     431        if(isset($_GET['post'])) {
     432            return false;
     433        }
     434       
    425435        if (isset($atts['id']) && !empty($atts['id'])) {
    426436
     
    486496
    487497                <tbody class="donation_button_table_tbody_backgroud_color">                   
    488                     <?php if ($display_donation_button_goal_detail) { ?>
     498            <?php if ($display_donation_button_goal_detail) { ?>
    489499                        <tr>
    490500                            <th><?php _e('Donation Goal Detail', 'donation-button'); ?></th>
     
    493503                            </td>
    494504                        </tr>                   
    495                     <?php } if ($display_donation_button_goal_target_amount) { ?>
     505            <?php } if ($display_donation_button_goal_target_amount) { ?>
    496506                        <tr>
    497507                            <th><?php _e('Donation Target Amount', 'donation-button'); ?></th>
     
    500510                            </td>
    501511                        </tr>                   
    502                     <?php } if ($display_donation_button_goal_start_date) { ?>
     512            <?php } if ($display_donation_button_goal_start_date) { ?>
    503513                        <tr>
    504514                            <th><?php _e('Start Date', 'donation-button'); ?></th>
     
    507517                            </td>
    508518                        </tr>
    509                     <?php } if ($display_donation_button_goal_end_date) { ?>
     519            <?php } if ($display_donation_button_goal_end_date) { ?>
    510520                        <tr>
    511521                            <th><?php _e('End Date', 'donation-button'); ?></th>
     
    514524                            </td>
    515525                        </tr>
    516                     <?php } ?>
     526            <?php } ?>
    517527                    <tr>
    518528                        <td colspan="2">
     
    529539                        </td>
    530540                    </tr>
    531                     <?php if ($display_paypal_donation_button) { ?>
     541            <?php if ($display_paypal_donation_button) { ?>
    532542                        <tr>                       
    533543                            <td>                           
     
    535545                            </td>
    536546                        </tr>
    537                     <?php } ?>
     547            <?php } ?>
    538548                </tbody>
    539549            </table>
Note: See TracChangeset for help on using the changeset viewer.