Changeset 2458299
- Timestamp:
- 01/18/2021 02:01:30 PM (4 years ago)
- Location:
- wc4bp
- Files:
-
- 377 added
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
wc4bp/trunk/admin/admin-ajax.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 class wc4bp_admin_ajax extends wc4bp_base { -
wc4bp/trunk/admin/admin-delete.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 class wc4bp_admin_delete extends wc4bp_base { -
wc4bp/trunk/admin/admin-pages.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 class wc4bp_admin_pages extends wc4bp_base { -
wc4bp/trunk/admin/admin-sync.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 // No direct access is allowed14 if ( ! defined( 'ABSPATH' ) ) {15 exit;16 }17 13 18 14 class wc4bp_admin_sync extends wc4bp_base { -
wc4bp/trunk/admin/admin.php
r2452220 r2458299 14 14 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 15 15 */ 16 // No direct access is allowed17 if ( !defined( 'ABSPATH' ) ) {18 exit;19 }20 16 /** 21 17 * Class wc4bp_admin handle the admin pages -
wc4bp/trunk/admin/views/delete/html_admin_delete_all_settings.php
r2452220 r2458299 1 < p><?php _e( 'Be careful! If you check this option, all settings will be deleted on the plugin deactivation.', 'wc4bp' ); ?></p>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <p><?php _e( 'Be careful! If you check this option, all settings will be deleted on the plugin deactivation.', 'wc4bp' ); ?></p> 5 8 <br><?php _e( 'Yes I want to delete all Settings: ', 'wc4bp' ); ?> 6 9 <input type="checkbox" name="wc4bp_options_delete" value="1" <?php checked( $wc4bp_options_delete, 1, true ) ?>> -
wc4bp/trunk/admin/views/html_admin_delete_screen.php
r2452220 r2458299 1 <div class="wrap"> 2 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH . 'html_admin_header.php'; ?> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <div class="wrap"> 8 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH . 'html_admin_header.php'; ?> 6 9 <br> 7 10 -
wc4bp/trunk/admin/views/html_admin_header.php
r2452220 r2458299 1 <?php settings_errors(); ?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php settings_errors(); ?> 5 8 <div id="icon-options-general" class="icon32"><br></div> 6 9 <h2> <?php _e( 'WooBuddy -> WooCommerce BuddyPress Integration', 'wc4bp' ); ?></h2> -
wc4bp/trunk/admin/views/html_admin_marketing.php
r2452220 r2458299 1 <?php if ( ! empty( $message ) ): ?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php if ( ! empty( $message ) ): ?> 5 8 <div class="notice review-notice active" id="wc4bp-notice" style=""> 6 9 <div class="review-notice-logo"><span class="dashicons dashicons-chart-line"></span></div> -
wc4bp/trunk/admin/views/html_admin_pages_screen_pages.php
r2452220 r2458299 1 <div class="wrap"> 2 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH . 'html_admin_header.php'; ?> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <div class="wrap"> 8 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH . 'html_admin_header.php'; ?> 6 9 <br> 7 10 -
wc4bp/trunk/admin/views/html_admin_revision.php
r2452220 r2458299 1 <?php 2 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 1 7 <div class="notice review-notice active" id="wc4bp-ask-revision" style=""> 2 8 <div class="review-notice-logo"><span class="dashicons dashicons-chart-line"></span></div> … … 4 10 <strong>WooBuddy -> WooCommerce BuddyPress Integration</strong> <br> 5 11 <?php echo sprintf(__( ' Hey, you just updated to the %s version – that’s awesome!', 'wc4bp' ), WC4BP_Loader::VERSION); ?> <img draggable="false" class="emoji" alt="🎉" src="https://s.w.org/images/core/emoji/2.3/svg/1f389.svg"> <?php _e(' Could you please do me a BIG favor and give it a 5-star rating on WordPress? Just to help us spread the word and boost our motivation.','wc4bp'); ?><br/> 6 7 if ( ! defined( 'ABSPATH' ) ) { exit; }8 9 12 ~ <a target="_blank" href="https://www.themekraft.com/">ThemeKraft Team</a> 10 13 </div> -
wc4bp/trunk/admin/views/html_admin_screen.php
r2452220 r2458299 1 <div class="wrap"> 2 3 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH .'html_admin_header.php'; ?> 1 <?php 4 2 5 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 6 4 7 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <div class="wrap"> 8 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH .'html_admin_header.php'; ?> 8 9 <form method="post" action="options.php"> 9 10 <?php wp_nonce_field( 'update-options' ); ?> -
wc4bp/trunk/admin/views/html_admin_screen_sync.php
r2452220 r2458299 1 <div class="wrap"> 2 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH . 'html_admin_header.php'; ?> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <div class="wrap"> 8 <?php include_once WC4BP_ABSPATH_ADMIN_VIEWS_PATH . 'html_admin_header.php'; ?> 6 9 <br> 7 10 <div id="result"></div> -
wc4bp/trunk/admin/views/main/html_admin_my_account_tabs.php
r2452220 r2458299 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php 5 8 _e( '<div><p>By default all related <b>WooCommerce Account Tabs</b> are included into the BuddyPress member profiles. When you <b>Turn off</b> one of the next, the Tab(s) will disappear. Also is possible to change the order for the tabs. </p></div>', 'wc4bp' ); 6 9 /** @var wc4bp_admin $this */ -
wc4bp/trunk/admin/views/main/html_admin_profile_sync.php
r2452220 r2458299 1 <?php /** @var wc4bp_admin $this */ ?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php /** @var wc4bp_admin $this */ ?> 5 8 <label> 6 9 <p> -
wc4bp/trunk/admin/views/main/html_admin_shop_disable.php
r2452220 r2458299 1 <?php /** @var wc4bp_admin $this */1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php /** @var wc4bp_admin $this */ 5 8 ?> 6 9 <p <?php echo $this->disable_class_tag( 'p', wc4bp_base::$starter_plan_id ); ?>> -
wc4bp/trunk/admin/views/main/html_admin_shop_home.php
r2452220 r2458299 1 <?php /** @var wc4bp_admin $this */ ?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php /** @var wc4bp_admin $this */ ?> 5 8 <label> 6 9 <p><?php _e( 'This option override the default tab to show when the user click in the Shop tab.', 'wc4bp' ); ?></p> -
wc4bp/trunk/admin/views/main/html_admin_shop_tabs.php
r2452220 r2458299 1 <?php /** @var wc4bp_admin $this */ ?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php /** @var wc4bp_admin $this */ ?> 5 8 <p <?php echo $this->disable_class_tag( 'p', wc4bp_base::$starter_plan_id ); ?>> 6 9 <label> -
wc4bp/trunk/admin/views/main/html_thank_you_page.php
r2452220 r2458299 1 <?php /** @var wc4bp_admin $this */ ?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php /** @var wc4bp_admin $this */ ?> 5 8 <label> 6 9 <p><?php _e( 'This option override the default Woocommerce Thank You Page for one of the integrated pages.', 'wc4bp' ); ?></p> -
wc4bp/trunk/admin/views/pages/html_admin_pages_edit_entry.php
r2452220 r2458299 1 <p> 2 <b><?php _e( 'Choose an existing page', 'wc4bp' ); ?></b> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <p> 8 <b><?php _e( 'Choose an existing page', 'wc4bp' ); ?></b> 6 9 <br> 7 10 <?php wp_dropdown_pages( $args ); ?> -
wc4bp/trunk/admin/views/pages/html_admin_pages_forms_table.php
r2452220 r2458299 1 < h3><?php _e( 'Add Pages to Member Profiles', 'wc4bp' ); ?></h3>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <h3><?php _e( 'Add Pages to Member Profiles', 'wc4bp' ); ?></h3> 5 8 6 9 <p><?php _e( 'Integrate other pages (for example from other WooCommerce extensions) into your BuddyPress member profiles.', 'wc4bp' ); ?></p> … … 19 22 <tbody id="the-list"> 20 23 <?php 21 24 22 25 if ( isset( $wc4bp_pages_options['selected_pages'] ) && is_array( $wc4bp_pages_options['selected_pages'] ) ) : 23 26 foreach ( $wc4bp_pages_options['selected_pages'] as $key => $attached_page ): -
wc4bp/trunk/admin/views/pages/html_admin_pages_shop_pages_rename.php
r2452220 r2458299 1 2 <p><b><?php _e('Rename Shop Parent Tab:', 'wc4bp'); ?></b><input id='text' name='wc4bp_options[shop_main_nav]' type='text' value='<?php echo $shop_main_nav; ?>'/></p> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <p><b><?php _e('Rename Shop Parent Tab:', 'wc4bp'); ?></b><input id='text' name='wc4bp_options[shop_main_nav]' type='text' value='<?php echo $shop_main_nav; ?>'/></p> 6 8 <p><b><?php _e('Rename Shopping Cart:', 'wc4bp'); ?></b><input id='text' name='wc4bp_options[cart_sub_nav]' type='text' value='<?php echo $cart_sub_nav; ?>'/></p> 7 9 <p><b><?php _e('Rename History:', 'wc4bp'); ?></b><input id='text' name='wc4bp_options[history_sub_nav]' type='text' value='<?php echo $history_sub_nav; ?>'/></p> -
wc4bp/trunk/admin/views/pages/html_admin_pages_thickbox.php
r2452220 r2458299 1 <div class="parent_div"> 2 <p <?php /** @var wc4bp_admin $this */ echo $this->disable_class_tag( 'p', wc4bp_base::$starter_plan_id ); ?> style="margin: 0 0 20px 0;"> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <div class="parent_div"> 8 <p <?php /** @var wc4bp_admin $this */ echo $this->disable_class_tag( 'p', wc4bp_base::$starter_plan_id ); ?> style="margin: 0 0 20px 0;"> 6 9 <input <?php echo $this->disable_input_tag( 'button', wc4bp_base::$starter_plan_id ); ?> alt="#TB_inline?height=300&width=400&inlineId=add_page" title="<?php _e( 'Add an existing page to your BuddyPress member profiles', 'wc4bp' ); ?>" class="button button-secondary cptfbp_thickbox cptfbp_thickbox_add " type="button" value="<?php _e( 'Add a page to your BuddyPress Member Profiles', 'wc4bp' ); ?>"/> 7 10 -
wc4bp/trunk/admin/views/sync/html_admin_sync_change_xprofile.php
r2452220 r2458299 1 <?php /** @var wc4bp_admin_sync $this */ ?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php /** @var wc4bp_admin_sync $this */ ?> 5 8 <b> 6 9 <p><?php _e( 'Set the Profile Field Visibility for all existing Users:', 'wc4bp' ); ?></p> -
wc4bp/trunk/admin/views/sync/html_admin_sync_change_xprofile_allow_custom.php
r2452220 r2458299 1 < p><?php _e( 'Allow if the user can change the Field visibility.', 'wc4bp' ); ?></p>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <p><?php _e( 'Allow if the user can change the Field visibility.', 'wc4bp' ); ?></p> 5 8 <p> 6 9 <select name="wc4bp_options_sync[custom_visibility]"> -
wc4bp/trunk/admin/views/sync/html_admin_sync_change_xprofile_visibility.php
r2452220 r2458299 1 <p> 2 <?php esc_attr_e( 'Set the default visibility for all WooCommerce Fields inside BuddyPress.', 'wc4bp' ); ?> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <p> 8 <?php esc_attr_e( 'Set the default visibility for all WooCommerce Fields inside BuddyPress.', 'wc4bp' ); ?> 6 9 </p> 7 10 <?php $this->select_visibility_levels( 'default_visibility' ); ?> -
wc4bp/trunk/admin/views/sync/html_admin_sync_shop_profile.php
r2452220 r2458299 1 <p> 2 <b><?php _e( 'Sync WooCommerce Customer Billing and Shipping Address with BuddyPress.', 'wc4bp' ); ?></b> 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <p> 8 <b><?php _e( 'Sync WooCommerce Customer Billing and Shipping Address with BuddyPress.', 'wc4bp' ); ?></b> 6 9 </p> 7 10 <p> -
wc4bp/trunk/admin/views/sync/html_admin_sync_shop_profile_sync_ajax.php
r2452220 r2458299 1 <?php /** @var wc4bp_admin_sync $this */?>1 <?php 2 2 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <?php /** @var wc4bp_admin_sync $this */?> 5 8 <input id="continue_update_paged" type="hidden" value="<?php echo $paged ?>"> 6 9 <p> … … 31 34 32 35 <tbody id="result" data-wp-lists="list:user"> 33 36 34 37 <?php 35 38 foreach ( $query as $q ) { -
wc4bp/trunk/admin/wc4bp-activate.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 /** -
wc4bp/trunk/admin/wc4bp-marketing.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 // No direct access is allowed14 if ( ! defined( 'ABSPATH' ) ) {15 exit;16 }17 13 18 14 class WC4BP_Marketing extends wc4bp_base { 19 15 public $is_trial; 20 16 21 17 public function __construct() { 22 18 parent::__construct(); … … 25 21 add_action( 'admin_enqueue_scripts', array( $this, 'marketing_script' ), 10 ); 26 22 } 27 23 28 24 public function notice() { 29 25 $message = ''; … … 42 38 'target' => '#' 43 39 ) 44 40 45 41 ); 46 42 $need_notice = true; … … 50 46 } 51 47 } 52 48 53 49 public function marketing_script( $hook ) { 54 50 try { … … 64 60 } 65 61 } 66 62 67 63 public function notice_view( $message = '', $links = array() ) { 68 64 include_once( WC4BP_ABSPATH_ADMIN_VIEWS_PATH . 'html_admin_marketing.php' ); -
wc4bp/trunk/admin/wc4bp-revision.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 // No direct access is allowed14 if ( ! defined( 'ABSPATH' ) ) {15 exit;16 }17 13 18 14 class WC4BP_Revision { -
wc4bp/trunk/class/core/wc4bp-component.php
r2452220 r2458299 12 12 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 13 13 */ 14 // No direct access is allowed15 if ( !defined( 'ABSPATH' ) ) {16 exit;17 }18 14 class WC4BP_Component extends BP_Component 19 15 { -
wc4bp/trunk/class/core/wc4bp-conditionals.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 /** -
wc4bp/trunk/class/core/wc4bp-deprecated.php
r2452220 r2458299 12 12 */ 13 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 19 14 /** 20 15 * Get the tracking page id -
wc4bp/trunk/class/core/wc4bp-helpers.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 /** -
wc4bp/trunk/class/core/wc4bp-redirect.php
r2452220 r2458299 13 13 */ 14 14 15 // No direct access is allowed16 if ( ! defined( 'ABSPATH' ) ) {17 exit;18 }19 15 20 16 /** -
wc4bp/trunk/class/core/wc4bp-screen.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 /** -
wc4bp/trunk/class/core/wc4bp-sync.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 class wc4bp_Sync { -
wc4bp/trunk/class/core/wc4bp-template-compatibility.php
r2452220 r2458299 9 9 */ 10 10 11 // Exit if accessed directly12 if ( ! defined( 'ABSPATH' ) ) {13 exit;14 }15 11 16 12 /** 1.7 compat *****************************************************/ -
wc4bp/trunk/class/includes/class-request-helper.php
r2452220 r2458299 3 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 4 4 5 if ( ! defined( 'WPINC' ) ) { 6 die; 7 } 5 8 6 9 7 if ( ! class_exists( 'Request_Helper' ) ) { -
wc4bp/trunk/class/wc4bp-activity-stream.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 class WC4BP_Activity_Stream { -
wc4bp/trunk/class/wc4bp-base.php
r2452220 r2458299 4 4 5 5 6 // No direct access is allowed7 if ( ! defined( 'ABSPATH' ) ) {8 exit;9 }10 6 11 7 class wc4bp_base { … … 21 17 public $is_paid_trial; 22 18 public $has_paid_plan; 23 19 24 20 static $starter_plan_id = 'starter'; 25 21 static $professional_plan_id = 'professional'; 26 22 static $business_plan_id = 'business'; 27 23 private $plan; 28 24 29 25 public function __construct( $debug = false ) { 30 26 //Comment the next line to disable the forced debug … … 42 38 $this->current_plan = WC4BP_Loader::getFreemius()->get_current_or_network_install(); 43 39 $this->need_account_activation = ( $this->has_paid_plan && ! $this->is_paying && ! $this->is_paid_trial ); 44 40 45 41 return; 46 42 } else if ( ! is_array( $debug ) ) { … … 55 51 $this->is_premium_only = $debug['is_premium_only']; 56 52 $this->is_trial = $debug['trial']; 57 53 58 54 //Set the fake plan 59 55 $this->plan = self::$starter_plan_id; 60 56 } 61 57 62 58 public function disable_class_tag( $tag, $plan = 'professional', $force = false ) { 63 59 if ( ! $this->is_trial ) { … … 67 63 $class = 'wc4bp-disabled'; 68 64 } 69 65 70 66 return 'class="' . $class . '"'; 71 67 } 72 68 } 73 69 74 70 return ''; 75 71 } 76 72 77 73 public function disable_input_tag( $type, $plan = 'professional', $force = false ) { 78 74 if ( ! $this->is_trial ) { … … 87 83 } 88 84 } 89 85 90 86 return $attr; 91 87 } 92 88 93 89 return ''; 94 90 } 95 91 96 92 public function is_plan( $plan_id ) { 97 93 if ( $this->debug ) { … … 100 96 $result = WC4BP_Loader::getFreemius()->is_plan_or_trial( $plan_id ); 101 97 } 102 98 103 99 return $result; 104 100 } 105 101 106 102 public function needs_upgrade() { 107 103 return ( $this->is_free || $this->is_start || $this->is_trial ) && ! $this->is_professional; 108 104 } 109 110 105 106 111 107 } -
wc4bp/trunk/class/wc4bp-exception-handler.php
r2452220 r2458299 13 13 */ 14 14 15 // No direct access is allowed16 if ( ! defined( 'ABSPATH' ) ) {17 exit;18 }19 20 15 if ( ! class_exists( 'WC4BP_Exception_Handler' ) ) { 21 16 class WC4BP_Exception_Handler { … … 24 19 private $internal_prefix = 'exception'; 25 20 private $exception_list; 26 21 27 22 public function __construct() { 28 23 /** … … 38 33 $this->load_exceptions_list(); 39 34 } 40 35 41 36 public function error_handler( $number, $message, $file, $line ) { 42 37 $trace = new stdClass; … … 47 42 $this->save_exception( $trace ); 48 43 } 49 44 50 45 public function save_exception( $trace ) { 51 46 if ( ! empty( $trace ) ) { 52 47 $this->exception_list[ time() ] = $trace; 53 48 54 49 return true; 55 50 } else { … … 57 52 } 58 53 } 59 54 60 55 public function register_exception() { 61 56 if ( ! empty( $this->exception_list ) ) { … … 65 60 } 66 61 } 67 62 68 63 public function get_exception_list() { 69 64 return $this->exception_list; 70 65 } 71 66 72 67 public function load_exceptions_list() { 73 68 if ( empty( $this->exception_list ) ) { … … 82 77 } 83 78 } 84 79 85 80 public static function clean_exceptions() { 86 81 $list_name = self::get_instance()->exception_list_name; 87 82 88 83 return delete_option( $list_name ); 89 84 } 90 85 91 86 /** 92 87 * Return an instance of this class. … … 99 94 self::$instance = new self; 100 95 } 101 96 102 97 return self::$instance; 103 98 } -
wc4bp/trunk/class/wc4bp-manage-admin.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 class wc4bp_Manage_Admin { -
wc4bp/trunk/class/wc4bp-manager.php
r2452220 r2458299 12 12 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 13 13 */ 14 // No direct access is allowed15 if ( !defined( 'ABSPATH' ) ) {16 exit;17 }18 14 class wc4bp_Manager 19 15 { -
wc4bp/trunk/class/wc4bp-myaccount-content.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 class WC4BP_MyAccount_Content { -
wc4bp/trunk/class/wc4bp-myaccount-private.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 // No direct access is allowed14 if ( ! defined( 'ABSPATH' ) ) {15 exit;16 }17 13 18 14 class WC4BP_MyAccount_Private { -
wc4bp/trunk/class/wc4bp-myaccount.php
r2452220 r2458299 12 12 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 13 13 */ 14 // No direct access is allowed15 if ( !defined( 'ABSPATH' ) ) {16 exit;17 }18 14 class WC4BP_MyAccount 19 15 { -
wc4bp/trunk/class/wc4bp-required-php.php
r2452220 r2458299 12 12 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 13 13 */ 14 15 // No direct access is allowed16 if ( ! defined( 'ABSPATH' ) ) {17 exit;18 }19 14 20 15 class WC4BP_Required_PHP extends wc4bp_requirements { -
wc4bp/trunk/class/wc4bp-required.php
r2452220 r2458299 12 12 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 13 13 */ 14 15 // No direct access is allowed16 if ( ! defined( 'ABSPATH' ) ) {17 exit;18 }19 14 20 15 class WC4BP_Required { -
wc4bp/trunk/class/wc4bp-status.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 // No direct access is allowed14 if ( ! defined( 'ABSPATH' ) ) {15 exit;16 }17 13 18 14 class WC4BP_Status { -
wc4bp/trunk/class/wc4bp-upgrade.php
r2452220 r2458299 12 12 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 13 13 */ 14 15 // No direct access is allowed16 if ( ! defined( 'ABSPATH' ) ) {17 exit;18 }19 14 20 15 /** -
wc4bp/trunk/class/wc4bp-woocommerce.php
r2452220 r2458299 11 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 12 12 */ 13 14 // No direct access is allowed15 if ( ! defined( 'ABSPATH' ) ) {16 exit;17 }18 13 19 14 //Manage Woocommerce hooks -
wc4bp/trunk/patch/3.0.14.php
r2452220 r2458299 12 12 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL License 13 13 */ 14 15 // No direct access is allowed16 if ( ! defined( 'ABSPATH' ) ) {17 exit;18 }19 14 20 15 if ( ! class_exists( 'WC4BP_3013' ) ) { -
wc4bp/trunk/readme.txt
r2452220 r2458299 4 4 Requires at least: 4.9 5 5 Tested up to: 5.6 6 Stable tag: 3.3.1 16 Stable tag: 3.3.12 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 114 114 115 115 == Changelog == 116 = 3.3.12 - 18 Jan 2021 = 117 * Update the plugin to fix a release script error causing output php code into the administration. 118 116 119 = 3.3.11 - 7 Jan 2021 = 117 120 * Added a hook filter to let 3rd party force the field visibility. -
wc4bp/trunk/templates/shop/member/plugin.php
r2452220 r2458299 1 <div id="item-body" role="main"> 2 <?php 1 <?php 3 2 4 3 if ( ! defined( 'ABSPATH' ) ) { exit; } 5 4 5 //Leaven empty tag to let automation add the path disclosure line 6 ?> 7 <div id="item-body" role="main"> 8 <?php 6 9 /** 7 10 * @package WordPress -
wc4bp/trunk/wc4bp-basic-integration.php
r2452220 r2458299 10 10 * Author: ThemeKraft 11 11 * Author URI: https://themekraft.com/products/woocommerce-buddypress-integration/ 12 * Version: 3.3.1 112 * Version: 3.3.12 13 13 * Licence: GPLv3 14 14 * Text Domain: wc4bp … … 48 48 * The plugin version 49 49 */ 50 const VERSION = '3.3.1 1' ;50 const VERSION = '3.3.12' ; 51 51 /** 52 52 * Minimum required WP version
Note: See TracChangeset
for help on using the changeset viewer.