Changeset 1538
- Timestamp:
- 05/04/2015 06:58:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/wc-post-types.php
r1537 r1538 278 278 279 279 $attr['show_avatars'] = $this->str_to_bool( $attr['show_avatars'] ); 280 $attr['orderby'] = ( in_array( $attr['orderby'], array( 'date', 'title', 'rand' )) ) ? $attr['orderby'] : 'date';281 $attr['order'] = ( in_array( $attr['order'], array( 'asc', 'desc' )) ) ? $attr['order'] : 'desc';282 $attr['speaker_link'] = ( in_array( $attr['speaker_link'], array( 'permalink' )) ) ? $attr['speaker_link'] : '';280 $attr['orderby'] = in_array( $attr['orderby'], array( 'date', 'title', 'rand' ) ) ? $attr['orderby'] : 'date'; 281 $attr['order'] = in_array( $attr['order'], array( 'asc', 'desc' ) ) ? $attr['order'] : 'desc'; 282 $attr['speaker_link'] = in_array( $attr['speaker_link'], array( 'permalink' ) ) ? $attr['speaker_link'] : ''; 283 283 284 284 /*
Note: See TracChangeset
for help on using the changeset viewer.