Changeset 6106
- Timestamp:
- 11/10/2017 02:17:53 AM (7 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/payment-requests-dashboard.php
r3298 r6106 139 139 } 140 140 141 // Warning/@todo: See note in WCP_Payment_Request::render_status_metabox() 141 142 $back_compat_statuses = array( 142 143 'unpaid' => 'draft', -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/reimbursement-requests-dashboard.php
r3299 r6106 203 203 204 204 // Back-compat. 205 // Warning/@todo: See note in WCP_Payment_Request::render_status_metabox() 205 206 $back_compat_statuses = array( 206 207 'wcbrr_submitted' => 'pending-approval', -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/wordcamp-budgets-dashboard.php
r4396 r6106 16 16 add_action( 'admin_init', __NAMESPACE__ . '\process_action_approve', 11 ); 17 17 add_action( 'admin_init', __NAMESPACE__ . '\process_action_set_pending_payment', 11 ); 18 19 18 add_action( 'admin_init', __NAMESPACE__ . '\process_import_request', 11 ); 20 19 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
r6067 r6106 207 207 wp_nonce_field( 'status', 'status_nonce' ); 208 208 209 /* 210 * @todo Remove $back_compat_statuses everywhere. 211 * 212 * They add a lot of fragility because they're not DRY and the data isn't consistent and 213 * predictable. They appear in many of the modules in both the wordcamp-payments and 214 * wordcamp-payments-network plugins. 215 * 216 * It seems like it'd be much better to just run a script over all sites and convert the 217 * data to the new statuses. Need to investigate why that wasn't done to begin with, in 218 * case there are some problems that make this more complicated than it appears. 219 */ 209 220 $back_compat_statuses = array( 210 221 'unpaid' => 'draft', … … 526 537 527 538 // Back-compat 539 // Warning/@todo: See note in render_status_metabox() 528 540 $back_compat_statuses = array( 529 541 'unpaid' => 'draft', … … 963 975 $post = get_post( $entry->post_id ); 964 976 977 // Warning/@todo: See note in render_status_metabox() 965 978 $back_compat_statuses = array( 966 979 'unpaid' => 'draft', -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/reimbursement-request.php
r6067 r6106 266 266 wp_nonce_field( 'status', 'status_nonce' ); 267 267 268 // Warning/@todo: See note in WCP_Payment_Request::render_status_metabox() 268 269 $back_compat_statuses = array( 269 270 'wcbrr_submitted' => 'wcb-pending-approval', … … 867 868 $post = get_post( $entry->request_id ); 868 869 870 // Warning/@todo: See note in WCP_Payment_Request::render_status_metabox() 869 871 $back_compat_statuses = array( 870 872 'wcbrr_submitted' => 'wcb-pending-approval',
Note: See TracChangeset
for help on using the changeset viewer.