Skip to content

Commit

Permalink
deploy: 633aa01
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 5, 2025
1 parent 42e9976 commit ba642c5
Show file tree
Hide file tree
Showing 21 changed files with 63 additions and 68 deletions.
4 changes: 2 additions & 2 deletions mc_add_events_url.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1334">line 1334</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1332">line 1332</a>
</li></ul></dd>


Expand Down Expand Up @@ -304,7 +304,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1409">line 1409</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1407">line 1407</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_adminbar_uri.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1350">line 1350</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1348">line 1348</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_convert_locations_select_to_autocomplete.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1930">line 1930</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1928">line 1928</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_custom_spam_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1639">line 1639</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1637">line 1637</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_customize_email_headers.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1575">line 1575</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1573">line 1573</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_disable_mobile_js.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line718">line 718</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line717">line 717</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_disable_spam_checking.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1628">line 1628</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1626">line 1626</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_mail_bcc.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1555">line 1555</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1553">line 1553</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_mail_body.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1597">line 1597</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1595">line 1595</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_mail_from.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1543">line 1543</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1541">line 1541</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_mail_subject.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1586">line 1586</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1584">line 1584</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_mail_to.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1531">line 1531</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1529">line 1529</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_get_current_url.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line991">line 991</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line989">line 989</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_registered_stylesheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line871">line 871</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line870">line 870</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_send_notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1516">line 1516</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line1514">line 1514</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_setup_allowed_sites.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line2488">line 2488</a>
<a href="my-calendar-core.php.html">my-calendar-core.php</a>, <a href="my-calendar-core.php.html#line2486">line 2486</a>
</li></ul></dd>


Expand Down
24 changes: 11 additions & 13 deletions my-calendar-core.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,7 @@
*/
function mc_enqueue_calendar_print_styles() {
$css = mc_generate_css();
$css = wp_filter_nohtml_kses( $css );
echo '&lt;style>' . $css . '&lt;/style>';
echo '&lt;style>' . wp_filter_nohtml_kses( $css ) . '&lt;/style>';
}
add_action( 'mc_print_view_head', 'mc_enqueue_calendar_print_styles' );

Expand Down Expand Up @@ -728,7 +727,7 @@
if ( ! is_wp_error( $response ) || is_array( $response ) ) {
$data = $response['body'];
$bits = explode( '== Upgrade Notice ==', $data );
echo '&lt;/div>&lt;div id="mc-upgrade" class="notice inline notice-warning">&lt;ul>&lt;li>&lt;strong style="color:#c22;">Upgrade Notes:&lt;/strong> ' . str_replace( '* ', '', nl2br( trim( $bits[1] ) ) ) . '&lt;/li>&lt;/ul>';
echo '&lt;/div>&lt;div id="mc-upgrade" class="notice inline notice-warning">&lt;ul>&lt;li>&lt;strong style="color:#c22;">Upgrade Notes:&lt;/strong> ' . esc_html( str_replace( '* ', '', nl2br( trim( $bits[1] ) ) ) ) . '&lt;/li>&lt;/ul>';
}
}

Expand Down Expand Up @@ -961,16 +960,15 @@
if ( '' !== $style_vars ) {
$style_vars = '.mc-main {' . $style_vars . $category_vars . '}';
}

$all_styles = "
?>
&lt;style>
&lt;!--
/* Styles by My Calendar - Joseph C Dolson https://www.joedolson.com/ */
$category_styles
$style_vars
-->
&lt;/style>";
echo $all_styles;
&lt;?php
echo wp_filter_nohtml_kses( $category_styles );
echo wp_filter_nohtml_kses( $style_vars );
?>
&lt;/style>
&lt;?php
}
add_action( 'admin_head', 'mc_admin_head' );

Expand Down Expand Up @@ -2245,7 +2243,7 @@

