- Timestamp:
- 08/13/2018 11:52:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-functions.php
r6727 r7607 72 72 * Get all the the entries 73 73 * 74 * @param int $ wordcamp_id74 * @param int $event_id 75 75 * 76 76 * @return array 77 77 */ 78 function wcpt_get_log_entries( $ wordcamp_id ) {78 function wcpt_get_log_entries( $event_id ) { 79 79 /* 80 80 * @todo Rename `_note` meta fields to `_private_note` to make it obvious to devs that the value should be … … 83 83 */ 84 84 $entries = array(); 85 $private_notes = get_post_meta( $ wordcamp_id, '_note' );86 $status_changes = get_post_meta( $ wordcamp_id, '_status_change' );85 $private_notes = get_post_meta( $event_id, '_note' ); 86 $status_changes = get_post_meta( $event_id, '_status_change' ); 87 87 88 88 foreach ( array( 'note' => $private_notes, 'status_change' => $status_changes ) as $entry_type => $raw_entries ) {
Note: See TracChangeset
for help on using the changeset viewer.