Make WordPress Core

Changeset 1505


Ignore:
Timestamp:
08/01/2004 08:19:34 AM (22 years ago)
Author:
saxmatt
Message:

Move pingback to hidden field. Fix trackback wording.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r1503 r1505  
    2020
    2121if (get_settings('use_pingback')) {
    22         $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" ';
    23         if ( get_settings('default_pingback_flag') ) $form_pingback .= 'checked="checked" ';
    24         $form_pingback .= 'tabindex="7" id="pingback" /> <label for="pingback">' . __('<strong>PingBack</strong> the <abbr title="Universal Resource Identifier">URI</abbr>s in this post') . '</label> <a href="http://wordpress.org/docs/reference/post/#pingback" title="' . __('Help on Pingbacks') . '">?</a><br />';
     22        $form_pingback = '<input type="hidden" name="post_pingback" value="1" id="post_pingback" />';
    2523} else {
    2624        $form_pingback = '';
    … …  
    3028
    3129if (get_settings('use_trackback')) {
    32         $form_trackback = '<p><label for="trackback"><a href="http://wordpress.org/docs/reference/post/#trackback" title="' . __('Help on trackbacks') . '">' . __('<strong>TrackBack</strong> an <abbr title="Universal Resource Identifier">URI</abbr></a>') . '</label> ' . __('(Separate multiple <abbr title="Universal Resource Identifier">URI</abbr>s with spaces.)') . '<br />
     30        $form_trackback = '<p><label for="trackback"><a href="http://wordpress.org/docs/reference/post/#trackback" 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 />
    3331        <input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. str_replace("\n", ' ', $to_ping) .'" /></p>';
    3432        if ('' != $pinged) {
  • trunk/wp-admin/edit-form.php

    r1503 r1505  
    99
    1010if (get_settings('use_pingback')) {
    11         $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" ';
    12         if ($post_pingback) $form_pingback .= 'checked="checked" ';
    13         $form_pingback .= 'tabindex="7" id="pingback" /> <label for="pingback">' . sprintf(__('<strong>PingBack</strong> the <abbr title="Universal Resource Identifier">URI</abbr>s in this post</label> <a href="%s" title="Help on Pingbacks">?</a><br />'), 'http://wordpress.org/docs/reference/post/#pingback');
     11        $form_pingback = '<input type="hidden" name="post_pingback" value="1" id="post_pingback" />';
    1412} else {
    1513        $form_pingback = '';
    … …  
    1715
    1816if (get_settings('use_trackback')) {
    19         $form_trackback = '<p><label for="trackback">' . sprintf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> a <acronym title="Uniform Resource Locator">URL</acronym></a>:</label> (Separate multiple <abbr title="Universal Resource Identifier">URI</abbr>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') .
     17        $form_trackback = '<p><label for="trackback">' . sprintf(__('<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') .
    2018        '<input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>';
    2119} else {
Note: See TracChangeset for help on using the changeset viewer.