[wp-cvs] wordpress/wp-admin bookmarklet.php,1.17,1.18

Donncha O Caoimh donncha at users.sourceforge.net
Wed Dec 22 15:46:08 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26522/wp-admin

Modified Files:
	bookmarklet.php 
Log Message:
Fixed "No ending delimiter '/'" error.


Index: bookmarklet.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/bookmarklet.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** bookmarklet.php	12 Dec 2004 20:41:13 -0000	1.17
--- bookmarklet.php	22 Dec 2004 15:46:06 -0000	1.18
***************
*** 27,32 ****
      
      if (($is_macIE) && (!isset($IEMac_bookmarklet_fix))) {
!         $popuptitle = preg_replace($wp_macIE_correction["in"],$wp_macIE_correction["out"],$popuptitle);
!         $text = preg_replace($wp_macIE_correction["in"],$wp_macIE_correction["out"],$text);
      }
      
--- 27,32 ----
      
      if (($is_macIE) && (!isset($IEMac_bookmarklet_fix))) {
!         $popuptitle = preg_replace('/'.$wp_macIE_correction["in"].'/','/'.$wp_macIE_correction["out"].'/',$popuptitle);
!         $text = preg_replace('/'.$wp_macIE_correction["in"].'/','/'.$wp_macIE_correction["out"].'/',$text);
      }
      
***************
*** 37,42 ****
      
      if (($is_gecko) && (!isset($Gecko_bookmarklet_fix))) {
!         $popuptitle = preg_replace($wp_gecko_correction["in"],$wp_gecko_correction["out"],$popuptitle);
!         $text = preg_replace($wp_gecko_correction["in"],$wp_gecko_correction["out"],$text);
      }
      
--- 37,42 ----
      
      if (($is_gecko) && (!isset($Gecko_bookmarklet_fix))) {
!         $popuptitle = preg_replace('/'.$wp_gecko_correction["in"].'/','/'.$wp_gecko_correction["out"].'/',$popuptitle);
!         $text = preg_replace('/'.$wp_gecko_correction["in"].'/','/'.$wp_gecko_correction["out"].'/',$text);
      }
      




More information about the cvs mailing list