Changeset 21944 for trunk/wp-admin/includes/post.php
- Timestamp:
- 09/21/2012 07:34:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r21922 r21944 1076 1076 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" tabindex="-1">' . $permalink . "</span>\n"; 1077 1077 if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) ) 1078 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button- tiny" target="_blank">' . __('Change Permalinks') . "</a></span>\n";1078 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-small" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; 1079 1079 if ( isset($view_post) ) 1080 $return .= "<span id='view-post-btn'><a href='$permalink' class='button button- tiny'>$view_post</a></span>\n";1080 $return .= "<span id='view-post-btn'><a href='$permalink' class='button button-small'>$view_post</a></span>\n"; 1081 1081 1082 1082 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); … … 1105 1105 $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n"; 1106 1106 $return .= '‎'; // Fix bi-directional text display defect in RTL languages. 1107 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button button- tinyhide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";1107 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button button-small hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n"; 1108 1108 $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n"; 1109 1109 if ( isset($view_post) ) 1110 $return .= "<span id='view-post-btn'><a href='$view_link' class='button button- tiny'>$view_post</a></span>\n";1110 $return .= "<span id='view-post-btn'><a href='$view_link' class='button button-small'>$view_post</a></span>\n"; 1111 1111 1112 1112 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug);
Note: See TracChangeset
for help on using the changeset viewer.