|
14 | 14 | <td>
|
15 | 15 | <fieldset>
|
16 | 16 | <label for="webmention_disable_selfpings_same_url">
|
17 |
| - <input type="checkbox" name="webmention_disable_selfpings_same_url" id="webmention_disable_selfpings_same_url" value="1" <?php echo checked( true, get_option( 'webmention_disable_selfpings_same_url' ) ); ?> /> |
| 17 | + <input type="checkbox" name="webmention_disable_selfpings_same_url" id="webmention_disable_selfpings_same_url" value="1" <?php checked( true, get_option( 'webmention_disable_selfpings_same_url' ) ); ?> /> |
18 | 18 | <?php esc_html_e( 'Disable self-pings on the same URL', 'webmention' ); ?>
|
19 | 19 | <p class="description"><?php esc_html_e( '(for example "http://example.com/?p=123")', 'webmention' ); ?></p>
|
20 | 20 | </label>
|
21 | 21 |
|
22 | 22 | <br />
|
23 | 23 |
|
24 | 24 | <label for="webmention_disable_selfpings_same_domain">
|
25 |
| - <input type="checkbox" name="webmention_disable_selfpings_same_domain" id="webmention_disable_selfpings_same_domain" value="1" <?php echo checked( true, get_option( 'webmention_disable_selfpings_same_domain' ) ); ?> /> |
| 25 | + <input type="checkbox" name="webmention_disable_selfpings_same_domain" id="webmention_disable_selfpings_same_domain" value="1" <?php checked( true, get_option( 'webmention_disable_selfpings_same_domain' ) ); ?> /> |
26 | 26 | <?php esc_html_e( 'Disable self-pings on the same Domain', 'webmention' ); ?>
|
27 | 27 | <p class="description"><?php esc_html_e( '(for example "example.com")', 'webmention' ); ?></p>
|
28 | 28 | </label>
|
29 | 29 |
|
30 | 30 | <br />
|
31 | 31 |
|
32 | 32 | <label for="webmention_disable_media_mentions">
|
33 |
| - <input type="checkbox" name="webmention_disable_media_mentions" id="webmention_disable_media_mentions" value="1" <?php echo checked( true, get_option( 'webmention_disable_media_mentions' ) ); ?> /> |
| 33 | + <input type="checkbox" name="webmention_disable_media_mentions" id="webmention_disable_media_mentions" value="1" <?php checked( true, get_option( 'webmention_disable_media_mentions' ) ); ?> /> |
34 | 34 | <?php esc_html_e( 'Disable sending Webmentions for media links (image, video, audio)', 'webmention' ); ?>
|
35 | 35 | </label>
|
36 | 36 | </fieldset>
|
|
57 | 57 | <?php foreach ( $post_types as $post_type ) { ?>
|
58 | 58 | <li>
|
59 | 59 | <label for="webmention_support_post_types_<?php echo esc_attr( $post_type->name ); ?>">
|
60 |
| - <input type="checkbox" id="webmention_support_post_types_<?php echo esc_attr( $post_type->name ); ?>" name="webmention_support_post_types[]" value="<?php echo esc_attr( $post_type->name ); ?>" <?php echo checked( true, in_array( $post_type->name, $support_post_types, true ) ); ?> /> |
| 60 | + <input type="checkbox" id="webmention_support_post_types_<?php echo esc_attr( $post_type->name ); ?>" name="webmention_support_post_types[]" value="<?php echo esc_attr( $post_type->name ); ?>" <?php checked( true, in_array( $post_type->name, $support_post_types, true ) ); ?> /> |
61 | 61 | <?php echo esc_html( $post_type->label ); ?>
|
62 | 62 | </label>
|
63 | 63 | </li>
|
|
110 | 110 | <fieldset>
|
111 | 111 | <p>
|
112 | 112 | <label for="webmention_show_comment_form">
|
113 |
| - <input type="checkbox" name="webmention_show_comment_form" id="webmention_show_comment_form" value="1" <?php echo checked( true, get_option( 'webmention_show_comment_form' ) ); ?> /> |
| 113 | + <input type="checkbox" name="webmention_show_comment_form" id="webmention_show_comment_form" value="1" <?php checked( true, get_option( 'webmention_show_comment_form' ) ); ?> /> |
114 | 114 | <?php esc_html_e( 'Show a Webmention form at the comment section, to allow anyone to notify you of a mention.', 'webmention' ); ?>
|
115 | 115 | </label>
|
116 | 116 | </p>
|
|
131 | 131 | <td>
|
132 | 132 | <fieldset>
|
133 | 133 | <label for="webmention_avatars">
|
134 |
| - <input type="checkbox" name="webmention_avatars" id="webmention_avatars" value="1" <?php echo checked( true, get_option( 'webmention_avatars', 1 ) ); ?> /> |
| 134 | + <input type="checkbox" name="webmention_avatars" id="webmention_avatars" value="1" <?php checked( true, get_option( 'webmention_avatars', 1 ) ); ?> /> |
135 | 135 | <?php esc_html_e( 'Show avatars on Webmentions if available.', 'webmention' ); ?>
|
136 | 136 | </label>
|
137 | 137 | </fieldset>
|
|
142 | 142 | <td>
|
143 | 143 | <fieldset>
|
144 | 144 | <label for="webmention_avatar_store_enable">
|
145 |
| - <input type="checkbox" name="webmention_avatar_store_enable" id="webmention_avatar_store_enable" value="1" <?php checked( true, get_option( 'webmention_avatar_store_enable', 1 ) ); ?> /> |
| 145 | + <input type="checkbox" name="webmention_avatar_store_enable" id="webmention_avatar_store_enable" value="1" <?php checked( true, get_option( 'webmention_avatar_store_enable', 0 ) ); ?> /> |
146 | 146 | <?php esc_html_e( 'Enable Local Caching of Avatars.', 'webmention' ); ?>
|
147 | 147 | </label>
|
148 | 148 | </fieldset>
|
|
154 | 154 |
|
155 | 155 | <fieldset>
|
156 | 156 | <label for="webmention_separate_comment">
|
157 |
| - <input type="checkbox" name="webmention_separate_comment" id="webmention_separate_comment" value="1" <?php echo checked( true, get_option( 'webmention_separate_comment', 1 ) ); ?> /> |
| 157 | + <input type="checkbox" name="webmention_separate_comment" id="webmention_separate_comment" value="1" <?php checked( true, get_option( 'webmention_separate_comment', 1 ) ); ?> /> |
158 | 158 | <?php esc_html_e( 'Separate Webmention Types from Comments.', 'webmention' ); ?>
|
159 | 159 | </label>
|
160 | 160 | </fieldset>
|
|
0 commit comments