diff --git src/wp-admin/about.php src/wp-admin/about.php
index 3cdd964a4c..0e37a291be 100644
|
|
|
require_once ABSPATH . 'wp-admin/admin-header.php';
|
| 59 | 59 | <div class="about__section has-2-columns"> |
| 60 | 60 | <div class="column is-edge-to-edge has-accent-background-color"> |
| 61 | 61 | <div class="about__image aligncenter"> |
| 62 | | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" /> |
| | 62 | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='https://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" /> |
| 63 | 63 | </div> |
| 64 | 64 | </div> |
| 65 | 65 | <div class="column is-vertically-aligned-center"> |
| … |
… |
require_once ABSPATH . 'wp-admin/admin-header.php';
|
| 96 | 96 | </div> |
| 97 | 97 | <div class="column is-edge-to-edge has-accent-background-color"> |
| 98 | 98 | <div class="about__image aligncenter"> |
| 99 | | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt=""> |
| | 99 | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' xmlns='https://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt=""> |
| 100 | 100 | </div> |
| 101 | 101 | </div> |
| 102 | 102 | </div> |
| … |
… |
require_once ABSPATH . 'wp-admin/admin-header.php';
|
| 153 | 153 | <div class="about__section"> |
| 154 | 154 | <div class="column is-edge-to-edge"> |
| 155 | 155 | <div class="about__image aligncenter"> |
| 156 | | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='498' viewbox='0 0 1000 498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" /> |
| | 156 | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='498' viewbox='0 0 1000 498' xmlns='https://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" /> |
| 157 | 157 | </div> |
| 158 | 158 | </div> |
| 159 | 159 | </div> |
diff --git src/wp-admin/credits.php src/wp-admin/credits.php
index 6dad50bdce..99ae36f9c7 100644
|
|
|
$credits = wp_credits();
|
| 75 | 75 | </div> |
| 76 | 76 | |
| 77 | 77 | <div class="about__image aligncenter"> |
| 78 | | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1320' height='350' viewbox='0 0 1320 350' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 61 220)' fill='%23321017'/%3E%3Crect width='72' height='250' transform='matrix(1 0 0 -1 166 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 272 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 378 220)' fill='%235F1B29'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 483 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 587 220)' fill='%235F1B29'/%3E%3Crect width='71.28' height='250' transform='matrix(1 0 0 -1 689 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 884 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 789 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 985 220)' fill='%23321017'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1084 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1179 220)' fill='%233D0F19'/%3E%3C/svg%3E%0A" alt="" /> |
| | 78 | <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1320' height='350' viewbox='0 0 1320 350' xmlns='https://www.w3.org/2000/svg'%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 61 220)' fill='%23321017'/%3E%3Crect width='72' height='250' transform='matrix(1 0 0 -1 166 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 272 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 378 220)' fill='%235F1B29'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 483 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 587 220)' fill='%235F1B29'/%3E%3Crect width='71.28' height='250' transform='matrix(1 0 0 -1 689 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 884 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 789 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 985 220)' fill='%23321017'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1084 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1179 220)' fill='%233D0F19'/%3E%3C/svg%3E%0A" alt="" /> |
| 79 | 79 | </div> |
| 80 | 80 | </div> |
| 81 | 81 | |
diff --git src/wp-admin/edit-link-form.php src/wp-admin/edit-link-form.php
index d2733282c0..2530cdb93a 100644
|
|
|
get_current_screen()->add_help_tab(
|
| 67 | 67 | 'content' => |
| 68 | 68 | '<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' . |
| 69 | 69 | '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' . |
| 70 | | '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>', |
| | 70 | '<p>' . __( 'XFN stands for <a href="https://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>', |
| 71 | 71 | ) |
| 72 | 72 | ); |
| 73 | 73 | |
| … |
… |
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
|
| 122 | 122 | <h2><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2> |
| 123 | 123 | <div class="inside"> |
| 124 | 124 | <input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" /> |
| 125 | | <p><?php _e( 'Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>' ); ?></p> |
| | 125 | <p><?php _e( 'Example: <code>https://wordpress.org/</code> — don’t forget the <code>http://</code>' ); ?></p> |
| 126 | 126 | </div> |
| 127 | 127 | </div> |
| 128 | 128 | |
diff --git src/wp-admin/includes/class-wp-theme-install-list-table.php src/wp-admin/includes/class-wp-theme-install-list-table.php
index 04594edaa0..88fbf8f061 100644
|
|
|
class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
|
| 250 | 250 | * @type string $slug Theme slug, e.g. 'twentytwenty'. |
| 251 | 251 | * @type string $version Theme version, e.g. '1.1'. |
| 252 | 252 | * @type string $author Theme author username, e.g. 'melchoyce'. |
| 253 | | * @type string $preview_url Preview URL, e.g. 'http://2020.wordpress.net/'. |
| | 253 | * @type string $preview_url Preview URL, e.g. 'https://2020.wordpress.net/'. |
| 254 | 254 | * @type string $screenshot_url Screenshot URL, e.g. 'https://wordpress.org/themes/twentytwenty/'. |
| 255 | 255 | * @type float $rating Rating score. |
| 256 | 256 | * @type int $num_ratings The number of ratings. |
diff --git src/wp-admin/includes/export.php src/wp-admin/includes/export.php
index 057e59f3dd..db3dd682e2 100644
|
|
|
function export_wp( $args = array() ) {
|
| 457 | 457 | |
| 458 | 458 | <?php the_generator( 'export' ); ?> |
| 459 | 459 | <rss version="2.0" |
| 460 | | xmlns:excerpt="http://wordpress.org/export/<?php echo WXR_VERSION; ?>/excerpt/" |
| | 460 | xmlns:excerpt="https://wordpress.org/export/<?php echo WXR_VERSION; ?>/excerpt/" |
| 461 | 461 | xmlns:content="http://purl.org/rss/1.0/modules/content/" |
| 462 | 462 | xmlns:wfw="http://wellformedweb.org/CommentAPI/" |
| 463 | 463 | xmlns:dc="http://purl.org/dc/elements/1.1/" |
| 464 | | xmlns:wp="http://wordpress.org/export/<?php echo WXR_VERSION; ?>/" |
| | 464 | xmlns:wp="https://wordpress.org/export/<?php echo WXR_VERSION; ?>/" |
| 465 | 465 | > |
| 466 | 466 | |
| 467 | 467 | <channel> |
diff --git src/wp-admin/includes/meta-boxes.php src/wp-admin/includes/meta-boxes.php
index 8e3ec6fb1c..8aeca12cf4 100644
|
|
|
function link_xfn_meta_box( $link ) {
|
| 1213 | 1213 | ?> |
| 1214 | 1214 | <table class="links-table"> |
| 1215 | 1215 | <tr> |
| 1216 | | <th scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'rel:' ); ?></label></th> |
| | 1216 | <th scope="row"><label for="link_rel"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'rel:' ); ?></label></th> |
| 1217 | 1217 | <td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset( $link->link_rel ) ? esc_attr( $link->link_rel ) : '' ); ?>" /></td> |
| 1218 | 1218 | </tr> |
| 1219 | 1219 | <tr> |
| 1220 | | <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'identity' ); ?></th> |
| 1221 | | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'identity' ); ?></span></legend> |
| | 1220 | <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'identity' ); ?></th> |
| | 1221 | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'identity' ); ?></span></legend> |
| 1222 | 1222 | <label for="me"> |
| 1223 | 1223 | <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check( 'identity', 'me' ); ?> /> |
| 1224 | 1224 | <?php _e( 'another web address of mine' ); ?></label> |
| 1225 | 1225 | </fieldset></td> |
| 1226 | 1226 | </tr> |
| 1227 | 1227 | <tr> |
| 1228 | | <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'friendship' ); ?></th> |
| 1229 | | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'friendship' ); ?></span></legend> |
| | 1228 | <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friendship' ); ?></th> |
| | 1229 | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friendship' ); ?></span></legend> |
| 1230 | 1230 | <label for="contact"> |
| 1231 | | <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check( 'friendship', 'contact' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'contact' ); ?> |
| | 1231 | <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check( 'friendship', 'contact' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'contact' ); ?> |
| 1232 | 1232 | </label> |
| 1233 | 1233 | <label for="acquaintance"> |
| 1234 | | <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check( 'friendship', 'acquaintance' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'acquaintance' ); ?> |
| | 1234 | <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check( 'friendship', 'acquaintance' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'acquaintance' ); ?> |
| 1235 | 1235 | </label> |
| 1236 | 1236 | <label for="friend"> |
| 1237 | | <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check( 'friendship', 'friend' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'friend' ); ?> |
| | 1237 | <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check( 'friendship', 'friend' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friend' ); ?> |
| 1238 | 1238 | </label> |
| 1239 | 1239 | <label for="friendship"> |
| 1240 | | <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| | 1240 | <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1241 | 1241 | </label> |
| 1242 | 1242 | </fieldset></td> |
| 1243 | 1243 | </tr> |
| 1244 | 1244 | <tr> |
| 1245 | | <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'physical' ); ?> </th> |
| 1246 | | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'physical' ); ?></span></legend> |
| | 1245 | <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'physical' ); ?> </th> |
| | 1246 | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'physical' ); ?></span></legend> |
| 1247 | 1247 | <label for="met"> |
| 1248 | | <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check( 'physical', 'met' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'met' ); ?> |
| | 1248 | <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check( 'physical', 'met' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'met' ); ?> |
| 1249 | 1249 | </label> |
| 1250 | 1250 | </fieldset></td> |
| 1251 | 1251 | </tr> |
| 1252 | 1252 | <tr> |
| 1253 | | <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'professional' ); ?> </th> |
| 1254 | | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'professional' ); ?></span></legend> |
| | 1253 | <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'professional' ); ?> </th> |
| | 1254 | <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'professional' ); ?></span></legend> |
| 1255 | 1255 | <label for="co-worker"> |
| 1256 | | <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check( 'professional', 'co-worker' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'co-worker' ); ?> |
| | 1256 | <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check( 'professional', 'co-worker' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'co-worker' ); ?> |
| 1257 | 1257 | </label> |
| 1258 | 1258 | <label for="colleague"> |
| 1259 | | <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check( 'professional', 'colleague' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'colleague' ); ?> |
| | 1259 | <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check( 'professional', 'colleague' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'colleague' ); ?> |
| 1260 | 1260 | </label> |
| 1261 | 1261 | </fieldset></td> |
| 1262 | 1262 | </tr> |
| 1263 | 1263 | <tr> |
| 1264 | | <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'geographical' ); ?></th> |
| 1265 | | <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'geographical' ); ?> </span></legend> |
| | 1264 | <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'geographical' ); ?></th> |
| | 1265 | <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'geographical' ); ?> </span></legend> |
| 1266 | 1266 | <label for="co-resident"> |
| 1267 | | <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check( 'geographical', 'co-resident' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'co-resident' ); ?> |
| | 1267 | <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check( 'geographical', 'co-resident' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'co-resident' ); ?> |
| 1268 | 1268 | </label> |
| 1269 | 1269 | <label for="neighbor"> |
| 1270 | | <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check( 'geographical', 'neighbor' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'neighbor' ); ?> |
| | 1270 | <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check( 'geographical', 'neighbor' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'neighbor' ); ?> |
| 1271 | 1271 | </label> |
| 1272 | 1272 | <label for="geographical"> |
| 1273 | | <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| | 1273 | <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1274 | 1274 | </label> |
| 1275 | 1275 | </fieldset></td> |
| 1276 | 1276 | </tr> |
| 1277 | 1277 | <tr> |
| 1278 | | <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'family' ); ?></th> |
| 1279 | | <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'family' ); ?> </span></legend> |
| | 1278 | <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'family' ); ?></th> |
| | 1279 | <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'family' ); ?> </span></legend> |
| 1280 | 1280 | <label for="child"> |
| 1281 | | <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check( 'family', 'child' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'child' ); ?> |
| | 1281 | <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check( 'family', 'child' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'child' ); ?> |
| 1282 | 1282 | </label> |
| 1283 | 1283 | <label for="kin"> |
| 1284 | | <input class="valinp" type="radio" name="family" value="kin" id="kin" <?php xfn_check( 'family', 'kin' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'kin' ); ?> |
| | 1284 | <input class="valinp" type="radio" name="family" value="kin" id="kin" <?php xfn_check( 'family', 'kin' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'kin' ); ?> |
| 1285 | 1285 | </label> |
| 1286 | 1286 | <label for="parent"> |
| 1287 | | <input class="valinp" type="radio" name="family" value="parent" id="parent" <?php xfn_check( 'family', 'parent' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'parent' ); ?> |
| | 1287 | <input class="valinp" type="radio" name="family" value="parent" id="parent" <?php xfn_check( 'family', 'parent' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'parent' ); ?> |
| 1288 | 1288 | </label> |
| 1289 | 1289 | <label for="sibling"> |
| 1290 | | <input class="valinp" type="radio" name="family" value="sibling" id="sibling" <?php xfn_check( 'family', 'sibling' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'sibling' ); ?> |
| | 1290 | <input class="valinp" type="radio" name="family" value="sibling" id="sibling" <?php xfn_check( 'family', 'sibling' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'sibling' ); ?> |
| 1291 | 1291 | </label> |
| 1292 | 1292 | <label for="spouse"> |
| 1293 | | <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check( 'family', 'spouse' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'spouse' ); ?> |
| | 1293 | <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check( 'family', 'spouse' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'spouse' ); ?> |
| 1294 | 1294 | </label> |
| 1295 | 1295 | <label for="family"> |
| 1296 | | <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| | 1296 | <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1297 | 1297 | </label> |
| 1298 | 1298 | </fieldset></td> |
| 1299 | 1299 | </tr> |
| 1300 | 1300 | <tr> |
| 1301 | | <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'romantic' ); ?></th> |
| 1302 | | <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'romantic' ); ?> </span></legend> |
| | 1301 | <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'romantic' ); ?></th> |
| | 1302 | <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'romantic' ); ?> </span></legend> |
| 1303 | 1303 | <label for="muse"> |
| 1304 | | <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check( 'romantic', 'muse' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'muse' ); ?> |
| | 1304 | <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check( 'romantic', 'muse' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'muse' ); ?> |
| 1305 | 1305 | </label> |
| 1306 | 1306 | <label for="crush"> |
| 1307 | | <input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <?php xfn_check( 'romantic', 'crush' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'crush' ); ?> |
| | 1307 | <input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <?php xfn_check( 'romantic', 'crush' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'crush' ); ?> |
| 1308 | 1308 | </label> |
| 1309 | 1309 | <label for="date"> |
| 1310 | | <input class="valinp" type="checkbox" name="romantic" value="date" id="date" <?php xfn_check( 'romantic', 'date' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'date' ); ?> |
| | 1310 | <input class="valinp" type="checkbox" name="romantic" value="date" id="date" <?php xfn_check( 'romantic', 'date' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'date' ); ?> |
| 1311 | 1311 | </label> |
| 1312 | 1312 | <label for="romantic"> |
| 1313 | | <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check( 'romantic', 'sweetheart' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'sweetheart' ); ?> |
| | 1313 | <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check( 'romantic', 'sweetheart' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'sweetheart' ); ?> |
| 1314 | 1314 | </label> |
| 1315 | 1315 | </fieldset></td> |
| 1316 | 1316 | </tr> |
| 1317 | 1317 | |
| 1318 | 1318 | </table> |
| 1319 | | <p><?php _e( 'If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out <a href="http://gmpg.org/xfn/">XFN</a>.' ); ?></p> |
| | 1319 | <p><?php _e( 'If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out <a href="https://gmpg.org/xfn/">XFN</a>.' ); ?></p> |
| 1320 | 1320 | <?php |
| 1321 | 1321 | } |
| 1322 | 1322 | |
diff --git src/wp-admin/includes/template.php src/wp-admin/includes/template.php
index a6f74722cf..beba775da1 100644
|
|
|
function _wp_admin_html_begin() {
|
| 2425 | 2425 | ?> |
| 2426 | 2426 | <!DOCTYPE html> |
| 2427 | 2427 | <!--[if IE 8]> |
| 2428 | | <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" |
| | 2428 | <html xmlns="https://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" |
| 2429 | 2429 | <?php |
| 2430 | 2430 | /** |
| 2431 | 2431 | * Fires inside the HTML tag in the admin header. |
| … |
… |
function _wp_admin_html_begin() {
|
| 2439 | 2439 | > |
| 2440 | 2440 | <![endif]--> |
| 2441 | 2441 | <!--[if !(IE 8) ]><!--> |
| 2442 | | <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" |
| | 2442 | <html xmlns="https://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" |
| 2443 | 2443 | <?php |
| 2444 | 2444 | /** This action is documented in wp-admin/includes/template.php */ |
| 2445 | 2445 | do_action( 'admin_xml_ns' ); |
diff --git src/wp-admin/install.php src/wp-admin/install.php
index 2168c03e18..8ebf934118 100644
|
|
|
|
| 10 | 10 | if ( false ) { |
| 11 | 11 | ?> |
| 12 | 12 | <!DOCTYPE html> |
| 13 | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | 13 | <html xmlns="https://www.w3.org/1999/xhtml"> |
| 14 | 14 | <head> |
| 15 | 15 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 16 | 16 | <title>Error: PHP is not running</title> |
| … |
… |
function display_header( $body_classes = '' ) {
|
| 65 | 65 | } |
| 66 | 66 | ?> |
| 67 | 67 | <!DOCTYPE html> |
| 68 | | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| | 68 | <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| 69 | 69 | <head> |
| 70 | 70 | <meta name="viewport" content="width=device-width" /> |
| 71 | 71 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
diff --git src/wp-admin/maint/repair.php src/wp-admin/maint/repair.php
index e6bc2418da..f5e99df2a5 100644
|
|
|
require_once dirname( dirname( __DIR__ ) ) . '/wp-load.php';
|
| 12 | 12 | header( 'Content-Type: text/html; charset=utf-8' ); |
| 13 | 13 | ?> |
| 14 | 14 | <!DOCTYPE html> |
| 15 | | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| | 15 | <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| 16 | 16 | <head> |
| 17 | 17 | <meta name="viewport" content="width=device-width" /> |
| 18 | 18 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
diff --git src/wp-admin/setup-config.php src/wp-admin/setup-config.php
index 7b38b9f412..b29399263f 100644
|
|
|
function setup_config_display_header( $body_classes = array() ) {
|
| 104 | 104 | header( 'Content-Type: text/html; charset=utf-8' ); |
| 105 | 105 | ?> |
| 106 | 106 | <!DOCTYPE html> |
| 107 | | <html xmlns="http://www.w3.org/1999/xhtml"<?php echo $dir_attr; ?>> |
| | 107 | <html xmlns="https://www.w3.org/1999/xhtml"<?php echo $dir_attr; ?>> |
| 108 | 108 | <head> |
| 109 | 109 | <meta name="viewport" content="width=device-width" /> |
| 110 | 110 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
diff --git src/wp-admin/site-health-info.php src/wp-admin/site-health-info.php
index 53b336074d..27d0a60719 100644
|
|
|
require_once ABSPATH . 'wp-admin/admin-header.php';
|
| 38 | 38 | |
| 39 | 39 | <div class="health-check-title-section site-health-progress-wrapper loading hide-if-no-js"> |
| 40 | 40 | <div class="site-health-progress"> |
| 41 | | <svg role="img" aria-hidden="true" focusable="false" width="100%" height="100%" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg"> |
| | 41 | <svg role="img" aria-hidden="true" focusable="false" width="100%" height="100%" viewBox="0 0 200 200" version="1.1" xmlns="https://www.w3.org/2000/svg"> |
| 42 | 42 | <circle r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle> |
| 43 | 43 | <circle id="bar" r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle> |
| 44 | 44 | </svg> |
diff --git src/wp-admin/site-health.php src/wp-admin/site-health.php
index fb0d5c60f1..673eb3a6fb 100644
|
|
|
require_once ABSPATH . 'wp-admin/admin-header.php';
|
| 43 | 43 | |
| 44 | 44 | <div class="health-check-title-section site-health-progress-wrapper loading hide-if-no-js"> |
| 45 | 45 | <div class="site-health-progress"> |
| 46 | | <svg role="img" aria-hidden="true" focusable="false" width="100%" height="100%" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg"> |
| | 46 | <svg role="img" aria-hidden="true" focusable="false" width="100%" height="100%" viewBox="0 0 200 200" version="1.1" xmlns="https://www.w3.org/2000/svg"> |
| 47 | 47 | <circle r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle> |
| 48 | 48 | <circle id="bar" r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle> |
| 49 | 49 | </svg> |
diff --git src/wp-admin/upgrade.php src/wp-admin/upgrade.php
index 2d27f50c21..783b78657b 100644
|
|
|
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) {
|
| 56 | 56 | header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); |
| 57 | 57 | ?> |
| 58 | 58 | <!DOCTYPE html> |
| 59 | | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| | 59 | <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| 60 | 60 | <head> |
| 61 | 61 | <meta name="viewport" content="width=device-width" /> |
| 62 | 62 | <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" /> |