|
12 | 12 | * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
13 | 13 | * Text Domain: dfp-ads
|
14 | 14 | * Github Plugin URI: https://github.com/ThatGerber/dfp-ads
|
15 |
| - * GitHub Branch: master |
16 |
| - * Version: 0.2.0 |
| 15 | + * GitHub Branch: stable |
| 16 | + * Version: 0.2.1 |
17 | 17 | *
|
18 | 18 | * The Plugin File
|
19 | 19 | *
|
20 | 20 | * @link http://www.chriswgerber.com/dfp-ads
|
21 | 21 | * @since 0.0.1
|
22 | 22 | * @subpackage DFP-Ads
|
23 | 23 | */
|
24 |
| -define( 'EPG_AD_PLUGIN_VER', '0.2.0' ); |
| 24 | +define( 'EPG_AD_PLUGIN_VER', '0.2.1' ); |
25 | 25 |
|
26 | 26 | /* Autoload */
|
27 | 27 | require_once 'vendor/autoload.php';
|
28 | 28 |
|
29 | 29 | /* Library */
|
30 |
| -include( 'includes/helper_functions.php' ); |
31 |
| -include( 'includes/abstract.dfp_ads_form.php' ); |
32 |
| -include( 'includes/class.dfp_ads.php' ); |
33 |
| -include( 'includes/class.dfp_ads_post_type.php' ); |
34 |
| -include( 'includes/class.dfp_ads_input.php' ); |
35 |
| -include( 'includes/class.dfp_ad_position.php' ); |
36 |
| -include( 'includes/class.dfp_ads_settings_form.php' ); |
37 |
| -include( 'includes/class.dfp_ads_import_form.php' ); |
38 |
| -include( 'includes/class.dfp_ads_admin.php' ); |
39 |
| -include( 'widget/widget.ad_position.php' ); |
| 30 | +include 'includes/helper_functions.php'; |
| 31 | +include 'includes/abstract.dfp_ads_form.php'; |
| 32 | +include 'includes/class.dfp_ads.php'; |
| 33 | +include 'includes/class.dfp_ads_post_type.php'; |
| 34 | +include 'includes/class.dfp_ads_input.php'; |
| 35 | +include 'includes/class.dfp_ad_position.php'; |
| 36 | +include 'includes/class.dfp_ads_settings_form.php'; |
| 37 | +include 'includes/class.dfp_ads_import_form.php'; |
| 38 | +include 'includes/class.dfp_ads_admin.php'; |
| 39 | +include 'widget/widget.ad_position.php'; |
40 | 40 |
|
41 | 41 | /*
|
42 | 42 | * Initialization for Post Type
|
|
62 | 62 | /* Begin creating the new ads objects */
|
63 | 63 | $dfp_ads = new DFP_Ads();
|
64 | 64 | $dfp_ads->dir_uri = plugins_url( null, __FILE__ );
|
65 |
| -$dfp_ads->set_account_id( dfp_get_settings_value( 'dfp_property_code' ) ); // = '/35190362/'; |
| 65 | +$dfp_ads->set_account_id( dfp_get_settings_value( 'dfp_property_code' ) ); |
66 | 66 |
|
67 | 67 | /*
|
68 | 68 | * Enqueues the styles and scripts into WordPress. When this action runs
|
69 | 69 | * it also will grab all of the positions and other filtered in information
|
70 | 70 | */
|
71 |
| -add_action( 'wp_enqueue_scripts', array($dfp_ads, 'scripts_and_styles') ); |
| 71 | +add_action( 'wp_enqueue_scripts', array( $dfp_ads, 'scripts_and_styles' ) ); |
72 | 72 |
|
73 | 73 | /* Sets Menu Position. Default 20 */
|
74 | 74 | add_filter( 'dfp_ads_menu_position', ( function( $pos ) { return 79; }), 10 );
|
|
0 commit comments