Make WordPress Core

Changeset 28302


Ignore:
Timestamp:
05/06/2014 05:10:41 PM (11 years ago)
Author:
wonderboymusic
Message:

In get_sample_permalink_html(), $view_link is set and never used.

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r28113 r28302  
    12311231    $post_name_html = '<span id="editable-post-name" title="' . $title . '">' . $post_name_abridged . '</span>';
    12321232    $display_link = str_replace(array('%pagename%','%postname%'), $post_name_html, $permalink);
    1233     $view_link = str_replace(array('%pagename%','%postname%'), $post_name, $permalink);
     1233
    12341234    $return =  '<strong>' . __('Permalink:') . "</strong>\n";
    12351235    $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n";
Note: See TracChangeset for help on using the changeset viewer.