Changeset 6106 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
- Timestamp:
- 11/10/2017 02:17:53 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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',
Note: See TracChangeset
for help on using the changeset viewer.