Changeset 7967
- Timestamp:
- 05/20/2008 11:46:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r7956 r7967 52 52 53 53 $form_prevstatus = '<input type="hidden" name="prev_status" value="' . attribute_escape( $post->post_status ) . '" />'; 54 55 $form_trackback = '<input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />';56 57 if ('' != $post->pinged) {58 $pings = '<p>'. __('Already pinged:') . '</p><ul>';59 $already_pinged = explode("\n", trim($post->pinged));60 foreach ($already_pinged as $pinged_url) {61 $pings .= "\n\t<li>" . wp_specialchars($pinged_url) . "</li>";62 }63 $pings .= '</ul>';64 }65 54 66 55 $saveasdraft = '<input name="save" type="submit" id="save" class="button" tabindex="3" value="' . attribute_escape( __('Save and Continue Editing') ) . '" />'; … … 285 274 286 275 function post_trackback_meta_box($post) { 276 $form_trackback = '<input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />'; 277 if ('' != $post->pinged) { 278 $pings = '<p>'. __('Already pinged:') . '</p><ul>'; 279 $already_pinged = explode("\n", trim($post->pinged)); 280 foreach ($already_pinged as $pinged_url) { 281 $pings .= "\n\t<li>" . wp_specialchars($pinged_url) . "</li>"; 282 } 283 $pings .= '</ul>'; 284 } 285 287 286 ?> 288 287 <p><label for="trackback"><?php _e('Send trackbacks to:'); ?></label> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>
Note: See TracChangeset
for help on using the changeset viewer.