Conflict with Page Builder by SiteOrigin
-
There is a conflict between these plugins: Paid Memberships Pro (PMPRO) and Page Builder by SiteOrigin (PB).
Paid Memberships Pro by Stranger Studios version 1.7.4
Page Builder by SiteOrigin by Greg Priday version 1.3.9WP Version: 3.7.1
WP Multisite Enabled: No
Web Server Info: Apache
PHP Version: 5.3.27
MySQL Version: 5.0.95
PHP Locale: decimal_point: .thousands_sep: int_curr_symbol: currency_symbol: mon_decimal_point: mon_thousands_sep: positive_sign: negative_sign:
WP Memory Limit: 40 MB
WP Debug Mode: No
WP Language: Default
WP Max Upload Size: 512 MB
PHP Post Max Size: 512 MB
PHP Time Limit: 86400
PHP Max Input Vars: 1000
SUHOSIN Installed: Yes
SMTP: localhost
smtp_port: 25
Default Timezone: Default timezone is UTC>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The problem is that the access control provided by PMPRO is over-ridden when PB is used to put widgets in the content area of either a page or a post.
I went into the code and found the problem; it’s the order in which the filters are run on the “the_content” hook.
Paid Memberships Pro:
plugins/paid-memberships-pro/includes/content.php (259)
add_filter(‘the_content’, ‘pmpro_membership_content_filter’, 5);Page Builder by SiteOrigin:
plugins/siteorigin-panels/siteorigin-panels.php (660)
add_filter( ‘the_content’, ‘siteorigin_panels_filter_content’ );When I set the PMPRO filter priority to 11, things worked correctly. The same was true when I set the PB filter priority to 4.
The point being that the PMPRO filter needs to run after the PB filter.
I haven’t tested, but I expect that there’s a similar problem for these filters:
add_filter(‘the_content_rss’, ‘pmpro_membership_content_filter’, 5);
add_filter(‘comment_text_rss’, ‘pmpro_membership_content_filter’, 5);It would appear that you would want a higher priority that runs after everything else in order to be sure that it’s not over-ridden, but then I don’t know if some other problem caused you to use the lower priority number.
Be Well,
Joe
- The topic ‘Conflict with Page Builder by SiteOrigin’ is closed to new replies.