Make WordPress Core

Changeset 2413


Ignore:
Timestamp:
03/07/2005 12:01:57 AM (21 years ago)
Author:
ryan
Message:

Obey default pingback setting. http://mosquito.wordpress.org/view.php?id=945

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r2290 r2413  
    2121}
    2222
    23 $form_pingback = '<input type="hidden" name="post_pingback" value="1" id="post_pingback" />';
     23$form_pingback = '<input type="hidden" name="post_pingback" value="' . get_option('default_pingback_flag') . '" id="post_pingback" />';
    2424
    2525$form_prevstatus = '<input type="hidden" name="prev_status" value="'.$post_status.'" />';
  • trunk/wp-admin/edit-form.php

    r2268 r2413  
    5151</script>
    5252
    53 <input type="hidden" name="post_pingback" value="1" id="post_pingback" />
     53<input type="hidden" name="post_pingback" value="<?php echo get_option('default_pingback_flag') ?>" id="post_pingback" />
    5454
    5555<p><label for="trackback"> <?php printf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> a <abbr title="Universal Resource Identifier">URI</abbr></a>:</label> (Separate multiple <abbr title="Universal Resource Identifier">URI</abbr>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') ?>
Note: See TracChangeset for help on using the changeset viewer.