[wp-trac] [WordPress Trac] #9394: set_magic_quotes_runtime deprecated in PHP 5.3
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 27 19:45:37 UTC 2011
#9394: set_magic_quotes_runtime deprecated in PHP 5.3
------------------------------+-----------------------------
Reporter: sojweb | Owner: sojweb
Type: defect (bug) | Status: reopened
Priority: low | Milestone: Future Release
Component: Warnings/Notices | Version: 2.8.1
Severity: minor | Resolution:
Keywords: |
------------------------------+-----------------------------
Comment (by wonderboymusic):
it would be nice to not have this in the logs on every single request (
when error_reporting(-1) is set )
I don’t understand the hesitance to just switch to ini_set? The next line
does it properly:
// Disable magic quotes at runtime. Magic quotes are added using wpdb
later in wp-settings.php.
set_magic_quotes_runtime( 0 );
@ini_set( 'magic_quotes_sybase', 0 );
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9394#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list