[wpmu-trac] [WordPress MU Trac] #1039: warning: stripslashes expects parameter 1 to be string in function get_site_options (wp-includes/functions.php)
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sat Jul 11 03:00:26 UTC 2009
#1039: warning: stripslashes expects parameter 1 to be string in function
get_site_options (wp-includes/functions.php)
----------------------------+-----------------------------------------------
Reporter: grep | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 2.8.1
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Under php 5.3.0, the following warning is reported when the admin url
"/wp-admin/wpmu-options.php" is visited:
Warning: stripslashes() expects parameter 1 to be string, array given in
.../public_html/wp-includes/functions.php on line 3161
The offending line in the function get_site_options is:
$value = maybe_unserialize( stripslashes($value) );
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/1039>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list