Changeset 21300 for trunk/wp-admin/includes/post.php
- Timestamp:
- 07/22/2012 02:33:53 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r21189 r21300 1092 1092 1093 1093 if ( false === strpos($permalink, '%postname%') && false === strpos($permalink, '%pagename%') ) { 1094 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" >' . $permalink . "</span>\n";1094 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" tabindex="-1">' . $permalink . "</span>\n"; 1095 1095 if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) ) 1096 1096 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; … … 1121 1121 $view_link = str_replace(array('%pagename%','%postname%'), $post_name, $permalink); 1122 1122 $return = '<strong>' . __('Permalink:') . "</strong>\n"; 1123 $return .= '<span id="sample-permalink" >' . $display_link . "</span>\n";1123 $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n"; 1124 1124 $return .= '‎'; // Fix bi-directional text display defect in RTL languages. 1125 1125 $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";
Note: See TracChangeset
for help on using the changeset viewer.