Changeset 2272 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
- Timestamp:
- 01/11/2016 10:15:37 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
r2201 r2272 941 941 $incomplete_text = get_post_meta( $post->ID, '_wcp_incomplete_notes', true ); 942 942 $incomplete_text = preg_replace( '#\.$#', '', $incomplete_text ); // trailing-undot-it. 943 WordCamp_ Payments::log( $post->ID, sprintf( 'Marked as incomplete by %s: %s.', $user->display_name, $incomplete_text ), array(943 WordCamp_Budgets::log( $post->ID, sprintf( 'Marked as incomplete by %s: %s.', $user->display_name, $incomplete_text ), array( 944 944 'user_id' => $user->ID, 945 945 'action' => 'marked-incomplete', … … 947 947 ) ); 948 948 } elseif ( $new == 'paid' && $old != 'paid' ) { 949 WordCamp_ Payments::log( $post->ID, sprintf( 'Marked as paid by %s.', $user->display_name ), array(949 WordCamp_Budgets::log( $post->ID, sprintf( 'Marked as paid by %s.', $user->display_name ), array( 950 950 'user_id' => $user->ID, 951 951 'action' => 'marked-paid', 952 952 ) ); 953 953 } elseif ( $old == 'auto-draft' && $new != 'auto-draft' ) { 954 WordCamp_ Payments::log( $post->ID, sprintf( 'Request created by %s.', $user->display_name ), array(954 WordCamp_Budgets::log( $post->ID, sprintf( 'Request created by %s.', $user->display_name ), array( 955 955 'user_id' => $user->ID, 956 956 'action' => 'updated', 957 957 ) ); 958 958 } else { 959 WordCamp_ Payments::log( $post->ID, sprintf( 'Request updated by %s.', $user->display_name ), array(959 WordCamp_Budgets::log( $post->ID, sprintf( 'Request updated by %s.', $user->display_name ), array( 960 960 'user_id' => $user->ID, 961 961 'action' => 'updated', … … 982 982 } 983 983 984 remove_action( 'save_post', array( $this, 'save_payment' ), 10 , 2); // avoid infinite recursion984 remove_action( 'save_post', array( $this, 'save_payment' ), 10 ); // avoid infinite recursion 985 985 986 986 foreach( $files as $file_id ) {
Note: See TracChangeset
for help on using the changeset viewer.