Version Description
- prevented entering 0 in the position index field of the Content placement
- compatibility between Elementor plugin and Content placement
- made Ad Health available to all users that can edit ads
- hide dashboard widget for user roles that cant edit ads
- don't use wrapper when using the "Header Code" placement
- compatibility between Responsive add-on and "WP AMP Ninja" plugin
Download this release
Release Info
Developer | webzunft |
Plugin | Advanced Ads |
Version | 1.8.30 |
Comparing to | |
See all releases |
Code changes from version 1.8.29 to 1.8.30
- admin/includes/class-meta-box.php +1 -1
- admin/views/placements-content-index.php +3 -3
- advanced-ads.php +2 -2
- classes/ad.php +29 -22
- classes/ad_group.php +6 -2
- classes/ad_placements.php +1 -1
- classes/compatibility.php +24 -0
- classes/frontend_checks.php +97 -18
- classes/plugin.php +1 -0
- includes/functions.php +2 -1
- readme.txt +14 -3
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/ClassLoader.php +50 -18
- vendor/composer/LICENSE +1 -1
- vendor/composer/autoload_classmap.php +88 -0
- vendor/composer/autoload_real.php +20 -18
- vendor/composer/autoload_real_52.php +3 -3
- vendor/composer/autoload_static.php +19 -1
admin/includes/class-meta-box.php
CHANGED
@@ -340,7 +340,7 @@ class Advanced_Ads_Admin_Meta_Boxes {
|
|
340 |
*/
|
341 |
public function add_dashboard_widget(){
|
342 |
// display dashboard widget only to authors and higher roles
|
343 |
-
if( ! current_user_can('
|
344 |
return;
|
345 |
}
|
346 |
add_meta_box( 'advads_dashboard_widget', __( 'Ads Dashboard', 'advanced-ads' ), array($this, 'dashboard_widget_function'), 'dashboard', 'side', 'high' );
|
340 |
*/
|
341 |
public function add_dashboard_widget(){
|
342 |
// display dashboard widget only to authors and higher roles
|
343 |
+
if( ! current_user_can( Advanced_Ads_Plugin::user_cap( 'advanced_ads_see_interface') ) ) {
|
344 |
return;
|
345 |
}
|
346 |
add_meta_box( 'advads_dashboard_widget', __( 'Ads Dashboard', 'advanced-ads' ), array($this, 'dashboard_widget_function'), 'dashboard', 'side', 'high' );
|
admin/views/placements-content-index.php
CHANGED
@@ -6,8 +6,8 @@
|
|
6 |
</select>
|
7 |
|
8 |
<input type="number" name="advads[placements][<?php echo $_placement_slug; ?>][options][index]" value="<?php
|
9 |
-
|
10 |
-
|
11 |
|
12 |
<?php $tags = Advanced_Ads_Placements::tags_for_content_injection(); ?>
|
13 |
<select name="advads[placements][<?php echo $_placement_slug; ?>][options][tag]">
|
@@ -18,4 +18,4 @@
|
|
18 |
|
19 |
<p><label><input type="checkbox" name="advads[placements][<?php echo $_placement_slug; ?>][options][start_from_bottom]" value="1" <?php
|
20 |
if (isset($_placement['options']['start_from_bottom'])) { checked( $_placement['options']['start_from_bottom'], 1); }
|
21 |
-
?>/><?php _e( 'start counting from bottom', 'advanced-ads' ); ?></label></p>
|
6 |
</select>
|
7 |
|
8 |
<input type="number" name="advads[placements][<?php echo $_placement_slug; ?>][options][index]" value="<?php
|
9 |
+
echo ( isset( $_placement['options']['index'] ) ) ? max( 1, (int) $_placement['options']['index'] ) : 1;
|
10 |
+
?>" min="1"/>.
|
11 |
|
12 |
<?php $tags = Advanced_Ads_Placements::tags_for_content_injection(); ?>
|
13 |
<select name="advads[placements][<?php echo $_placement_slug; ?>][options][tag]">
|
18 |
|
19 |
<p><label><input type="checkbox" name="advads[placements][<?php echo $_placement_slug; ?>][options][start_from_bottom]" value="1" <?php
|
20 |
if (isset($_placement['options']['start_from_bottom'])) { checked( $_placement['options']['start_from_bottom'], 1); }
|
21 |
+
?>/><?php _e( 'start counting from bottom', 'advanced-ads' ); ?></label></p>
|
advanced-ads.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: https://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
-
* Version: 1.8.
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: https://wpadvancedads.com
|
18 |
* Text Domain: advanced-ads
|
@@ -39,7 +39,7 @@ define( 'ADVADS_BASE_DIR', dirname( ADVADS_BASE ) ); // directory of the plugin
|
|
39 |
// general and global slug, e.g. to store options in WP
|
40 |
define( 'ADVADS_SLUG', 'advanced-ads' );
|
41 |
define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
|
42 |
-
define( 'ADVADS_VERSION', '1.8.
|
43 |
|
44 |
/*----------------------------------------------------------------------------*
|
45 |
* Autoloading, modules and functions
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: https://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
+
* Version: 1.8.30
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: https://wpadvancedads.com
|
18 |
* Text Domain: advanced-ads
|
39 |
// general and global slug, e.g. to store options in WP
|
40 |
define( 'ADVADS_SLUG', 'advanced-ads' );
|
41 |
define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
|
42 |
+
define( 'ADVADS_VERSION', '1.8.30' );
|
43 |
|
44 |
/*----------------------------------------------------------------------------*
|
45 |
* Autoloading, modules and functions
|
classes/ad.php
CHANGED
@@ -183,21 +183,26 @@ class Advanced_Ads_Ad {
|
|
183 |
$this->description = $this->options( 'description' );
|
184 |
$this->output = $this->options( 'output' );
|
185 |
$this->status = $_data->post_status;
|
186 |
-
$this->maybe_create_label();
|
187 |
-
$this->wrapper = $this->load_wrapper_options();
|
188 |
$this->expiry_date = $this->options( 'expiry_date' );
|
|
|
189 |
|
190 |
// load content based on ad type
|
191 |
$this->content = $this->type_obj->load_content( $_data );
|
192 |
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
}
|
202 |
}
|
203 |
|
@@ -538,19 +543,22 @@ class Advanced_Ads_Ad {
|
|
538 |
return;
|
539 |
}
|
540 |
|
541 |
-
// filter to manipulate the output before the wrapper is added
|
542 |
-
$output = apply_filters( 'advanced-ads-output-inside-wrapper', $output, $this );
|
543 |
|
544 |
-
if ( $this->
|
545 |
-
|
546 |
-
|
547 |
|
548 |
-
|
549 |
-
|
|
|
|
|
|
|
|
|
550 |
|
551 |
-
|
552 |
-
|
553 |
-
|
|
|
554 |
}
|
555 |
|
556 |
// apply a custom filter by ad type
|
@@ -807,8 +815,7 @@ class Advanced_Ads_Ad {
|
|
807 |
public function maybe_create_label() {
|
808 |
$placement_state = isset( $this->args['ad_label'] ) ? $this->args['ad_label'] : 'default';
|
809 |
|
810 |
-
if (
|
811 |
-
$this->type !== 'group' &&
|
812 |
$label = Advanced_Ads::get_instance()->get_label( $placement_state )
|
813 |
) {
|
814 |
$this->label = $label;
|
183 |
$this->description = $this->options( 'description' );
|
184 |
$this->output = $this->options( 'output' );
|
185 |
$this->status = $_data->post_status;
|
|
|
|
|
186 |
$this->expiry_date = $this->options( 'expiry_date' );
|
187 |
+
$this->is_head_placement = isset( $this->args['placement_type'] ) && $this->args['placement_type'] === 'header';
|
188 |
|
189 |
// load content based on ad type
|
190 |
$this->content = $this->type_obj->load_content( $_data );
|
191 |
|
192 |
+
|
193 |
+
if ( ! $this->is_head_placement ) {
|
194 |
+
$this->maybe_create_label();
|
195 |
+
$this->wrapper = $this->load_wrapper_options();
|
196 |
+
|
197 |
+
// set wrapper conditions
|
198 |
+
$this->wrapper = apply_filters( 'advanced-ads-set-wrapper', $this->wrapper, $this );
|
199 |
+
// add unique wrapper id
|
200 |
+
if ( is_array( $this->wrapper )
|
201 |
+
&& $this->wrapper !== array()
|
202 |
+
&& ! isset( $this->wrapper['id'] ) ){
|
203 |
+
// create unique id if not yet given
|
204 |
+
$this->wrapper['id'] = $this->create_wrapper_id();
|
205 |
+
}
|
206 |
}
|
207 |
}
|
208 |
|
543 |
return;
|
544 |
}
|
545 |
|
|
|
|
|
546 |
|
547 |
+
if ( ! $this->is_head_placement ) {
|
548 |
+
// filter to manipulate the output before the wrapper is added
|
549 |
+
$output = apply_filters( 'advanced-ads-output-inside-wrapper', $output, $this );
|
550 |
|
551 |
+
if ( $this->label ) {
|
552 |
+
$output = $this->label . $output;
|
553 |
+
}
|
554 |
+
|
555 |
+
// build wrapper around the ad
|
556 |
+
$output = $this->add_wrapper( $output );
|
557 |
|
558 |
+
// add a clearfix, if set
|
559 |
+
if ( isset($this->output['clearfix']) && $this->output['clearfix'] ){
|
560 |
+
$output .= '<br style="clear: both; display: block; float: none;"/>';
|
561 |
+
}
|
562 |
}
|
563 |
|
564 |
// apply a custom filter by ad type
|
815 |
public function maybe_create_label() {
|
816 |
$placement_state = isset( $this->args['ad_label'] ) ? $this->args['ad_label'] : 'default';
|
817 |
|
818 |
+
if ( $this->type !== 'group' &&
|
|
|
819 |
$label = Advanced_Ads::get_instance()->get_label( $placement_state )
|
820 |
) {
|
821 |
$this->label = $label;
|
classes/ad_group.php
CHANGED
@@ -141,9 +141,13 @@ class Advanced_Ads_Group {
|
|
141 |
$this->description = $group->description;
|
142 |
$this->post_type = Advanced_Ads::POST_TYPE_SLUG;
|
143 |
$this->ad_args = $ad_args;
|
|
|
144 |
|
145 |
$this->load_additional_attributes();
|
146 |
-
|
|
|
|
|
|
|
147 |
}
|
148 |
|
149 |
/**
|
@@ -246,7 +250,7 @@ class Advanced_Ads_Group {
|
|
246 |
|
247 |
$output_string = implode( '', $output_array );
|
248 |
|
249 |
-
if ( $this->wrapper !== array() ) {
|
250 |
$output_string = '<div' . Advanced_Ads_Utils::build_html_attributes( $this->wrapper ) . '>'
|
251 |
. $this->label
|
252 |
. $output_string
|
141 |
$this->description = $group->description;
|
142 |
$this->post_type = Advanced_Ads::POST_TYPE_SLUG;
|
143 |
$this->ad_args = $ad_args;
|
144 |
+
$this->is_head_placement = isset( $this->ad_args['placement_type'] ) && $this->ad_args['placement_type'] === 'header';
|
145 |
|
146 |
$this->load_additional_attributes();
|
147 |
+
|
148 |
+
if ( ! $this->is_head_placement ) {
|
149 |
+
$this->create_wrapper();
|
150 |
+
}
|
151 |
}
|
152 |
|
153 |
/**
|
250 |
|
251 |
$output_string = implode( '', $output_array );
|
252 |
|
253 |
+
if ( ! $this->is_head_placement && $this->wrapper !== array() ) {
|
254 |
$output_string = '<div' . Advanced_Ads_Utils::build_html_attributes( $this->wrapper ) . '>'
|
255 |
. $this->label
|
256 |
. $output_string
|
classes/ad_placements.php
CHANGED
@@ -375,7 +375,7 @@ class Advanced_Ads_Placements {
|
|
375 |
$replacements = array(
|
376 |
'gcse:search' => 'gcse__search', // Google custom search namespaced tags.
|
377 |
);
|
378 |
-
$content_to_load = str_replace( array_keys( $replacements ), array_values( $replacements ), $
|
379 |
|
380 |
$dom = new DOMDocument('1.0', $wpCharset);
|
381 |
// may loose some fragments or add autop-like code
|
375 |
$replacements = array(
|
376 |
'gcse:search' => 'gcse__search', // Google custom search namespaced tags.
|
377 |
);
|
378 |
+
$content_to_load = str_replace( array_keys( $replacements ), array_values( $replacements ), $content_to_load );
|
379 |
|
380 |
$dom = new DOMDocument('1.0', $wpCharset);
|
381 |
// may loose some fragments or add autop-like code
|
classes/compatibility.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Advanced_Ads_Compatibility {
|
3 |
+
public function __construct() {
|
4 |
+
// Elementor plugin
|
5 |
+
if ( defined( 'ELEMENTOR_VERSION' ) ) {
|
6 |
+
add_filter( 'advanced-ads-placement-content-injection-xpath', array( $this, 'content_injection_elementor' ), 10, 1 );
|
7 |
+
}
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Modify xPath expression for Elementor plugin.
|
12 |
+
* The plugin does not wrap newly created text in 'p' tags.
|
13 |
+
*
|
14 |
+
* @param str $tag
|
15 |
+
* @return xPath expression
|
16 |
+
*/
|
17 |
+
public function content_injection_elementor( $tag ) {
|
18 |
+
if ( $tag === 'p' ) {
|
19 |
+
// 'p' or 'div.elementor-widget-text-editor' without nested 'p'
|
20 |
+
$tag = "*[self::p or self::div[@class and contains(concat(' ', normalize-space(@class), ' '), ' elementor-widget-text-editor ') and not(descendant::p)]]";
|
21 |
+
}
|
22 |
+
return $tag;
|
23 |
+
}
|
24 |
+
}
|
classes/frontend_checks.php
CHANGED
@@ -17,7 +17,7 @@ class Advanced_Ads_Frontend_Checks {
|
|
17 |
|
18 |
if ( ! is_admin()
|
19 |
&& is_admin_bar_showing()
|
20 |
-
&& current_user_can( Advanced_Ads_Plugin::user_cap( '
|
21 |
) {
|
22 |
add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 1000 );
|
23 |
add_filter( 'the_content', array( $this, 'set_did_the_content' ) );
|
@@ -241,6 +241,17 @@ class Advanced_Ads_Frontend_Checks {
|
|
241 |
'target' => '_blank'
|
242 |
)
|
243 |
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
|
245 |
// warn if an AdSense ad seems to be hidden
|
246 |
if( ! isset( $adsense_options['violation-warnings-disable'] ) ) {
|
@@ -378,6 +389,18 @@ class Advanced_Ads_Frontend_Checks {
|
|
378 |
header.className += ' advads-adminbar-is-warnings';
|
379 |
}
|
380 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
}
|
382 |
};
|
383 |
|
@@ -471,7 +494,6 @@ class Advanced_Ads_Frontend_Checks {
|
|
471 |
// show Auto Ads warning in Adhealth Bar if relevant
|
472 |
if( autoads_ads.length ){
|
473 |
var advads_autoads_link = document.querySelector( '#wp-admin-bar-advanced_ads_autoads_displayed.hidden' );
|
474 |
-
console.log( advads_autoads_link );
|
475 |
if ( advads_autoads_link ) {
|
476 |
advads_autoads_link.className = advads_autoads_link.className.replace( 'hidden', '' );
|
477 |
}
|
@@ -498,33 +520,33 @@ class Advanced_Ads_Frontend_Checks {
|
|
498 |
// Allow DFP debugging by showing a link that points to the current URL with the 'googfc' parameter.
|
499 |
if ( $ad->type === 'plain' && preg_match( '/gpt\.js/', $content ) ) {
|
500 |
ob_start(); ?>
|
501 |
-
|
502 |
var advads_dfp_link = document.querySelector( '.advanced_ads_ad_health_debug_dfp_link.hidden' );
|
503 |
if ( advads_dfp_link ) {
|
504 |
advads_dfp_link.className = advads_dfp_link.className.replace( 'hidden', '' );
|
505 |
advanced_ads_frontend_checks.showCount();
|
506 |
}
|
507 |
-
});</script
|
508 |
<?php
|
509 |
$content .= Advanced_Ads_Utils::get_inline_asset( ob_get_clean() );
|
510 |
}
|
511 |
|
512 |
-
|
513 |
if ( Advanced_Ads_Ad_Debug::is_https_and_http( $ad ) ) {
|
514 |
ob_start(); ?>
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
|
|
528 |
<?php
|
529 |
$content .= Advanced_Ads_Utils::get_inline_asset( ob_get_clean() );
|
530 |
}
|
@@ -532,4 +554,61 @@ class Advanced_Ads_Frontend_Checks {
|
|
532 |
return $content;
|
533 |
}
|
534 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
535 |
}
|
17 |
|
18 |
if ( ! is_admin()
|
19 |
&& is_admin_bar_showing()
|
20 |
+
&& current_user_can( Advanced_Ads_Plugin::user_cap( 'advanced_ads_edit_ads' ) )
|
21 |
) {
|
22 |
add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 1000 );
|
23 |
add_filter( 'the_content', array( $this, 'set_did_the_content' ) );
|
241 |
'target' => '_blank'
|
242 |
)
|
243 |
) );
|
244 |
+
|
245 |
+
$nodes[] = array( 'type' => 2, 'data' => array(
|
246 |
+
'parent' => 'advanced_ads_ad_health',
|
247 |
+
'id' => 'advanced_ads_ad_health_incorrect_head',
|
248 |
+
'title' => sprintf( __( 'Visible ads should not use the Header placement: %s', 'advanced-ads' ), '<i></i>' ),
|
249 |
+
'href' => 'https://wpadvancedads.com/manual/ad-health/#header-ads',
|
250 |
+
'meta' => array(
|
251 |
+
'class' => 'hidden advanced_ads_ad_health_warning advanced_ads_ad_health_incorrect_head',
|
252 |
+
'target' => '_blank'
|
253 |
+
)
|
254 |
+
) );
|
255 |
|
256 |
// warn if an AdSense ad seems to be hidden
|
257 |
if( ! isset( $adsense_options['violation-warnings-disable'] ) ) {
|
389 |
header.className += ' advads-adminbar-is-warnings';
|
390 |
}
|
391 |
}
|
392 |
+
},
|
393 |
+
add_item_to_node: function( selector, item ) {
|
394 |
+
var selector = document.querySelector( selector );
|
395 |
+
if ( selector ) {
|
396 |
+
selector.className = selector.className.replace( 'hidden', '' );
|
397 |
+
selector.innerHTML = selector.innerHTML.replace( /(<i>)(.*?)(<\/i>)/, function( match, p1, p2, p3 ) {
|
398 |
+
p2 = ( p2 ) ? p2.split( ', ' ) : [];
|
399 |
+
if ( p2.indexOf( item ) === -1 ) p2.push( item );
|
400 |
+
return p1 + p2.join( ', ' ) + p3;
|
401 |
+
} );
|
402 |
+
advanced_ads_frontend_checks.showCount();
|
403 |
+
}
|
404 |
}
|
405 |
};
|
406 |
|
494 |
// show Auto Ads warning in Adhealth Bar if relevant
|
495 |
if( autoads_ads.length ){
|
496 |
var advads_autoads_link = document.querySelector( '#wp-admin-bar-advanced_ads_autoads_displayed.hidden' );
|
|
|
497 |
if ( advads_autoads_link ) {
|
498 |
advads_autoads_link.className = advads_autoads_link.className.replace( 'hidden', '' );
|
499 |
}
|
520 |
// Allow DFP debugging by showing a link that points to the current URL with the 'googfc' parameter.
|
521 |
if ( $ad->type === 'plain' && preg_match( '/gpt\.js/', $content ) ) {
|
522 |
ob_start(); ?>
|
523 |
+
<script>advanced_ads_ready( function() {
|
524 |
var advads_dfp_link = document.querySelector( '.advanced_ads_ad_health_debug_dfp_link.hidden' );
|
525 |
if ( advads_dfp_link ) {
|
526 |
advads_dfp_link.className = advads_dfp_link.className.replace( 'hidden', '' );
|
527 |
advanced_ads_frontend_checks.showCount();
|
528 |
}
|
529 |
+
});</script>
|
530 |
<?php
|
531 |
$content .= Advanced_Ads_Utils::get_inline_asset( ob_get_clean() );
|
532 |
}
|
533 |
|
|
|
534 |
if ( Advanced_Ads_Ad_Debug::is_https_and_http( $ad ) ) {
|
535 |
ob_start(); ?>
|
536 |
+
<script>advanced_ads_ready( function() {
|
537 |
+
var ad_id = '<?php echo $ad->id; ?>';
|
538 |
+
advanced_ads_frontend_checks.add_item_to_node( '.advanced_ads_ad_health_has_http', ad_id );
|
539 |
+
});</script>
|
540 |
+
<?php
|
541 |
+
$content .= Advanced_Ads_Utils::get_inline_asset( ob_get_clean() );
|
542 |
+
}
|
543 |
+
|
544 |
+
if ( ! $this->can_use_head_placement( $content, $ad ) ) {
|
545 |
+
ob_start(); ?>
|
546 |
+
<script>advanced_ads_ready( function() {
|
547 |
+
var ad_id = '<?php echo $ad->id; ?>';
|
548 |
+
advanced_ads_frontend_checks.add_item_to_node( '.advanced_ads_ad_health_incorrect_head', ad_id );
|
549 |
+
});</script>
|
550 |
<?php
|
551 |
$content .= Advanced_Ads_Utils::get_inline_asset( ob_get_clean() );
|
552 |
}
|
554 |
return $content;
|
555 |
}
|
556 |
|
557 |
+
/**
|
558 |
+
* Check if the 'Header Code' placement can be used to delived the ad.
|
559 |
+
*
|
560 |
+
* @param string $content Ad content.
|
561 |
+
* @param obj $ad Advanced_Ads_Ad
|
562 |
+
* @return bool
|
563 |
+
*/
|
564 |
+
private function can_use_head_placement( $content, Advanced_Ads_Ad $ad ) {
|
565 |
+
|
566 |
+
if ( ! $ad->is_head_placement ) {
|
567 |
+
return true;
|
568 |
+
}
|
569 |
+
if ( ! $dom = $this->get_ad_dom( $content ) ) {
|
570 |
+
return true;
|
571 |
+
}
|
572 |
+
|
573 |
+
$body = $dom->getElementsByTagName( 'body' )->item( 0 );
|
574 |
+
|
575 |
+
$count = $body->childNodes->length;
|
576 |
+
for ( $i = 0; $i < $count; $i++ ) {
|
577 |
+
$node = $body->childNodes->item( $i );
|
578 |
+
|
579 |
+
if ( XML_TEXT_NODE === $node->nodeType ) {
|
580 |
+
return false;
|
581 |
+
}
|
582 |
+
|
583 |
+
if ( XML_ELEMENT_NODE === $node->nodeType
|
584 |
+
&& ! in_array( $node->nodeName, array( 'meta', 'link', 'title', 'style', 'script', 'noscript', 'base' ) ) ) {
|
585 |
+
return false;
|
586 |
+
}
|
587 |
+
}
|
588 |
+
return true;
|
589 |
+
}
|
590 |
+
|
591 |
+
/**
|
592 |
+
* Convert ad content to a DOMDocument.
|
593 |
+
*
|
594 |
+
* @param string $content
|
595 |
+
* @return DOMDocument|false
|
596 |
+
*/
|
597 |
+
private function get_ad_dom( $content ) {
|
598 |
+
if ( ! extension_loaded( 'dom' ) ) {
|
599 |
+
return false;
|
600 |
+
}
|
601 |
+
$libxml_previous_state = libxml_use_internal_errors( true );
|
602 |
+
$dom = new DOMDocument();
|
603 |
+
$result = $dom->loadHTML( '<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body>' . $content . '</body></html>' );
|
604 |
+
|
605 |
+
libxml_clear_errors();
|
606 |
+
libxml_use_internal_errors( $libxml_previous_state );
|
607 |
+
|
608 |
+
if ( ! $result ) {
|
609 |
+
return false;
|
610 |
+
}
|
611 |
+
|
612 |
+
return $dom;
|
613 |
+
}
|
614 |
}
|
classes/plugin.php
CHANGED
@@ -116,6 +116,7 @@ class Advanced_Ads_Plugin {
|
|
116 |
// load display conditions
|
117 |
Advanced_Ads_Display_Conditions::get_instance();
|
118 |
new Advanced_Ads_Frontend_Checks;
|
|
|
119 |
}
|
120 |
|
121 |
/**
|
116 |
// load display conditions
|
117 |
Advanced_Ads_Display_Conditions::get_instance();
|
118 |
new Advanced_Ads_Frontend_Checks;
|
119 |
+
new Advanced_Ads_Compatibility;
|
120 |
}
|
121 |
|
122 |
/**
|
includes/functions.php
CHANGED
@@ -100,7 +100,8 @@ function advads_is_amp() {
|
|
100 |
}
|
101 |
|
102 |
return ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() )
|
103 |
-
|| ( function_exists( 'is_wp_amp' ) && is_wp_amp() )
|
|
|
104 |
}
|
105 |
|
106 |
/**
|
100 |
}
|
101 |
|
102 |
return ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() )
|
103 |
+
|| ( function_exists( 'is_wp_amp' ) && is_wp_amp() )
|
104 |
+
|| isset( $_GET [ 'wpamp' ] );
|
105 |
}
|
106 |
|
107 |
/**
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: ads, ad manager, ad widget, ad rotation, adsense, advertise, advertisement
|
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.2
|
8 |
-
Stable tag: 1.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -23,6 +23,8 @@ Are you looking for a simple ad manager plugin? These are the top arguments to u
|
|
23 |
* the only solution with *Ad Health* integration and AdSense violation checks
|
24 |
* best rated [free support](https://wordpress.org/support/plugin/advanced-ads)
|
25 |
|
|
|
|
|
26 |
I built Advanced Ads based on my experience delivering millions of ads per month.
|
27 |
|
28 |
[Full Feature List](https://wpadvancedads.com/features/).
|
@@ -218,9 +220,9 @@ Works with AdRotate, Ad Inserter, Ad Injection, Quick AdSense, QuickAdSense Relo
|
|
218 |
|
219 |
There is a dedicated Flash ad type in [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/).
|
220 |
|
221 |
-
= Is the plugin compatible with
|
222 |
|
223 |
-
Yes. It works out of the box with all site builders that allow shortcodes or widgets, like SiteOrigin, Beaver Builder, WPBakery Page Builder (formerly Visual Composer), and others.
|
224 |
There is also a [free add-on to support the WPBakery Page Builder (formerly Visual Composer)](https://wordpress.org/plugins/ads-for-visual-composer/).
|
225 |
|
226 |
= Will ads show up for ad block users? =
|
@@ -248,6 +250,15 @@ Yes. Advanced Ads is based on WordPress standards and therefore easily customiza
|
|
248 |
|
249 |
== Changelog ==
|
250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
= 1.8.29 =
|
252 |
|
253 |
* added ad block that works with Gutenberg version 2.8.0
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.2
|
8 |
+
Stable tag: 1.8.30
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
23 |
* the only solution with *Ad Health* integration and AdSense violation checks
|
24 |
* best rated [free support](https://wordpress.org/support/plugin/advanced-ads)
|
25 |
|
26 |
+
Would you like to know if there is a certain feature, what the optimized setup would be, or how to implement your client’s demands? Just [open a thread in the forum](https://wordpress.org/support/plugin/advanced-ads#new-post)!
|
27 |
+
|
28 |
I built Advanced Ads based on my experience delivering millions of ads per month.
|
29 |
|
30 |
[Full Feature List](https://wpadvancedads.com/features/).
|
220 |
|
221 |
There is a dedicated Flash ad type in [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/).
|
222 |
|
223 |
+
= Is the plugin compatible with page builders? =
|
224 |
|
225 |
+
Yes. It works out of the box with all site builders that allow shortcodes or widgets, like Elementor, SiteOrigin, Beaver Builder, WPBakery Page Builder (formerly Visual Composer), and others.
|
226 |
There is also a [free add-on to support the WPBakery Page Builder (formerly Visual Composer)](https://wordpress.org/plugins/ads-for-visual-composer/).
|
227 |
|
228 |
= Will ads show up for ad block users? =
|
250 |
|
251 |
== Changelog ==
|
252 |
|
253 |
+
= 1.8.30 =
|
254 |
+
|
255 |
+
* prevented entering 0 in the position index field of the Content placement
|
256 |
+
* compatibility between Elementor plugin and Content placement
|
257 |
+
* made Ad Health available to all users that can edit ads
|
258 |
+
* hide dashboard widget for user roles that can’t edit ads
|
259 |
+
* don't use wrapper when using the "Header Code" placement
|
260 |
+
* compatibility between Responsive add-on and "WP AMP Ninja" plugin
|
261 |
+
|
262 |
= 1.8.29 =
|
263 |
|
264 |
* added ad block that works with Gutenberg version 2.8.0
|
vendor/autoload.php
CHANGED
@@ -2,6 +2,6 @@
|
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
-
require_once __DIR__ . '/composer
|
6 |
|
7 |
return ComposerAutoloaderInitd24de3c06687d3cf4aad0b15c83747be::getLoader();
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
+
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
return ComposerAutoloaderInitd24de3c06687d3cf4aad0b15c83747be::getLoader();
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit5ae8dad84deb2106336f0180e962d503::getLoader();
|
vendor/composer/ClassLoader.php
CHANGED
@@ -13,9 +13,7 @@
|
|
13 |
namespace Composer\Autoload;
|
14 |
|
15 |
/**
|
16 |
-
* ClassLoader implements a PSR-0 class loader
|
17 |
-
*
|
18 |
-
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
|
19 |
*
|
20 |
* $loader = new \Composer\Autoload\ClassLoader();
|
21 |
*
|
@@ -39,6 +37,8 @@ namespace Composer\Autoload;
|
|
39 |
*
|
40 |
* @author Fabien Potencier <fabien@symfony.com>
|
41 |
* @author Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
|
42 |
*/
|
43 |
class ClassLoader
|
44 |
{
|
@@ -53,8 +53,9 @@ class ClassLoader
|
|
53 |
|
54 |
private $useIncludePath = false;
|
55 |
private $classMap = array();
|
56 |
-
|
57 |
private $classMapAuthoritative = false;
|
|
|
|
|
58 |
|
59 |
public function getPrefixes()
|
60 |
{
|
@@ -147,7 +148,7 @@ class ClassLoader
|
|
147 |
* appending or prepending to the ones previously set for this namespace.
|
148 |
*
|
149 |
* @param string $prefix The prefix/namespace, with trailing '\\'
|
150 |
-
* @param array|string $paths The PSR-
|
151 |
* @param bool $prepend Whether to prepend the directories
|
152 |
*
|
153 |
* @throws \InvalidArgumentException
|
@@ -271,6 +272,26 @@ class ClassLoader
|
|
271 |
return $this->classMapAuthoritative;
|
272 |
}
|
273 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
/**
|
275 |
* Registers this instance as an autoloader.
|
276 |
*
|
@@ -313,29 +334,34 @@ class ClassLoader
|
|
313 |
*/
|
314 |
public function findFile($class)
|
315 |
{
|
316 |
-
// work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
|
317 |
-
if ('\\' == $class[0]) {
|
318 |
-
$class = substr($class, 1);
|
319 |
-
}
|
320 |
-
|
321 |
// class map lookup
|
322 |
if (isset($this->classMap[$class])) {
|
323 |
return $this->classMap[$class];
|
324 |
}
|
325 |
-
if ($this->classMapAuthoritative) {
|
326 |
return false;
|
327 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
|
329 |
$file = $this->findFileWithExtension($class, '.php');
|
330 |
|
331 |
// Search for Hack files if we are running on HHVM
|
332 |
-
if (
|
333 |
$file = $this->findFileWithExtension($class, '.hh');
|
334 |
}
|
335 |
|
336 |
-
if (
|
|
|
|
|
|
|
|
|
337 |
// Remember that this class does not exist.
|
338 |
-
|
339 |
}
|
340 |
|
341 |
return $file;
|
@@ -348,10 +374,14 @@ class ClassLoader
|
|
348 |
|
349 |
$first = $class[0];
|
350 |
if (isset($this->prefixLengthsPsr4[$first])) {
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
|
|
|
|
|
|
|
|
355 |
return $file;
|
356 |
}
|
357 |
}
|
@@ -399,6 +429,8 @@ class ClassLoader
|
|
399 |
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
400 |
return $file;
|
401 |
}
|
|
|
|
|
402 |
}
|
403 |
}
|
404 |
|
13 |
namespace Composer\Autoload;
|
14 |
|
15 |
/**
|
16 |
+
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
|
|
|
|
|
17 |
*
|
18 |
* $loader = new \Composer\Autoload\ClassLoader();
|
19 |
*
|
37 |
*
|
38 |
* @author Fabien Potencier <fabien@symfony.com>
|
39 |
* @author Jordi Boggiano <j.boggiano@seld.be>
|
40 |
+
* @see http://www.php-fig.org/psr/psr-0/
|
41 |
+
* @see http://www.php-fig.org/psr/psr-4/
|
42 |
*/
|
43 |
class ClassLoader
|
44 |
{
|
53 |
|
54 |
private $useIncludePath = false;
|
55 |
private $classMap = array();
|
|
|
56 |
private $classMapAuthoritative = false;
|
57 |
+
private $missingClasses = array();
|
58 |
+
private $apcuPrefix;
|
59 |
|
60 |
public function getPrefixes()
|
61 |
{
|
148 |
* appending or prepending to the ones previously set for this namespace.
|
149 |
*
|
150 |
* @param string $prefix The prefix/namespace, with trailing '\\'
|
151 |
+
* @param array|string $paths The PSR-4 base directories
|
152 |
* @param bool $prepend Whether to prepend the directories
|
153 |
*
|
154 |
* @throws \InvalidArgumentException
|
272 |
return $this->classMapAuthoritative;
|
273 |
}
|
274 |
|
275 |
+
/**
|
276 |
+
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
277 |
+
*
|
278 |
+
* @param string|null $apcuPrefix
|
279 |
+
*/
|
280 |
+
public function setApcuPrefix($apcuPrefix)
|
281 |
+
{
|
282 |
+
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
|
283 |
+
}
|
284 |
+
|
285 |
+
/**
|
286 |
+
* The APCu prefix in use, or null if APCu caching is not enabled.
|
287 |
+
*
|
288 |
+
* @return string|null
|
289 |
+
*/
|
290 |
+
public function getApcuPrefix()
|
291 |
+
{
|
292 |
+
return $this->apcuPrefix;
|
293 |
+
}
|
294 |
+
|
295 |
/**
|
296 |
* Registers this instance as an autoloader.
|
297 |
*
|
334 |
*/
|
335 |
public function findFile($class)
|
336 |
{
|
|
|
|
|
|
|
|
|
|
|
337 |
// class map lookup
|
338 |
if (isset($this->classMap[$class])) {
|
339 |
return $this->classMap[$class];
|
340 |
}
|
341 |
+
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
|
342 |
return false;
|
343 |
}
|
344 |
+
if (null !== $this->apcuPrefix) {
|
345 |
+
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
|
346 |
+
if ($hit) {
|
347 |
+
return $file;
|
348 |
+
}
|
349 |
+
}
|
350 |
|
351 |
$file = $this->findFileWithExtension($class, '.php');
|
352 |
|
353 |
// Search for Hack files if we are running on HHVM
|
354 |
+
if (false === $file && defined('HHVM_VERSION')) {
|
355 |
$file = $this->findFileWithExtension($class, '.hh');
|
356 |
}
|
357 |
|
358 |
+
if (null !== $this->apcuPrefix) {
|
359 |
+
apcu_add($this->apcuPrefix.$class, $file);
|
360 |
+
}
|
361 |
+
|
362 |
+
if (false === $file) {
|
363 |
// Remember that this class does not exist.
|
364 |
+
$this->missingClasses[$class] = true;
|
365 |
}
|
366 |
|
367 |
return $file;
|
374 |
|
375 |
$first = $class[0];
|
376 |
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
+
$subPath = $class;
|
378 |
+
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
379 |
+
$subPath = substr($subPath, 0, $lastPos);
|
380 |
+
$search = $subPath.'\\';
|
381 |
+
if (isset($this->prefixDirsPsr4[$search])) {
|
382 |
+
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
|
383 |
+
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
384 |
+
if (file_exists($file = $dir . $pathEnd)) {
|
385 |
return $file;
|
386 |
}
|
387 |
}
|
429 |
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
430 |
return $file;
|
431 |
}
|
432 |
+
|
433 |
+
return false;
|
434 |
}
|
435 |
}
|
436 |
|
vendor/composer/LICENSE
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
|
2 |
-
Copyright (c)
|
3 |
|
4 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
of this software and associated documentation files (the "Software"), to deal
|
1 |
|
2 |
+
Copyright (c) Nils Adermann, Jordi Boggiano
|
3 |
|
4 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
of this software and associated documentation files (the "Software"), to deal
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -28,6 +28,7 @@ return array(
|
|
28 |
'Advanced_Ads_Admin_Settings' => $baseDir . '/admin/includes/class-settings.php',
|
29 |
'Advanced_Ads_Ajax' => $baseDir . '/classes/ad-ajax.php',
|
30 |
'Advanced_Ads_Checks' => $baseDir . '/classes/checks.php',
|
|
|
31 |
'Advanced_Ads_Display_Conditions' => $baseDir . '/classes/display-conditions.php',
|
32 |
'Advanced_Ads_Filesystem' => $baseDir . '/classes/filesystem.php',
|
33 |
'Advanced_Ads_Frontend_Checks' => $baseDir . '/classes/frontend_checks.php',
|
@@ -43,6 +44,93 @@ return array(
|
|
43 |
'Advanced_Ads_Utils' => $baseDir . '/classes/utils.php',
|
44 |
'Advanced_Ads_Visitor_Conditions' => $baseDir . '/classes/visitor-conditions.php',
|
45 |
'Advanced_Ads_Widget' => $baseDir . '/classes/widget.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
'Yoast_I18n_WordPressOrg_v3' => $vendorDir . '/yoast/i18n-module/src/i18n-module-wordpressorg.php',
|
47 |
'Yoast_I18n_v3' => $vendorDir . '/yoast/i18n-module/src/i18n-module.php',
|
|
|
|
|
48 |
);
|
28 |
'Advanced_Ads_Admin_Settings' => $baseDir . '/admin/includes/class-settings.php',
|
29 |
'Advanced_Ads_Ajax' => $baseDir . '/classes/ad-ajax.php',
|
30 |
'Advanced_Ads_Checks' => $baseDir . '/classes/checks.php',
|
31 |
+
'Advanced_Ads_Compatibility' => $baseDir . '/classes/compatibility.php',
|
32 |
'Advanced_Ads_Display_Conditions' => $baseDir . '/classes/display-conditions.php',
|
33 |
'Advanced_Ads_Filesystem' => $baseDir . '/classes/filesystem.php',
|
34 |
'Advanced_Ads_Frontend_Checks' => $baseDir . '/classes/frontend_checks.php',
|
44 |
'Advanced_Ads_Utils' => $baseDir . '/classes/utils.php',
|
45 |
'Advanced_Ads_Visitor_Conditions' => $baseDir . '/classes/visitor-conditions.php',
|
46 |
'Advanced_Ads_Widget' => $baseDir . '/classes/widget.php',
|
47 |
+
'Composer\\Installers\\AglInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php',
|
48 |
+
'Composer\\Installers\\AimeosInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php',
|
49 |
+
'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
|
50 |
+
'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
|
51 |
+
'Composer\\Installers\\AttogramInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
|
52 |
+
'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
|
53 |
+
'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
|
54 |
+
'Composer\\Installers\\BonefishInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
|
55 |
+
'Composer\\Installers\\CakePHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
|
56 |
+
'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
|
57 |
+
'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
|
58 |
+
'Composer\\Installers\\CockpitInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
|
59 |
+
'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
|
60 |
+
'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
|
61 |
+
'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
|
62 |
+
'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
|
63 |
+
'Composer\\Installers\\DecibelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
|
64 |
+
'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
|
65 |
+
'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
|
66 |
+
'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
|
67 |
+
'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
|
68 |
+
'Composer\\Installers\\EliasisInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
|
69 |
+
'Composer\\Installers\\ExpressionEngineInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
|
70 |
+
'Composer\\Installers\\EzPlatformInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
|
71 |
+
'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
|
72 |
+
'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
|
73 |
+
'Composer\\Installers\\GravInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php',
|
74 |
+
'Composer\\Installers\\HuradInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
|
75 |
+
'Composer\\Installers\\ImageCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
|
76 |
+
'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php',
|
77 |
+
'Composer\\Installers\\ItopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
|
78 |
+
'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
|
79 |
+
'Composer\\Installers\\KanboardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
|
80 |
+
'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
|
81 |
+
'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
|
82 |
+
'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
|
83 |
+
'Composer\\Installers\\LanManagementSystemInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
|
84 |
+
'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
|
85 |
+
'Composer\\Installers\\LavaLiteInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
|
86 |
+
'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
|
87 |
+
'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
|
88 |
+
'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
|
89 |
+
'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
|
90 |
+
'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
|
91 |
+
'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
|
92 |
+
'Composer\\Installers\\MayaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
|
93 |
+
'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
|
94 |
+
'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
|
95 |
+
'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
|
96 |
+
'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
|
97 |
+
'Composer\\Installers\\OntoWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
|
98 |
+
'Composer\\Installers\\OsclassInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
|
99 |
+
'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
|
100 |
+
'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
|
101 |
+
'Composer\\Installers\\PhiftyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
|
102 |
+
'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
|
103 |
+
'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
|
104 |
+
'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
|
105 |
+
'Composer\\Installers\\PlentymarketsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
|
106 |
+
'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php',
|
107 |
+
'Composer\\Installers\\PortoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
|
108 |
+
'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
|
109 |
+
'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
|
110 |
+
'Composer\\Installers\\RadPHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
|
111 |
+
'Composer\\Installers\\ReIndexInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
|
112 |
+
'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
|
113 |
+
'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
|
114 |
+
'Composer\\Installers\\SMFInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
|
115 |
+
'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
|
116 |
+
'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
|
117 |
+
'Composer\\Installers\\SyDESInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
|
118 |
+
'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
|
119 |
+
'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
|
120 |
+
'Composer\\Installers\\TYPO3FlowInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
|
121 |
+
'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
|
122 |
+
'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
|
123 |
+
'Composer\\Installers\\UserFrostingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
|
124 |
+
'Composer\\Installers\\VanillaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
|
125 |
+
'Composer\\Installers\\VgmcpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
|
126 |
+
'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
|
127 |
+
'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
|
128 |
+
'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
|
129 |
+
'Composer\\Installers\\YawikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
|
130 |
+
'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
131 |
+
'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
132 |
'Yoast_I18n_WordPressOrg_v3' => $vendorDir . '/yoast/i18n-module/src/i18n-module-wordpressorg.php',
|
133 |
'Yoast_I18n_v3' => $vendorDir . '/yoast/i18n-module/src/i18n-module.php',
|
134 |
+
'xrstf\\Composer52\\AutoloadGenerator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php',
|
135 |
+
'xrstf\\Composer52\\Generator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php',
|
136 |
);
|
vendor/composer/autoload_real.php
CHANGED
@@ -23,19 +23,26 @@ class ComposerAutoloaderInitd24de3c06687d3cf4aad0b15c83747be
|
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
spl_autoload_unregister(array('ComposerAutoloaderInitd24de3c06687d3cf4aad0b15c83747be', 'loadClassLoader'));
|
25 |
|
26 |
-
$
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
40 |
|
41 |
$loader->register(true);
|
@@ -43,8 +50,3 @@ class ComposerAutoloaderInitd24de3c06687d3cf4aad0b15c83747be
|
|
43 |
return $loader;
|
44 |
}
|
45 |
}
|
46 |
-
|
47 |
-
function composerRequired24de3c06687d3cf4aad0b15c83747be($file)
|
48 |
-
{
|
49 |
-
require $file;
|
50 |
-
}
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
spl_autoload_unregister(array('ComposerAutoloaderInitd24de3c06687d3cf4aad0b15c83747be', 'loadClassLoader'));
|
25 |
|
26 |
+
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
+
if ($useStaticLoader) {
|
28 |
+
require_once __DIR__ . '/autoload_static.php';
|
29 |
+
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitd24de3c06687d3cf4aad0b15c83747be::getInitializer($loader));
|
31 |
+
} else {
|
32 |
+
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
+
foreach ($map as $namespace => $path) {
|
34 |
+
$loader->set($namespace, $path);
|
35 |
+
}
|
36 |
+
|
37 |
+
$map = require __DIR__ . '/autoload_psr4.php';
|
38 |
+
foreach ($map as $namespace => $path) {
|
39 |
+
$loader->setPsr4($namespace, $path);
|
40 |
+
}
|
41 |
+
|
42 |
+
$classMap = require __DIR__ . '/autoload_classmap.php';
|
43 |
+
if ($classMap) {
|
44 |
+
$loader->addClassMap($classMap);
|
45 |
+
}
|
46 |
}
|
47 |
|
48 |
$loader->register(true);
|
50 |
return $loader;
|
51 |
}
|
52 |
}
|
|
|
|
|
|
|
|
|
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8c8717643e7ea9dbcecc89851b385e7c {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInit5ae8dad84deb2106336f0180e962d503 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5ae8dad84deb2106336f0180e962d503', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5ae8dad84deb2106336f0180e962d503', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
vendor/composer/autoload_static.php
CHANGED
@@ -31,6 +31,7 @@ class ComposerStaticInitd24de3c06687d3cf4aad0b15c83747be
|
|
31 |
);
|
32 |
|
33 |
public static $classMap = array (
|
|
|
34 |
'Advads_Ad' => __DIR__ . '/../..' . '/classes/ad.php',
|
35 |
'Advanced_Ads' => __DIR__ . '/../..' . '/public/class-advanced-ads.php',
|
36 |
'Advanced_Ads_Ad' => __DIR__ . '/../..' . '/classes/ad.php',
|
@@ -38,6 +39,7 @@ class ComposerStaticInitd24de3c06687d3cf4aad0b15c83747be
|
|
38 |
'Advanced_Ads_Ad_Debug' => __DIR__ . '/../..' . '/classes/ad-debug.php',
|
39 |
'Advanced_Ads_Ad_Type_Abstract' => __DIR__ . '/../..' . '/classes/ad_type_abstract.php',
|
40 |
'Advanced_Ads_Ad_Type_Content' => __DIR__ . '/../..' . '/classes/ad_type_content.php',
|
|
|
41 |
'Advanced_Ads_Ad_Type_Group' => __DIR__ . '/../..' . '/classes/ad_type_group.php',
|
42 |
'Advanced_Ads_Ad_Type_Image' => __DIR__ . '/../..' . '/classes/ad_type_image.php',
|
43 |
'Advanced_Ads_Ad_Type_Plain' => __DIR__ . '/../..' . '/classes/ad_type_plain.php',
|
@@ -47,9 +49,11 @@ class ComposerStaticInitd24de3c06687d3cf4aad0b15c83747be
|
|
47 |
'Advanced_Ads_Admin_Menu' => __DIR__ . '/../..' . '/admin/includes/class-menu.php',
|
48 |
'Advanced_Ads_Admin_Meta_Boxes' => __DIR__ . '/../..' . '/admin/includes/class-meta-box.php',
|
49 |
'Advanced_Ads_Admin_Notices' => __DIR__ . '/../..' . '/admin/includes/class-notices.php',
|
|
|
50 |
'Advanced_Ads_Admin_Settings' => __DIR__ . '/../..' . '/admin/includes/class-settings.php',
|
51 |
'Advanced_Ads_Ajax' => __DIR__ . '/../..' . '/classes/ad-ajax.php',
|
52 |
'Advanced_Ads_Checks' => __DIR__ . '/../..' . '/classes/checks.php',
|
|
|
53 |
'Advanced_Ads_Display_Conditions' => __DIR__ . '/../..' . '/classes/display-conditions.php',
|
54 |
'Advanced_Ads_Filesystem' => __DIR__ . '/../..' . '/classes/filesystem.php',
|
55 |
'Advanced_Ads_Frontend_Checks' => __DIR__ . '/../..' . '/classes/frontend_checks.php',
|
@@ -86,28 +90,37 @@ class ComposerStaticInitd24de3c06687d3cf4aad0b15c83747be
|
|
86 |
'Composer\\Installers\\DolibarrInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
|
87 |
'Composer\\Installers\\DrupalInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
|
88 |
'Composer\\Installers\\ElggInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
|
|
|
89 |
'Composer\\Installers\\ExpressionEngineInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
|
|
|
90 |
'Composer\\Installers\\FuelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
|
91 |
'Composer\\Installers\\FuelphpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
|
92 |
'Composer\\Installers\\GravInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/GravInstaller.php',
|
93 |
'Composer\\Installers\\HuradInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
|
94 |
'Composer\\Installers\\ImageCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
|
95 |
'Composer\\Installers\\Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Installer.php',
|
|
|
96 |
'Composer\\Installers\\JoomlaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
|
|
|
97 |
'Composer\\Installers\\KirbyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
|
98 |
'Composer\\Installers\\KodiCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
|
99 |
'Composer\\Installers\\KohanaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
|
|
|
100 |
'Composer\\Installers\\LaravelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
|
|
|
101 |
'Composer\\Installers\\LithiumInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
|
102 |
'Composer\\Installers\\MODULEWorkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
|
103 |
'Composer\\Installers\\MODXEvoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
|
104 |
'Composer\\Installers\\MagentoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
|
105 |
'Composer\\Installers\\MakoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
|
106 |
'Composer\\Installers\\MauticInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
|
|
|
107 |
'Composer\\Installers\\MediaWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
|
108 |
'Composer\\Installers\\MicroweberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
|
109 |
'Composer\\Installers\\MoodleInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
|
110 |
'Composer\\Installers\\OctoberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
|
|
|
|
|
111 |
'Composer\\Installers\\OxidInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
|
112 |
'Composer\\Installers\\PPIInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
|
113 |
'Composer\\Installers\\PhiftyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
|
@@ -116,6 +129,7 @@ class ComposerStaticInitd24de3c06687d3cf4aad0b15c83747be
|
|
116 |
'Composer\\Installers\\PiwikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
|
117 |
'Composer\\Installers\\PlentymarketsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
|
118 |
'Composer\\Installers\\Plugin' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Plugin.php',
|
|
|
119 |
'Composer\\Installers\\PrestashopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
|
120 |
'Composer\\Installers\\PuppetInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
|
121 |
'Composer\\Installers\\RadPHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
|
@@ -125,19 +139,23 @@ class ComposerStaticInitd24de3c06687d3cf4aad0b15c83747be
|
|
125 |
'Composer\\Installers\\SMFInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
|
126 |
'Composer\\Installers\\ShopwareInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
|
127 |
'Composer\\Installers\\SilverStripeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
|
|
|
128 |
'Composer\\Installers\\Symfony1Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
|
129 |
'Composer\\Installers\\TYPO3CmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
|
130 |
'Composer\\Installers\\TYPO3FlowInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
|
131 |
'Composer\\Installers\\TheliaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
|
132 |
'Composer\\Installers\\TuskInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
|
|
|
133 |
'Composer\\Installers\\VanillaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
|
|
|
134 |
'Composer\\Installers\\WHMCSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
|
135 |
'Composer\\Installers\\WolfCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
|
136 |
'Composer\\Installers\\WordPressInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
|
137 |
'Composer\\Installers\\YawikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
|
138 |
'Composer\\Installers\\ZendInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
139 |
'Composer\\Installers\\ZikulaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
140 |
-
'
|
|
|
141 |
'xrstf\\Composer52\\AutoloadGenerator' => __DIR__ . '/..' . '/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php',
|
142 |
'xrstf\\Composer52\\Generator' => __DIR__ . '/..' . '/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php',
|
143 |
);
|
31 |
);
|
32 |
|
33 |
public static $classMap = array (
|
34 |
+
'ADVADS_SL_Plugin_Updater' => __DIR__ . '/../..' . '/classes/EDD_SL_Plugin_Updater.php',
|
35 |
'Advads_Ad' => __DIR__ . '/../..' . '/classes/ad.php',
|
36 |
'Advanced_Ads' => __DIR__ . '/../..' . '/public/class-advanced-ads.php',
|
37 |
'Advanced_Ads_Ad' => __DIR__ . '/../..' . '/classes/ad.php',
|
39 |
'Advanced_Ads_Ad_Debug' => __DIR__ . '/../..' . '/classes/ad-debug.php',
|
40 |
'Advanced_Ads_Ad_Type_Abstract' => __DIR__ . '/../..' . '/classes/ad_type_abstract.php',
|
41 |
'Advanced_Ads_Ad_Type_Content' => __DIR__ . '/../..' . '/classes/ad_type_content.php',
|
42 |
+
'Advanced_Ads_Ad_Type_Dummy' => __DIR__ . '/../..' . '/classes/ad_type_dummy.php',
|
43 |
'Advanced_Ads_Ad_Type_Group' => __DIR__ . '/../..' . '/classes/ad_type_group.php',
|
44 |
'Advanced_Ads_Ad_Type_Image' => __DIR__ . '/../..' . '/classes/ad_type_image.php',
|
45 |
'Advanced_Ads_Ad_Type_Plain' => __DIR__ . '/../..' . '/classes/ad_type_plain.php',
|
49 |
'Advanced_Ads_Admin_Menu' => __DIR__ . '/../..' . '/admin/includes/class-menu.php',
|
50 |
'Advanced_Ads_Admin_Meta_Boxes' => __DIR__ . '/../..' . '/admin/includes/class-meta-box.php',
|
51 |
'Advanced_Ads_Admin_Notices' => __DIR__ . '/../..' . '/admin/includes/class-notices.php',
|
52 |
+
'Advanced_Ads_Admin_Options' => __DIR__ . '/../..' . '/admin/includes/class-options.php',
|
53 |
'Advanced_Ads_Admin_Settings' => __DIR__ . '/../..' . '/admin/includes/class-settings.php',
|
54 |
'Advanced_Ads_Ajax' => __DIR__ . '/../..' . '/classes/ad-ajax.php',
|
55 |
'Advanced_Ads_Checks' => __DIR__ . '/../..' . '/classes/checks.php',
|
56 |
+
'Advanced_Ads_Compatibility' => __DIR__ . '/../..' . '/classes/compatibility.php',
|
57 |
'Advanced_Ads_Display_Conditions' => __DIR__ . '/../..' . '/classes/display-conditions.php',
|
58 |
'Advanced_Ads_Filesystem' => __DIR__ . '/../..' . '/classes/filesystem.php',
|
59 |
'Advanced_Ads_Frontend_Checks' => __DIR__ . '/../..' . '/classes/frontend_checks.php',
|
90 |
'Composer\\Installers\\DolibarrInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
|
91 |
'Composer\\Installers\\DrupalInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
|
92 |
'Composer\\Installers\\ElggInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
|
93 |
+
'Composer\\Installers\\EliasisInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
|
94 |
'Composer\\Installers\\ExpressionEngineInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
|
95 |
+
'Composer\\Installers\\EzPlatformInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
|
96 |
'Composer\\Installers\\FuelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
|
97 |
'Composer\\Installers\\FuelphpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
|
98 |
'Composer\\Installers\\GravInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/GravInstaller.php',
|
99 |
'Composer\\Installers\\HuradInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
|
100 |
'Composer\\Installers\\ImageCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
|
101 |
'Composer\\Installers\\Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Installer.php',
|
102 |
+
'Composer\\Installers\\ItopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
|
103 |
'Composer\\Installers\\JoomlaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
|
104 |
+
'Composer\\Installers\\KanboardInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
|
105 |
'Composer\\Installers\\KirbyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
|
106 |
'Composer\\Installers\\KodiCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
|
107 |
'Composer\\Installers\\KohanaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
|
108 |
+
'Composer\\Installers\\LanManagementSystemInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
|
109 |
'Composer\\Installers\\LaravelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
|
110 |
+
'Composer\\Installers\\LavaLiteInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
|
111 |
'Composer\\Installers\\LithiumInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
|
112 |
'Composer\\Installers\\MODULEWorkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
|
113 |
'Composer\\Installers\\MODXEvoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
|
114 |
'Composer\\Installers\\MagentoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
|
115 |
'Composer\\Installers\\MakoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
|
116 |
'Composer\\Installers\\MauticInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
|
117 |
+
'Composer\\Installers\\MayaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
|
118 |
'Composer\\Installers\\MediaWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
|
119 |
'Composer\\Installers\\MicroweberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
|
120 |
'Composer\\Installers\\MoodleInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
|
121 |
'Composer\\Installers\\OctoberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
|
122 |
+
'Composer\\Installers\\OntoWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
|
123 |
+
'Composer\\Installers\\OsclassInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
|
124 |
'Composer\\Installers\\OxidInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
|
125 |
'Composer\\Installers\\PPIInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
|
126 |
'Composer\\Installers\\PhiftyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
|
129 |
'Composer\\Installers\\PiwikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
|
130 |
'Composer\\Installers\\PlentymarketsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
|
131 |
'Composer\\Installers\\Plugin' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Plugin.php',
|
132 |
+
'Composer\\Installers\\PortoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
|
133 |
'Composer\\Installers\\PrestashopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
|
134 |
'Composer\\Installers\\PuppetInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
|
135 |
'Composer\\Installers\\RadPHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
|
139 |
'Composer\\Installers\\SMFInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
|
140 |
'Composer\\Installers\\ShopwareInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
|
141 |
'Composer\\Installers\\SilverStripeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
|
142 |
+
'Composer\\Installers\\SyDESInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
|
143 |
'Composer\\Installers\\Symfony1Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
|
144 |
'Composer\\Installers\\TYPO3CmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
|
145 |
'Composer\\Installers\\TYPO3FlowInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
|
146 |
'Composer\\Installers\\TheliaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
|
147 |
'Composer\\Installers\\TuskInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
|
148 |
+
'Composer\\Installers\\UserFrostingInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
|
149 |
'Composer\\Installers\\VanillaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
|
150 |
+
'Composer\\Installers\\VgmcpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
|
151 |
'Composer\\Installers\\WHMCSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
|
152 |
'Composer\\Installers\\WolfCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
|
153 |
'Composer\\Installers\\WordPressInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
|
154 |
'Composer\\Installers\\YawikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
|
155 |
'Composer\\Installers\\ZendInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
156 |
'Composer\\Installers\\ZikulaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
157 |
+
'Yoast_I18n_WordPressOrg_v3' => __DIR__ . '/..' . '/yoast/i18n-module/src/i18n-module-wordpressorg.php',
|
158 |
+
'Yoast_I18n_v3' => __DIR__ . '/..' . '/yoast/i18n-module/src/i18n-module.php',
|
159 |
'xrstf\\Composer52\\AutoloadGenerator' => __DIR__ . '/..' . '/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php',
|
160 |
'xrstf\\Composer52\\Generator' => __DIR__ . '/..' . '/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php',
|
161 |
);
|