Changeset 4576
- Timestamp:
- 12/23/2016 05:27:34 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/includes
- Files:
-
- 2 edited
-
common.php (modified) (1 diff)
-
html-badges.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/includes/common.php
r4360 r4576 128 128 $attendee = get_post( $post_id ); 129 129 130 // todo return early to avoid a PHP notice when $attendee isn't a WP_Post, like during cron or 404 130 if ( ! is_a( $attendee, 'WP_Post' ) ) { 131 return $value; 132 } 131 133 132 134 if ( 'tix_attendee' != $attendee->post_type ) { -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/includes/html-badges.php
r4396 r4576 1 1 <?php 2 3 /* 4 * @todo Rework to take advantage of Additional CSS in 4.7, rather than duplicating syntax highlighting, etc 5 */ 2 6 3 7 namespace CampTix\Badge_Generator\HTML;
Note: See TracChangeset
for help on using the changeset viewer.