Make WordPress Core


Ignore:
Timestamp:
10/13/2009 10:02:42 AM (15 years ago)
Author:
azaozz
Message:

Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.

File:
1 edited

Legend:

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

    r11982 r12022  
    10301030    $view_link = str_replace(array('%pagename%','%postname%'), $post_name, $permalink);
    10311031    $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink">' . $display_link . "</span>\n";
    1032     $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button hide-if-no-js" onclick="edit_permalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";
     1032    $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";
    10331033    $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n";
    10341034    if ( isset($view_post) )
Note: See TracChangeset for help on using the changeset viewer.