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

WordPress Trac noreply at wordpress.org
Wed Apr 23 23:57:12 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 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;

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


More information about the wp-trac mailing list