Changeset 48292 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 07/04/2020 09:31:43 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r48041 r48292 1229 1229 <table class="links-table"> 1230 1230 <tr> 1231 <th scope="row"><label for="link_rel"><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'rel:' ); ?></label></th>1231 <th scope="row"><label for="link_rel"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'rel:' ); ?></label></th> 1232 1232 <td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset( $link->link_rel ) ? esc_attr( $link->link_rel ) : '' ); ?>" /></td> 1233 1233 </tr> 1234 1234 <tr> 1235 <th scope="row"><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'identity' ); ?></th>1236 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'identity' ); ?></span></legend>1235 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'identity' ); ?></th> 1236 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'identity' ); ?></span></legend> 1237 1237 <label for="me"> 1238 1238 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check( 'identity', 'me' ); ?> /> … … 1241 1241 </tr> 1242 1242 <tr> 1243 <th scope="row"><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'friendship' ); ?></th>1244 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'friendship' ); ?></span></legend>1243 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friendship' ); ?></th> 1244 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friendship' ); ?></span></legend> 1245 1245 <label for="contact"> 1246 <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' ); ?>1246 <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' ); ?> 1247 1247 </label> 1248 1248 <label for="acquaintance"> 1249 <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' ); ?>1249 <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' ); ?> 1250 1250 </label> 1251 1251 <label for="friend"> 1252 <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' ); ?>1252 <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' ); ?> 1253 1253 </label> 1254 1254 <label for="friendship"> 1255 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'none' ); ?>1255 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> 1256 1256 </label> 1257 1257 </fieldset></td> 1258 1258 </tr> 1259 1259 <tr> 1260 <th scope="row"> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'physical' ); ?> </th>1261 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'physical' ); ?></span></legend>1260 <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'physical' ); ?> </th> 1261 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'physical' ); ?></span></legend> 1262 1262 <label for="met"> 1263 <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' ); ?>1263 <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' ); ?> 1264 1264 </label> 1265 1265 </fieldset></td> 1266 1266 </tr> 1267 1267 <tr> 1268 <th scope="row"> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'professional' ); ?> </th>1269 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'professional' ); ?></span></legend>1268 <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'professional' ); ?> </th> 1269 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'professional' ); ?></span></legend> 1270 1270 <label for="co-worker"> 1271 <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' ); ?>1271 <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' ); ?> 1272 1272 </label> 1273 1273 <label for="colleague"> 1274 <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' ); ?>1274 <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' ); ?> 1275 1275 </label> 1276 1276 </fieldset></td> 1277 1277 </tr> 1278 1278 <tr> 1279 <th scope="row"><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'geographical' ); ?></th>1280 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'geographical' ); ?> </span></legend>1279 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'geographical' ); ?></th> 1280 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'geographical' ); ?> </span></legend> 1281 1281 <label for="co-resident"> 1282 <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' ); ?>1282 <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' ); ?> 1283 1283 </label> 1284 1284 <label for="neighbor"> 1285 <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' ); ?>1285 <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' ); ?> 1286 1286 </label> 1287 1287 <label for="geographical"> 1288 <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'none' ); ?>1288 <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> 1289 1289 </label> 1290 1290 </fieldset></td> 1291 1291 </tr> 1292 1292 <tr> 1293 <th scope="row"><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'family' ); ?></th>1294 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'family' ); ?> </span></legend>1293 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'family' ); ?></th> 1294 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'family' ); ?> </span></legend> 1295 1295 <label for="child"> 1296 <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' ); ?>1296 <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' ); ?> 1297 1297 </label> 1298 1298 <label for="kin"> 1299 <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' ); ?>1299 <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' ); ?> 1300 1300 </label> 1301 1301 <label for="parent"> 1302 <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' ); ?>1302 <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' ); ?> 1303 1303 </label> 1304 1304 <label for="sibling"> 1305 <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' ); ?>1305 <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' ); ?> 1306 1306 </label> 1307 1307 <label for="spouse"> 1308 <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' ); ?>1308 <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' ); ?> 1309 1309 </label> 1310 1310 <label for="family"> 1311 <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'none' ); ?>1311 <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> 1312 1312 </label> 1313 1313 </fieldset></td> 1314 1314 </tr> 1315 1315 <tr> 1316 <th scope="row"><?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'romantic' ); ?></th>1317 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http ://gmpg.org/xfn/ */ _e( 'romantic' ); ?> </span></legend>1316 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'romantic' ); ?></th> 1317 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'romantic' ); ?> </span></legend> 1318 1318 <label for="muse"> 1319 <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' ); ?>1319 <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' ); ?> 1320 1320 </label> 1321 1321 <label for="crush"> 1322 <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' ); ?>1322 <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' ); ?> 1323 1323 </label> 1324 1324 <label for="date"> 1325 <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' ); ?>1325 <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' ); ?> 1326 1326 </label> 1327 1327 <label for="romantic"> 1328 <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' ); ?>1328 <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' ); ?> 1329 1329 </label> 1330 1330 </fieldset></td> … … 1332 1332 1333 1333 </table> 1334 <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>1334 <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> 1335 1335 <?php 1336 1336 }
Note: See TracChangeset
for help on using the changeset viewer.