Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268

git-svn-id: http://svn.automattic.com/wordpress/trunk@16405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2010-11-16 17:30:18 +00:00
parent 8b107e23f4
commit 4002b79b7a
6 changed files with 10 additions and 425 deletions

View File

@ -1,9 +1,8 @@
<?php
/**
* config.php
*
* @package MCManager.includes
* @author Moxiecode
* @copyright Copyright © 2007, Moxiecode Systems AB, All rights reserved.
*/
// General settings
$config['general.engine'] = 'GoogleSpell';

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@ if (isset($config['general.engine']))
* @param String $default_value Default value to return if value not found.
* @return String request value by name without magic quoting or default value.
*/
function getRequestParam($name, $default_value = false, $sanitize = false) {
function getRequestParam($name, $default_value = false) {
if (!isset($_REQUEST[$name]))
return $default_value;
@ -33,12 +33,12 @@ function getRequestParam($name, $default_value = false, $sanitize = false) {
$newarray = array();
foreach ($_REQUEST[$name] as $name => $value)
$newarray[formatParam($name, $sanitize)] = formatParam($value, $sanitize);
$newarray[$name] = $value;
return $newarray;
}
return formatParam($_REQUEST[$name], $sanitize);
return $_REQUEST[$name];
}
function &getLogger() {

View File

@ -1,6 +1,6 @@
<?php
/**
* $Id: rpc.php 822 2008-04-28 13:45:03Z spocke $
* $Id: rpc.php 915 2008-09-03 08:45:28Z spocke $
*
* @package MCManager.includes
* @author Moxiecode
@ -109,4 +109,4 @@ $output = array(
// Return JSON encoded string
echo $json->encode($output);
?>
?>

View File

@ -152,7 +152,9 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
padding: 1px 2px;
}
.wp_themeSkin .mceSplitButton span.mceAction {
background: url(../../img/icons.gif) 20px 20px;
background-image: url(../../img/icons.gif);
background-repeat: no-repeat;
background-color: transparent;
width:20px;
}
.wp_themeSkin .mceSplitButton a.mceOpen {