WordPress.org

Make WordPress Core

Changeset 23123


Ignore:
Timestamp:
12/07/12 18:50:16 (17 months ago)
Author:
nacin
Message:

Ensure [23122] gets parsed as context. props TobiasBg. fixes #22808.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r23122 r23123  
    112112            } 
    113113 
    114             $buttons .= '<a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __( 'Text', 'Name for the Text editor tab (formerly HTML)' ) . "</a>\n"; 
     114            $buttons .= '<a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . _x( 'Text', 'Name for the Text editor tab (formerly HTML)' ) . "</a>\n"; 
    115115            $buttons .= '<a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n"; 
    116116        } 
Note: See TracChangeset for help on using the changeset viewer.