Changeset 2835
- Timestamp:
- 03/28/2016 09:00:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r2832 r2835 649 649 */ 650 650 public function log_status_changes( $new_status, $old_status, $post ) { 651 $statues = WordCamp_Loader::get_post_statuses(); 652 651 653 if ( $new_status === $old_status ) { 652 654 return; … … 660 662 'timestamp' => time(), 661 663 'user_id' => get_current_user_id(), 662 'message' => sprintf( '%s -> %s', $ old_status, $new_status ), /// todo use get_status_name() when it's ready664 'message' => sprintf( '%s -> %s', $statues[ $old_status ], $statues[ $new_status ] ), 663 665 ) ); 664 666 }
Note: See TracChangeset
for help on using the changeset viewer.