?>
&lt;form method="post" action="&lt;?php echo esc_url( admin_url( 'admin.php?page=my-calendar-help' ) ); ?>">
&lt;div>&lt;input type="hidden" name="_wpnonce" value="&lt;?php echo wp_create_nonce( 'my-calendar-nonce' ); ?>" />&lt;/div>
&lt;div>&lt;input type="hidden" name="_wpnonce" value="&lt;?php echo esc_attr( wp_create_nonce( 'my-calendar-nonce' ) ); ?>" />&lt;/div>
&lt;div>
&lt;code>&lt;?php echo esc_html( __( 'From:', 'my-calendar' ) . " \"$current_user->display_name\" &amp;lt;$current_user->user_email&amp;gt;" ); ?>&lt;/code>
&lt;/p>
Expand Down Expand Up @@ -2609,7 +2607,7 @@
$upgrade = 'https://www.joedolson.com/awesome/my-calendar-pro/';
$dismiss = admin_url( 'admin.php?page=my-calendar-config&amp;dismiss=promotion' );
// Translators: URL to upgrade.
echo "&lt;div class='notice mc-promotion'>&lt;p>&lt;img src='" . plugins_url( 'images/awd-logo-disc.png', __FILE__ ) . "' alt='Joe Dolson Accessible Web Design' />&lt;span>" . sprintf( __( 'I hope you\'ve enjoyed &lt;strong>My Calendar&lt;/strong>! Take a look at &lt;a href=\'%1$s\'>upgrading to My Calendar Pro&lt;/a> for advanced event management with WordPress! &lt;a href=\'%2$s\' class="button-secondary">Dismiss&lt;/a>', 'my-calendar' ), $upgrade, $dismiss ) . '&lt;/span>&lt;/p>&lt;/div>';
echo "&lt;div class='notice mc-promotion'>&lt;p>&lt;img src='" . esc_url( plugins_url( 'images/awd-logo-disc.png', __FILE__ ) ) . "' alt='Joe Dolson Accessible Web Design' />&lt;span>" . wp_kses_post( sprintf( __( 'I hope you\'ve enjoyed &lt;strong>My Calendar&lt;/strong>! Take a look at &lt;a href=\'%1$s\'>upgrading to My Calendar Pro&lt;/a> for advanced event management with WordPress! &lt;a href=\'%2$s\' class="button-secondary">Dismiss&lt;/a>', 'my-calendar' ), esc_url( $upgrade ), esc_url( $dismiss ) ) ) . '&lt;/span>&lt;/p>&lt;/div>';
}
}
add_action( 'admin_notices', 'mc_promotion_notice', 10 );
Expand Down
38 changes: 19 additions & 19 deletions my-calendar-help.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,24 @@
&lt;ul class='list'>
&lt;?php
if ( ! mc_get_uri( 'boolean' ) ) {
echo '&lt;li>' . __( 'Add the My Calendar shortcode (&lt;code>[my_calendar]&lt;/code>) to a page.', 'my-calendar' ) . '&lt;/li>';
echo '&lt;li>' . __( 'Assign your Calendar Page Location at &lt;code>My Calendar > Settings > General&lt;/code>', 'my-calendar' ) . '&lt;/li>';
echo '&lt;li>' . wp_kses_post( __( 'Add the My Calendar shortcode (&lt;code>[my_calendar]&lt;/code>) to a page.', 'my-calendar' ) ) . '&lt;/li>';
echo '&lt;li>' . wp_kses_post( __( 'Assign your Calendar Page Location at &lt;code>My Calendar > Settings > General&lt;/code>', 'my-calendar' ) ) . '&lt;/li>';
} else {
$permalink = mc_get_uri();
$edit_url = get_edit_post_link( absint( mc_get_option( 'uri_id' ) ) );
// Translators: Calendar link, calendar edit link.
echo '&lt;li>' . sprintf( __( '&lt;a href="%1$s">View your calendar&lt;/a> or &lt;a href="%2$s">Edit the calendar page&lt;/a>', 'my-calendar' ), esc_url( $permalink ), esc_url( $edit_url ) ) . '&lt;/li>';
echo '&lt;li>' . wp_kses_post( sprintf( __( '&lt;a href="%1$s">View your calendar&lt;/a> or &lt;a href="%2$s">Edit the calendar page&lt;/a>', 'my-calendar' ), esc_url( $permalink ), esc_url( $edit_url ) ) ) . '&lt;/li>';
}
$add_categories = admin_url( 'admin.php?page=my-calendar-categories' );
$add_locations = admin_url( 'admin.php?page=my-calendar-locations' );
$edit_events = admin_url( 'admin.php?page=my-calendar-manage' );
$add_events = admin_url( 'admin.php?page=my-calendar' );
// Translators: Add events link, manage events link.
echo '&lt;li>' . sprintf( __( '&lt;a href="%1$s">Add events&lt;/a> and &lt;a href="%2$s">administer your events&lt;/a>.', 'my-calendar' ), esc_url( $add_events ), esc_url( $edit_events ) ) . '&lt;/li>';
echo '&lt;li>' . wp_kses_post( sprintf( __( '&lt;a href="%1$s">Add events&lt;/a> and &lt;a href="%2$s">administer your events&lt;/a>.', 'my-calendar' ), esc_url( $add_events ), esc_url( $edit_events ) ) ) . '&lt;/li>';
// Translators: Add categories link, add locations link.
echo '&lt;li>' . sprintf( __( '&lt;a href="%1$s">Add categories&lt;/a> and &lt;a href="%2$s">add locations&lt;/a>.', 'my-calendar' ), esc_url( $add_categories ), esc_url( $add_locations ) ) . '&lt;/li>';
echo '&lt;li>' . wp_kses_post( sprintf( __( '&lt;a href="%1$s">Add categories&lt;/a> and &lt;a href="%2$s">add locations&lt;/a>.', 'my-calendar' ), esc_url( $add_categories ), esc_url( $add_locations ) ) ) . '&lt;/li>';
// Translators: Documentation URL.
echo '&lt;li>' . sprintf( __( 'When you\'re ready, &lt;a href="%s">read the documentation&lt;/a>.', 'my-calendar' ), 'https://docs.joedolson.com/my-calendar/' ) . '&lt;/li>';
echo '&lt;li>' . wp_kses_post( sprintf( __( 'When you\'re ready, &lt;a href="%s">read the documentation&lt;/a>.', 'my-calendar' ), 'https://docs.joedolson.com/my-calendar/' ) ) . '&lt;/li>';
?>
&lt;/ul>
&lt;?php
Expand All @@ -103,31 +103,31 @@

