diff --git wordcamp.org/public_html/wp-content/plugins/wcpt/css/applications/admin.css wordcamp.org/public_html/wp-content/plugins/wcpt/css/applications/admin.css
index 2bd529463..d1d50a6d7 100644
|
|
span.swag-needed-icon { |
14 | 14 | |
15 | 15 | #post-body input[type=text] { |
16 | 16 | width: 50%; |
17 | | } |
18 | | No newline at end of file |
| 17 | } |
| 18 | |
| 19 | #wcpt_log .widefat th p:first-of-type { |
| 20 | margin-top: 0; |
| 21 | } |
| 22 | |
| 23 | #wcpt_log .widefat th p:last-of-type { |
| 24 | margin-bottom: 0; |
| 25 | } |
| 26 | |
| 27 | #wcpt_log .widefat td p, |
| 28 | #wcpt_log .widefat th p { |
| 29 | color: #777; |
| 30 | } |
| 31 | |
| 32 | #wcpt_log .widefat tr.note td, |
| 33 | #wcpt_log .widefat tr.note th { |
| 34 | vertical-align:top; |
| 35 | } |
| 36 | |
| 37 | #wcpt_log .widefat tr.note td p, |
| 38 | #wcpt_log .widefat tr.note th p { |
| 39 | color: #222; |
| 40 | } |
diff --git wordcamp.org/public_html/wp-content/plugins/wcpt/views/common/metabox-log.php wordcamp.org/public_html/wp-content/plugins/wcpt/views/common/metabox-log.php
index 4f85e8361..3ed5a62b5 100644
|
|
|
14 | 14 | <?php if ( $entries ) : ?> |
15 | 15 | |
16 | 16 | <?php foreach ( $entries as $entry ) : ?> |
17 | | <tr> |
18 | | <th><?php echo esc_html( date( 'Y-m-d h:ia', $entry['timestamp'] ) ); ?></th> |
19 | | <th><?php echo esc_html( ucwords( str_replace( '_', ' ', $entry['type'] ) ) ); ?></th> |
20 | | <th><?php echo esc_html( $entry['user_display_name'] ); ?></th> |
21 | | <th><?php echo wp_kses( $entry['message'], wp_kses_allowed_html( 'data') ); ?></th> |
| 17 | <tr class="<?php echo esc_attr( str_replace( '_', '-', $entry['type'] ) ) ?>"> |
| 18 | <th><p><?php echo esc_html( date( 'Y-m-d h:ia', $entry['timestamp'] ) ); ?></p></th> |
| 19 | <th><p><?php echo esc_html( ucwords( str_replace( '_', ' ', $entry['type'] ) ) ); ?></p></th> |
| 20 | <th><p><?php echo esc_html( $entry['user_display_name'] ); ?></p></th> |
| 21 | <th><?php echo wpautop( wp_kses( $entry['message'], wp_kses_allowed_html( 'data') ) ); ?></th> |
22 | 22 | </tr> |
23 | 23 | <?php endforeach; ?> |
24 | 24 | |
diff --git wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/class-event-admin.php wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/class-event-admin.php
index ff8861e33..401268039 100644
|
|
abstract class Event_Admin { |
518 | 518 | |
519 | 519 | check_admin_referer( 'wcpt_notes', 'wcpt_notes_nonce' ); |
520 | 520 | |
521 | | $new_note_message = sanitize_text_field( wp_unslash( $_POST['wcpt_new_note'] ) ); |
| 521 | $new_note_message = sanitize_textarea_field( wp_unslash( $_POST['wcpt_new_note'] ) ); |
522 | 522 | |
523 | 523 | if ( empty( $new_note_message ) ) { |
524 | 524 | return; |