equal
deleted
inserted
replaced
48 ); |
48 ); |
49 } |
49 } |
50 |
50 |
51 get_current_screen()->set_help_sidebar( |
51 get_current_screen()->set_help_sidebar( |
52 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . |
52 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . |
53 '<p>' . __( '<a href="https://wordpress.org/support/article/settings-writing-screen/">Documentation on Writing Settings</a>' ) . '</p>' . |
53 '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-writing-screen/">Documentation on Writing Settings</a>' ) . '</p>' . |
54 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' |
54 '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' |
55 ); |
55 ); |
|
56 |
|
57 wp_enqueue_script( 'user-profile' ); |
56 |
58 |
57 require_once ABSPATH . 'wp-admin/admin-header.php'; |
59 require_once ABSPATH . 'wp-admin/admin-header.php'; |
58 ?> |
60 ?> |
59 |
61 |
60 <div class="wrap"> |
62 <div class="wrap"> |
65 |
67 |
66 <table class="form-table" role="presentation"> |
68 <table class="form-table" role="presentation"> |
67 <?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?> |
69 <?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?> |
68 <tr> |
70 <tr> |
69 <th scope="row"><?php _e( 'Formatting' ); ?></th> |
71 <th scope="row"><?php _e( 'Formatting' ); ?></th> |
70 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Formatting' ); ?></span></legend> |
72 <td><fieldset><legend class="screen-reader-text"><span> |
|
73 <?php |
|
74 /* translators: Hidden accessibility text. */ |
|
75 _e( 'Formatting' ); |
|
76 ?> |
|
77 </span></legend> |
71 <label for="use_smilies"> |
78 <label for="use_smilies"> |
72 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked( '1', get_option( 'use_smilies' ) ); ?> /> |
79 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked( '1', get_option( 'use_smilies' ) ); ?> /> |
73 <?php _e( 'Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display' ); ?></label><br /> |
80 <?php _e( 'Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display' ); ?></label><br /> |
74 <label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked( '1', get_option( 'use_balanceTags' ) ); ?> /> <?php _e( 'WordPress should correct invalidly nested XHTML automatically' ); ?></label> |
81 <label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked( '1', get_option( 'use_balanceTags' ) ); ?> /> <?php _e( 'WordPress should correct invalidly nested XHTML automatically' ); ?></label> |
75 </fieldset></td> |
82 </fieldset></td> |
161 </tr> |
168 </tr> |
162 <tr> |
169 <tr> |
163 <th scope="row"><label for="mailserver_login"><?php _e( 'Login Name' ); ?></label></th> |
170 <th scope="row"><label for="mailserver_login"><?php _e( 'Login Name' ); ?></label></th> |
164 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option( 'mailserver_login' ); ?>" class="regular-text ltr" /></td> |
171 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option( 'mailserver_login' ); ?>" class="regular-text ltr" /></td> |
165 </tr> |
172 </tr> |
166 <tr> |
173 <tr class="mailserver-pass-wrap"> |
167 <th scope="row"><label for="mailserver_pass"><?php _e( 'Password' ); ?></label></th> |
174 <th scope="row"> |
168 <td> |
175 <label for="mailserver_pass"> |
169 <input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option( 'mailserver_pass' ); ?>" class="regular-text ltr" /> |
176 <?php _e( 'Password' ); ?> |
170 </td> |
177 </label> |
|
178 </th> |
|
179 <td> |
|
180 <input type="hidden" value=" " /><!-- #24364 workaround --> |
|
181 <span class="wp-pwd"> |
|
182 <input type="text" name="mailserver_pass" id="mailserver_pass" class="regular-text ltr" autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( get_option( 'mailserver_pass' ) ); ?>" /> |
|
183 <button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" data-start-masked="1" aria-label="<?php esc_attr_e( 'Hide password' ); ?>"> |
|
184 <span class="dashicons dashicons-visibility" aria-hidden="true"></span> |
|
185 </button> |
|
186 </span> |
|
187 </td> |
171 </tr> |
188 </tr> |
172 <tr> |
189 <tr> |
173 <th scope="row"><label for="default_email_category"><?php _e( 'Default Mail Category' ); ?></label></th> |
190 <th scope="row"><label for="default_email_category"><?php _e( 'Default Mail Category' ); ?></label></th> |
174 <td> |
191 <td> |
175 <?php |
192 <?php |
199 */ |
216 */ |
200 if ( apply_filters( 'enable_update_services_configuration', true ) ) { |
217 if ( apply_filters( 'enable_update_services_configuration', true ) ) { |
201 ?> |
218 ?> |
202 <h2 class="title"><?php _e( 'Update Services' ); ?></h2> |
219 <h2 class="title"><?php _e( 'Update Services' ); ?></h2> |
203 |
220 |
204 <?php if ( 1 == get_option( 'blog_public' ) ) : ?> |
221 <?php if ( '1' === get_option( 'blog_public' ) ) : ?> |
205 |
222 |
206 <p><label for="ping_sites"> |
223 <p><label for="ping_sites"> |
207 <?php |
224 <?php |
208 printf( |
225 printf( |
209 /* translators: %s: Documentation URL. */ |
226 /* translators: %s: Documentation URL. */ |
210 __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="%s">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ), |
227 __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see the <a href="%s">Update Services</a> documentation article. Separate multiple service URLs with line breaks.' ), |
211 __( 'https://wordpress.org/support/article/update-services/' ) |
228 __( 'https://developer.wordpress.org/advanced-administration/wordpress/update-services/' ) |
212 ); |
229 ); |
213 ?> |
230 ?> |
214 </label></p> |
231 </label></p> |
215 |
232 |
216 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option( 'ping_sites' ) ); ?></textarea> |
233 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option( 'ping_sites' ) ); ?></textarea> |
220 <p> |
237 <p> |
221 <?php |
238 <?php |
222 printf( |
239 printf( |
223 /* translators: 1: Documentation URL, 2: URL to Reading Settings screen. */ |
240 /* translators: 1: Documentation URL, 2: URL to Reading Settings screen. */ |
224 __( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site’s <a href="%2$s">visibility settings</a>.' ), |
241 __( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site’s <a href="%2$s">visibility settings</a>.' ), |
225 __( 'https://wordpress.org/support/article/update-services/' ), |
242 __( 'https://developer.wordpress.org/advanced-administration/wordpress/update-services/' ), |
226 'options-reading.php' |
243 'options-reading.php' |
227 ); |
244 ); |
228 ?> |
245 ?> |
229 </p> |
246 </p> |
230 |
247 |