Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/form/index.asset.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/form/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Edit = () => {
<p className="webmention-form__source">
<label htmlFor="webmention-source-preview">
{ __(
'Replied on your own website? Enter the URL of your post:',
'Replied on your own website? Enter the URL of your post to let me know:',
'webmention'
) }
</label>
Expand Down
5 changes: 3 additions & 2 deletions templates/comment-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
?>
<form id="<?php echo $webmention_id( 'form' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" <?php echo $args['wrapper_attributes'] ? $args['wrapper_attributes'] : 'class="webmention-form"'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> action="<?php echo esc_url( get_webmention_endpoint() ); ?>" method="post">
<p class="webmention-form__source">
<label for="<?php echo $webmention_id( 'source' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"><?php esc_html_e( 'Replied on your own website? Enter the URL of your post:', 'webmention' ); ?></label>
<label for="<?php echo $webmention_id( 'source' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"><?php esc_html_e( 'Replied on your own website? Enter the URL of your post to let me know:', 'webmention' ); ?></label>
<input id="<?php echo $webmention_id( 'source' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" class="webmention-source" type="url" autocomplete="url" required pattern="^https?:\/\/(.*)" name="source" placeholder="https://" aria-describedby="<?php echo $webmention_id( 'source-description' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" />
</p>
<div class="webmention-form__submit">
<input id="<?php echo $webmention_id( 'submit' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" class="webmention-submit wp-element-button wp-block-button__link" type="submit" name="submit" value="<?php echo esc_attr( apply_filters( 'webmention_form_submit_text', __( 'Ping me!', 'webmention' ) ) ); ?>" />
<?php $webmention_submit_text = apply_filters( 'webmention_form_submit_text', __( 'Ping me!', 'webmention' ) ); ?>
<button id="<?php echo $webmention_id( 'submit' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" class="webmention-submit wp-element-button wp-block-button__link" type="submit" name="submit" value="<?php echo esc_attr( $webmention_submit_text ); ?>"><?php echo esc_html( $webmention_submit_text ); ?></button>
<details class="webmention-form__help">
<summary><?php esc_html_e( 'How does this work?', 'webmention' ); ?></summary>
<div id="<?php echo $webmention_id( 'source-description' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
Expand Down
Loading