[wp-trac] [WordPress Trac] #12836: _deep_replace can cause infinite loop
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 4 03:32:39 UTC 2010
#12836: _deep_replace can cause infinite loop
------------------------------+---------------------------------------------
Reporter: mdawaffe | Owner:
Type: defect (bug) | Status: closed
Priority: low | Milestone: 3.0
Component: General | Version: 3.0
Severity: major | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------------------------------
Comment(by mdawaffe):
Replying to [comment:1 nacin]:
> Sounds like that's incorrect use as it only wants a string, but that
said, seems like a fine defensive check to me.
It is an incorrect use. I came across the problem when I accidentally did
{{{esc_url( get_post_meta( ... ) )}}} (since get_post_meta returns an
array by default).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12836#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list