Skip to content

Commit

Permalink
'calendar' represents the position of the calendar, and should not be…
Browse files Browse the repository at this point in the history
… included in the help output.
  • Loading branch information
joedolson committed Oct 6, 2024
1 parent 4f81787 commit b514412
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/my-calendar-help.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ function mc_navigation_keywords( $return_type = 'array' ) {
return $keywords;
} else {
$output = '';
unset( $keywords['calendar'] );
foreach ( $keywords as $key => $desc ) {
$output .= '<li><code>' . $key . '</code>' . $desc . '</li>';
}
Expand Down

0 comments on commit b514412

Please sign in to comment.