Skip to content

Commit

Permalink
Update my-calendar-templating.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Dec 17, 2024
1 parent e09abd4 commit 151902c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/my-calendar-templating.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ function mc_php_templates_docs() {
$theme_name = $theme->get( 'Name' );
$theme_parent = $theme->get( 'Template' );
if ( '' === $theme_parent ) {
wp_admin_notice(
wp_admin_notice(
// translators: The name of the currently active theme.
sprintf( __( 'Your current theme, %s, is not a child theme. Updates to your theme will delete custom My Calendar templates.', 'my-calendar' ), $theme_name ),
array(
'type' => 'error',
Expand Down

0 comments on commit 151902c

Please sign in to comment.