[wp-trac] Re: [WordPress Trac] #4820: Regex fix for $pagelinkedfrom
(xmlrpc.php)
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 26 20:11:17 GMT 2007
#4820: Regex fix for $pagelinkedfrom (xmlrpc.php)
---------------------+------------------------------------------------------
Reporter: tenpura | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3
Component: XML-RPC | Version: 2.3
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by tenpura):
Oops, It should be like:
{{{
$pagelinkedfrom = preg_replace('#&#is', '&', $pagelinkedfrom);
$pagelinkedfrom = preg_replace('#&(.)#is', '&$1', $pagelinkedfrom);
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/4820#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list