@@ -1228,12 +1228,7 @@ function link_categories_meta_box( $link ) {
12281228function link_target_meta_box ( $ link ) {
12291229
12301230 ?>
1231- <fieldset><legend class="screen-reader-text"><span>
1232- <?php
1233- /* translators: Hidden accessibility text. */
1234- _e ( 'Target ' );
1235- ?>
1236- </span></legend>
1231+ <fieldset><legend class="screen-reader-text"><span><?php _e ( 'Target ' ); ?> </span></legend>
12371232<p><label for="link_target_blank" class="selectit">
12381233<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset ( $ link ->link_target ) && ( '_blank ' === $ link ->link_target ) ? 'checked="checked" ' : '' ); ?> />
12391234 <?php _e ( '<code>_blank</code> — new window or tab. ' ); ?> </label></p>
@@ -1321,29 +1316,21 @@ function link_xfn_meta_box( $link ) {
13211316 <th scope="row"><label for="link_rel"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( 'rel: ' ); ?> </label></th>
13221317 <td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset ( $ link ->link_rel ) ? esc_attr ( $ link ->link_rel ) : '' ); ?> " /></td>
13231318 </tr>
1319+ <?php $ identity_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __ ( 'identity ' ); ?>
13241320 <tr>
1325- <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( ' identity ' ) ; ?> </th>
1321+ <th scope="row"><?php echo $ identity_group_title ; ?> </th>
13261322 <td><fieldset>
1327- <legend class="screen-reader-text"><span>
1328- <?php
1329- /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
1330- _e ( 'identity ' );
1331- ?>
1332- </span></legend>
1323+ <legend class="screen-reader-text"><span><?php echo $ identity_group_title ; ?> </span></legend>
13331324 <label for="me">
13341325 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check ( 'identity ' , 'me ' ); ?> />
13351326 <?php _e ( 'another web address of mine ' ); ?> </label>
13361327 </fieldset></td>
13371328 </tr>
1329+ <?php $ friendship_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __ ( 'friendship ' ); ?>
13381330 <tr>
1339- <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( ' friendship ' ) ; ?> </th>
1331+ <th scope="row"><?php echo $ friendship_group_title ; ?> </th>
13401332 <td><fieldset>
1341- <legend class="screen-reader-text"><span>
1342- <?php
1343- /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
1344- _e ( 'friendship ' );
1345- ?>
1346- </span></legend>
1333+ <legend class="screen-reader-text"><span><?php echo $ friendship_group_title ; ?> </span></legend>
13471334 <label for="contact">
13481335 <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 ' ); ?>
13491336 </label>
@@ -1358,29 +1345,21 @@ function link_xfn_meta_box( $link ) {
13581345 </label>
13591346 </fieldset></td>
13601347 </tr>
1348+ <?php $ physical_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __ ( 'physical ' ); ?>
13611349 <tr>
1362- <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( ' physical ' ) ; ?> </th>
1350+ <th scope="row"> <?php echo $ physical_group_title ; ?> </th>
13631351 <td><fieldset>
1364- <legend class="screen-reader-text"><span>
1365- <?php
1366- /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
1367- _e ( 'physical ' );
1368- ?>
1369- </span></legend>
1352+ <legend class="screen-reader-text"><span><?php echo $ physical_group_title ; ?> </span></legend>
13701353 <label for="met">
13711354 <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 ' ); ?>
13721355 </label>
13731356 </fieldset></td>
13741357 </tr>
1358+ <?php $ professional_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __ ( 'professional ' ); ?>
13751359 <tr>
1376- <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( ' professional ' ) ; ?> </th>
1360+ <th scope="row"> <?php echo $ professional_group_title ; ?> </th>
13771361 <td><fieldset>
1378- <legend class="screen-reader-text"><span>
1379- <?php
1380- /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
1381- _e ( 'professional ' );
1382- ?>
1383- </span></legend>
1362+ <legend class="screen-reader-text"><span><?php echo $ professional_group_title ; ?> </span></legend>
13841363 <label for="co-worker">
13851364 <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 ' ); ?>
13861365 </label>
@@ -1389,15 +1368,11 @@ function link_xfn_meta_box( $link ) {
13891368 </label>
13901369 </fieldset></td>
13911370 </tr>
1371+ <?php $ geographical_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __ ( 'geographical ' ); ?>
13921372 <tr>
1393- <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( ' geographical ' ) ; ?> </th>
1373+ <th scope="row"><?php echo $ geographical_group_title ; ?> </th>
13941374 <td><fieldset>
1395- <legend class="screen-reader-text"><span>
1396- <?php
1397- /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
1398- _e ( 'geographical ' );
1399- ?>
1400- </span></legend>
1375+ <legend class="screen-reader-text"><span><?php echo $ geographical_group_title ; ?> </span></legend>
14011376 <label for="co-resident">
14021377 <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 ' ); ?>
14031378 </label>
@@ -1409,15 +1384,11 @@ function link_xfn_meta_box( $link ) {
14091384 </label>
14101385 </fieldset></td>
14111386 </tr>
1387+ <?php $ family_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __ ( 'family ' ); ?>
14121388 <tr>
1413- <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( ' family ' ) ; ?> </th>
1389+ <th scope="row"><?php echo $ family_group_title ; ?> </th>
14141390 <td><fieldset>
1415- <legend class="screen-reader-text"><span>
1416- <?php
1417- /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
1418- _e ( 'family ' );
1419- ?>
1420- </span></legend>
1391+ <legend class="screen-reader-text"><span><?php echo $ family_group_title ; ?> </span></legend>
14211392 <label for="child">
14221393 <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 ' ); ?>
14231394 </label>
@@ -1438,15 +1409,11 @@ function link_xfn_meta_box( $link ) {
14381409 </label>
14391410 </fieldset></td>
14401411 </tr>
1412+ <?php $ romantic_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __ ( 'romantic ' ); ?>
14411413 <tr>
1442- <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e ( ' romantic ' ) ; ?> </th>
1414+ <th scope="row"><?php echo $ romantic_group_title ; ?> </th>
14431415 <td><fieldset>
1444- <legend class="screen-reader-text"><span>
1445- <?php
1446- /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
1447- _e ( 'romantic ' );
1448- ?>
1449- </span></legend>
1416+ <legend class="screen-reader-text"><span><?php echo $ romantic_group_title ; ?> </span></legend>
14501417 <label for="muse">
14511418 <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 ' ); ?>
14521419 </label>
0 commit comments