[wp-trac] [WordPress Trac] #18322: The Road to Magic Quotes Sanity

WordPress Trac noreply at wordpress.org
Thu Apr 24 10:08:09 UTC 2014


#18322: The Road to Magic Quotes Sanity
----------------------------+-----------------------------
 Reporter:  ryan            |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Bootstrap/Load  |     Version:  3.2.1
 Severity:  major           |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------------

Comment (by thanatica2):

 Replying to [comment:38 dhjw]:
 > Please put in a constant or function that can be checked to determine
 when slashes are added.  Otherwise there is no elegant way to work around
 this issue and the hole just gets deeper and deeper as everyone continues
 to blindly assume quotes are added.  As it stands, I'm doing
 > {{{
 > if(function_exists('wp_magic_quotes')) $gpc=true; else $gpc=false;
 > }}}
 That's what we have to put up with, because the WP devs have created this
 insane problem for themselves in the past. It should not be "our" problem
 to work around something like that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18322#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list