&lt;div class="inside">
&lt;h3>&lt;?php esc_html_e( 'Custom Styles Locations', 'my-calendar' ); ?>&lt;/h3>
&lt;p>&lt;?php _e( 'My Calendar custom style files can be saved in any of these locations. CSS files in these locations will be selectable from the stylesheet selector.', 'my-calendar' ); ?>&lt;/p>
&lt;p>&lt;?php esc_html_e( 'My Calendar custom style files can be saved in any of these locations. CSS files in these locations will be selectable from the stylesheet selector.', 'my-calendar' ); ?>&lt;/p>
&lt;ul>
&lt;?php
foreach ( mc_custom_dirs() as $dir ) {
echo "&lt;li>&lt;code>$dir&lt;/code>&lt;/li>";
echo '&lt;li>&lt;code>' . esc_html( $dir ) . '&lt;/code>&lt;/li>';
}
?>
&lt;/ul>
&lt;p>
&lt;?php
printf(
// translators: print CSS file name, mobile CSS file name, tablet CSS file name.
__( 'Custom print, mobile, and tablet stylesheet file names: %1$s, %2$s, and %3$s.', 'my-calendar' ),
esc_html__( 'Custom print, mobile, and tablet stylesheet file names: %1$s, %2$s, and %3$s.', 'my-calendar' ),
'&lt;code>mc-print.css&lt;/code>',
'&lt;code>mc-mobile.css&lt;/code>',
'&lt;code>mc-tablet.css&lt;/code>'
)
?>
&lt;/p>
&lt;h3>&lt;?php esc_html_e( 'Custom Template Locations', 'my-calendar' ); ?>&lt;/h3>
&lt;p>&lt;?php _e( 'Default My Calendar templates are found in &lt;code>/wp-content/my-calendar/mc-templates/&lt;/code>. Copy those templates into a &lt;code>/mc-templates/&lt;/code> directory in your theme to customize.', 'my-calendar' ); ?>&lt;/p>
&lt;p>&lt;?php _e( 'Legacy My Calendar templates can be loaded as text files (.txt) from any of the allowed style directory locations.', 'my-calendar' ); ?>&lt;/p>
&lt;p>&lt;?php echo wp_kses_post( __( 'Default My Calendar templates are found in &lt;code>/wp-content/my-calendar/mc-templates/&lt;/code>. Copy those templates into a &lt;code>/mc-templates/&lt;/code> directory in your theme to customize.', 'my-calendar' ) ); ?>&lt;/p>
&lt;p>&lt;?php esc_html_e( 'Legacy My Calendar templates can be loaded as text files (.txt) from any of the allowed style directory locations.', 'my-calendar' ); ?>&lt;/p>
&lt;h3>&lt;?php esc_html_e( 'Custom Icons Location', 'my-calendar' ); ?>&lt;/h3>
&lt;ul>
&lt;li>&lt;code>&lt;?php echo str_replace( '/my-calendar', '', plugin_dir_path( __FILE__ ) ) . 'my-calendar-custom/icons/'; ?>&lt;/code>&lt;/li>
&lt;li>&lt;code>&lt;?php echo esc_html( str_replace( '/my-calendar', '', plugin_dir_path( __FILE__ ) ) ) . 'my-calendar-custom/icons/'; ?>&lt;/code>&lt;/li>
&lt;/ul>
&lt;/div>
&lt;/div>
Expand All @@ -140,21 +140,21 @@
&lt;div class="inside">
&lt;h3>&lt;?php esc_html_e( 'Data Collection by My Calendar', 'my-calendar' ); ?>&lt;/h3>
&lt;p>
&lt;?php _e( 'My Calendar collects no personally identifying data.', 'my-calendar' ); ?>
&lt;?php esc_html_e( 'My Calendar collects no personally identifying data.', 'my-calendar' ); ?>
&lt;/p>
&lt;p>
&lt;?php _e( 'My Calendar Pro, when installed, collects submitter names and email addresses when a public user submits an event from any public event submission form.', 'my-calendar' ); ?>
&lt;?php esc_html_e( 'My Calendar Pro, when installed, collects submitter names and email addresses when a public user submits an event from any public event submission form.', 'my-calendar' ); ?>
&lt;/p>
&lt;h3>&lt;?php esc_html_e( 'Data Sharing by My Calendar', 'my-calendar' ); ?>&lt;/h3>
&lt;p>
&lt;?php _e( 'The names and email addresses of people who author or host events are shared by My Calendar as part of the API output and iCal formatted event output. This data is sourced from user profiles, and will be destroyed or exported with that information.', 'my-calendar' ); ?>
&lt;?php esc_html_e( 'The names and email addresses of people who author or host events are shared by My Calendar as part of the API output and iCal formatted event output. This data is sourced from user profiles, and will be destroyed or exported with that information.', 'my-calendar' ); ?>
&lt;/p>
&lt;p>
&lt;?php _e( 'Events submitted by public users from any public event submission form using My Calendar Pro include names and emails as part of the event data. This data is destroyed when the event is deleted.', 'my-calendar' ); ?>
&lt;?php esc_html_e( 'Events submitted by public users from any public event submission form using My Calendar Pro include names and emails as part of the event data. This data is destroyed when the event is deleted.', 'my-calendar' ); ?>
&lt;/p>
&lt;h3>&lt;?php esc_html_e( 'Data Removal in My Calendar', 'my-calendar' ); ?>&lt;/h3>
&lt;p>
&lt;?php _e( 'My Calendar supports the data export and removal features in WordPress 4.9.6 and later. When a data removal is requested, all events authored using the requested email address will be deleted. All events with that user assigned only as the host will remain, but the host will be changed.', 'my-calendar' ); ?>
&lt;?php esc_html_e( 'My Calendar supports the data export and removal features in WordPress 4.9.6 and later. When a data removal is requested, all events authored using the requested email address will be deleted. All events with that user assigned only as the host will remain, but the host will be changed.', 'my-calendar' ); ?>
&lt;/p>
&lt;/div>
&lt;/div>
Expand All @@ -178,15 +178,15 @@
&lt;p>
&lt;?php
// Translators: Donate URL, Purchase URL.
printf( __( 'Please, consider a &lt;a href="%1$s">donation&lt;/a> or a &lt;a href="%2$s">purchase&lt;/a> to support My Calendar!', 'my-calendar' ), 'https://www.joedolson.com/donate/', 'https://www.joedolson.com/my-calendar/pro/' );
echo wp_kses_post( sprintf( __( 'Please, consider a &lt;a href="%1$s">donation&lt;/a> or a &lt;a href="%2$s">purchase&lt;/a> to support My Calendar!', 'my-calendar' ), 'https://www.joedolson.com/donate/', 'https://www.joedolson.com/my-calendar/pro/' ) );
?>
&lt;/p>
&lt;/div>
&lt;?php
if ( current_user_can( 'administrator' ) ) {
mc_get_support_form();
} else {
_e( 'My Calendar support requests can only be sent by administrators.', 'my-calendar' );
esc_html_e( 'My Calendar support requests can only be sent by administrators.', 'my-calendar' );
}
?>
&lt;/div>
Expand Down
Loading

0 comments on commit ba642c5

Please sign in to comment.