Making WordPress.org


Ignore:
Timestamp:
01/27/2016 07:07:55 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Budgets: Temporarily disable Sponsor Invoices for regular users.

Banking delays have caused the QBO integration to be delayed longer than we expected, so this isn't ready for users yet. Having it in the menu has caused some organizers to start using it, so let's disable it until everything is ready.

It can remain active for super-admins/deputies, so that they can test it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/bootstrap.php

    r2301 r2384  
    1616    require_once( __DIR__ . '/includes/wordcamp-budgets.php' );
    1717    require_once( __DIR__ . '/includes/payment-request.php' );
    18     require_once( __DIR__ . '/includes/sponsor-invoice.php' );
     18    if ( defined( 'WPORG_PROXIED_REQUEST' ) && WPORG_PROXIED_REQUEST ) {
     19        require_once( __DIR__ . '/includes/sponsor-invoice.php' );
     20    }
    1921    require_once( __DIR__ . '/includes/encryption.php' );
    2022
Note: See TracChangeset for help on using the changeset viewer.