Skip to content

Commit

Permalink
Sniff checks
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 5, 2025
1 parent 28f7008 commit 2ff8c20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/my-calendar-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -2134,7 +2134,7 @@ function mc_location_controls() {
$class = 'active-limit';
$active = ' (' . __( 'active limits', 'my-calendar' ) . ')';
}
$holder = strtolower( $label ) . ',' . ucfirst( $label );
$holder = strtolower( $label ) . ',' . ucfirst( $label );
// Translators: Name of field being restricted.
$field_label = sprintf( __( 'Controls for %s', 'my-calendar' ), ucfirst( $label ) )
?>
Expand Down
6 changes: 2 additions & 4 deletions src/my-calendar-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,10 @@ function mc_test_contrast( $color1, $color2 ) {

/**
* Display stylesheet selector as added component in sidebar.
*
* @return string
*/
function mc_stylesheet_selector() {
$dir = plugin_dir_path( __DIR__ );
$options = '';
$dir = plugin_dir_path( __DIR__ );
$options = '';
?>
<div class="style-selector">
<form method="post" action="<?php echo esc_url( admin_url( 'admin.php?page=my-calendar-design' ) ); ?>">
Expand Down

0 comments on commit 2ff8c20

Please sign in to comment.