Fixed "No ending delimiter '/'" error.
git-svn-id: https://develop.svn.wordpress.org/trunk@1993 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7092499610
commit
595851973e
|
@ -26,8 +26,8 @@ window.close()
|
||||||
/* big funky fixes for browsers' javascript bugs */
|
/* big funky fixes for browsers' javascript bugs */
|
||||||
|
|
||||||
if (($is_macIE) && (!isset($IEMac_bookmarklet_fix))) {
|
if (($is_macIE) && (!isset($IEMac_bookmarklet_fix))) {
|
||||||
$popuptitle = preg_replace($wp_macIE_correction["in"],$wp_macIE_correction["out"],$popuptitle);
|
$popuptitle = preg_replace('/'.$wp_macIE_correction["in"].'/','/'.$wp_macIE_correction["out"].'/',$popuptitle);
|
||||||
$text = preg_replace($wp_macIE_correction["in"],$wp_macIE_correction["out"],$text);
|
$text = preg_replace('/'.$wp_macIE_correction["in"].'/','/'.$wp_macIE_correction["out"].'/',$text);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($is_winIE) && (!isset($IEWin_bookmarklet_fix))) {
|
if (($is_winIE) && (!isset($IEWin_bookmarklet_fix))) {
|
||||||
|
@ -36,8 +36,8 @@ window.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($is_gecko) && (!isset($Gecko_bookmarklet_fix))) {
|
if (($is_gecko) && (!isset($Gecko_bookmarklet_fix))) {
|
||||||
$popuptitle = preg_replace($wp_gecko_correction["in"],$wp_gecko_correction["out"],$popuptitle);
|
$popuptitle = preg_replace('/'.$wp_gecko_correction["in"].'/','/'.$wp_gecko_correction["out"].'/',$popuptitle);
|
||||||
$text = preg_replace($wp_gecko_correction["in"],$wp_gecko_correction["out"],$text);
|
$text = preg_replace('/'.$wp_gecko_correction["in"].'/','/'.$wp_gecko_correction["out"].'/',$text);
|
||||||
}
|
}
|
||||||
|
|
||||||
$post_title = wp_specialchars($_REQUEST['post_title']);
|
$post_title = wp_specialchars($_REQUEST['post_title']);
|
||||||
|
|
Loading…
Reference in New Issue