Plugin Directory

Changeset 2339353


Ignore:
Timestamp:
07/12/2020 05:40:46 PM (6 years ago)
Author:
trof
Message:

1.0.1 bootstrap compatibility fixed

Location:
exchange-paypal-to-satoshi/trunk
Files:
2 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • exchange-paypal-to-satoshi/trunk/exchange-paypal-to-satoshi.php

    r2339271 r2339353  
    44 * Description: Exchange USD to Satoshi instantly at your rate, keep the profit.
    55 * Author: Alexey Trofimov
    6  * Version: 1.0.0
     6 * Version: 1.0.1
    77 * License: GPLv2
    88 * Text Domain: exchange-paypal-to-satoshi
     
    3232        add_action( 'parse_request', array($this,'serve_exchange') );       
    3333        add_filter( "plugin_action_links_" . plugin_basename(  __FILE__ ), array( $this,'add_settings_link') );
    34         add_action( 'wp_enqueue_scripts', array( $this, 'register_plugin_styles' ),99999 );//trying to connect last because of ugly themes
    35         add_action( 'admin_enqueue_scripts', array( $this, 'register_plugin_styles' ),99999 );
     34//      add_action( 'wp_enqueue_scripts', array( $this, 'register_plugin_styles' ),99999 );//trying to connect last because of ugly themes
     35//      add_action( 'admin_enqueue_scripts', array( $this, 'register_plugin_styles' ),99999 );
    3636        add_shortcode('PayPal_Satoshi_Exchange', array( $this, 'exchange_shortcode') );
    3737    }
     
    379379        $current_url = get_permalink( $obj_id );       
    380380
     381        $this->register_plugin_styles();
    381382       
    382383        $url_sep .= strpos($current_url,'?') === FALSE ? '?' : '&';
     
    591592            jQuery(document).ready(function() {PPSE1990F_show_system_status();});
    592593        </script>');
     594        $this->register_plugin_styles();
    593595        $this->render_payment_gateway_settings();
    594596        $this->admin_api_key_js();
     
    11941196
    11951197    public function enqueue_scripts_and_styles(){
    1196         wp_enqueue_style('integrated-donations-css', plugin_dir_url(__FILE__) . 'assets/paypal-satoshi-exchange.css');
    1197         wp_enqueue_script('integrated-donations-js', plugin_dir_url(__FILE__) . 'assets/paypal-satoshi-exchange.js',array('jquery'));
     1198        wp_enqueue_style('exchange-paypal-to-satoshi', plugin_dir_url(__FILE__) . 'assets/exchange-paypal-to-satoshi.css');
     1199        wp_enqueue_script('exchange-paypal-to-satoshi', plugin_dir_url(__FILE__) . 'assets/exchange-paypal-to-satoshi.js',array('jquery'));
    11981200    }//enqueue_scripts_and_styles()
    11991201
  • exchange-paypal-to-satoshi/trunk/readme.txt

    r2339271 r2339353  
    55Requires at least: 2.0
    66Tested up to: 5.4
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    102102== Changelog ==
    103103
     104= V1.0.1 - 12.07.2020 =
     105Bootstrap compatibility fixed.<br>
     106
    104107= V1.0.0 - 12.07.2020 =
    105 Initial public release<br>
     108Initial public release.<br>
    106109
    107110
Note: See TracChangeset for help on using the changeset viewer.