Make WordPress Core


Ignore:
Timestamp:
07/22/2012 02:33:53 AM (12 years ago)
Author:
azaozz
Message:

TinyMCE: fix tabbig in and out of the editor, fixes #20834

File:
1 edited

Legend:

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

    r21189 r21300  
    10921092
    10931093    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";
    10951095        if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) )
    10961096            $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button" target="_blank">' . __('Change Permalinks') . "</a></span>\n";
     
    11211121    $view_link = str_replace(array('%pagename%','%postname%'), $post_name, $permalink);
    11221122    $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";
    11241124    $return .= '&lrm;'; // Fix bi-directional text display defect in RTL languages.
    11251125    $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.