Skip to content

Commit

Permalink
Update my-calendar-event-manager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 6, 2025
1 parent 8f4a095 commit dcdbff9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/my-calendar-event-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,6 @@ function my_calendar_manage_screen() {

/**
* Show bulk actions dropdown in event manager.
*
* @return string
*/
function mc_show_bulk_actions() {
$bulk_actions = array(
Expand Down Expand Up @@ -867,10 +865,10 @@ function mc_admin_events_table( $events ) {
$author = ( 0 !== (int) $event->event_author ) ? get_userdata( $event->event_author ) : 'Public Submitter';

if ( 1 === (int) $event->event_flagged && ( isset( $_GET['restrict'] ) && 'flagged' === $_GET['restrict'] ) ) {
$spam = 'spam';
$pending = '';
$spam = 'spam';
$pending = '';
} else {
$spam = '';
$spam = '';
}

$trash = ( '' !== $trashed ) ? ' - ' . __( 'Trash', 'my-calendar' ) : '';
Expand Down

0 comments on commit dcdbff9

Please sign in to comment.