TinyMCE: Restore old wordpress_adv_hidden editor parameter to enable force-showing the kitchen sink.

Merges [28181] to the 3.9 branch.

props azaozz.
fixes #27963.

Built from https://develop.svn.wordpress.org/branches/3.9@28226


git-svn-id: http://core.svn.wordpress.org/branches/3.9@28054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-05-01 04:18:15 +00:00
parent 75c9032983
commit 44c39135ab
3 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
// Hide the toolbars after loading // Hide the toolbars after loading
editor.on( 'PostRender', function() { editor.on( 'PostRender', function() {
if ( getUserSetting('hidetb', '0') === '0' ) { if ( editor.getParam( 'wordpress_adv_hidden', true ) && getUserSetting( 'hidetb', '0' ) === '0' ) {
toggleToolbars( 'hide' ); toggleToolbars( 'hide' );
} }
}); });

File diff suppressed because one or more lines are too long