equal
deleted
inserted
replaced
1198 <?php wp_popular_terms_checklist( 'link_category' ); ?> |
1198 <?php wp_popular_terms_checklist( 'link_category' ); ?> |
1199 </ul> |
1199 </ul> |
1200 </div> |
1200 </div> |
1201 |
1201 |
1202 <div id="category-adder" class="wp-hidden-children"> |
1202 <div id="category-adder" class="wp-hidden-children"> |
1203 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a> |
1203 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add Category' ); ?></a> |
1204 <p id="link-category-add" class="wp-hidden-child"> |
1204 <p id="link-category-add" class="wp-hidden-child"> |
1205 <label class="screen-reader-text" for="newcat"> |
1205 <label class="screen-reader-text" for="newcat"> |
1206 <?php |
1206 <?php |
1207 /* translators: Hidden accessibility text. */ |
1207 /* translators: Hidden accessibility text. */ |
1208 _e( '+ Add New Category' ); |
1208 _e( '+ Add Category' ); |
1209 ?> |
1209 ?> |
1210 </label> |
1210 </label> |
1211 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> |
1211 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> |
1212 <input type="button" id="link-category-add-submit" data-wp-lists="add:categorychecklist:link-category-add" class="button" value="<?php esc_attr_e( 'Add' ); ?>" /> |
1212 <input type="button" id="link-category-add-submit" data-wp-lists="add:categorychecklist:link-category-add" class="button" value="<?php esc_attr_e( 'Add' ); ?>" /> |
1213 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> |
1213 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> |
1268 |
1268 |
1269 if ( ! empty( $deprecated ) ) { |
1269 if ( ! empty( $deprecated ) ) { |
1270 _deprecated_argument( __FUNCTION__, '2.5.0' ); // Never implemented. |
1270 _deprecated_argument( __FUNCTION__, '2.5.0' ); // Never implemented. |
1271 } |
1271 } |
1272 |
1272 |
1273 $link_rel = isset( $link->link_rel ) ? $link->link_rel : ''; // In PHP 5.3: $link_rel = $link->link_rel ?: ''; |
1273 $link_rel = isset( $link->link_rel ) ? $link->link_rel : ''; |
1274 $link_rels = preg_split( '/\s+/', $link_rel ); |
1274 $link_rels = preg_split( '/\s+/', $link_rel ); |
1275 |
1275 |
1276 // Mark the specified value as checked if it matches the current link's relationship. |
1276 // Mark the specified value as checked if it matches the current link's relationship. |
1277 if ( '' !== $xfn_value && in_array( $xfn_value, $link_rels, true ) ) { |
1277 if ( '' !== $xfn_value && in_array( $xfn_value, $link_rels, true ) ) { |
1278 echo ' checked="checked"'; |
1278 echo ' checked="checked"'; |