Making WordPress.org


Ignore:
Timestamp:
03/28/2016 10:55:40 PM (10 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Show status name instead of slug in new WordCamp log entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-functions.php

    r2784 r2837  
    106106function wcpt_get_log_entries( $wordcamp_id ) {
    107107    $entries        = array();
    108     $notes          = get_post_meta( $wordcamp_id, '_note'          );  // todo better key name?
    109     $status_changes = get_post_meta( $wordcamp_id, '_status_change' );  // todo better key name? if yes, update get_last_status_update_time_diff too
     108    $notes          = get_post_meta( $wordcamp_id, '_note'          );
     109    $status_changes = get_post_meta( $wordcamp_id, '_status_change' );
    110110
    111111    foreach ( array( 'note' => $notes, 'status_change' => $status_changes ) as $entry_type => $raw_entries ) {
Note: See TracChangeset for help on using the changeset viewer.