[wp-testers] PHP 5.3.x Deprecated Messages when assigning return value of new instance By Ref
David Carroll - PageSimplify
david.carroll at pagesimplify.com
Sun Jul 31 23:27:14 UTC 2011
** WP Version: 3.2.1
** File References:
- http://core.svn.wordpress.org/tags/3.2.1/wp-includes/cache.php on
line 103
-
http://core.svn.wordpress.org/tags/3.2.1/wp-includes/wp-includes/class-wp.ph
p on line 570
-
http://core.svn.wordpress.org/tags/3.2.1/wp-includes/wp-includes/l10n.php on
line 486
-
http://core.svn.wordpress.org/tags/3.2.1/wp-includes/wp-includes/query.php
on line 92
-
http://core.svn.wordpress.org/tags/3.2.1/wp-includes/wp-includes/taxonomy.ph
p on line 1161
-
http://core.svn.wordpress.org/tags/3.2.1/wp-includes/wp-includes/theme.php
on line 1721
-
http://core.svn.wordpress.org/tags/3.2.1/wp-includes/wp-includes/widgets.php
on line 324
** Description:
When rendering a page in WP Version 3.2.1, several Deprecated Messages are
Produced in WP_DEBUG mode.
Example: Deprecated: Assigning the return value of new by reference is
deprecated in/wp-includes/cache.php on line 103.
This applies to lines where a new variables / object instances are returned
by reference.
The 7 files listed above is a small list of lines that would generate these
errors. In the meantime, these 7 appear when rendering a home page in
WordPress.
** More Information:
PHP 5.3.x Deprecated Feature: Assigning the return value of new by reference
using operator =&
- See: http://php.net/manual/en/migration53.deprecated.php
(Deprecated features: Call-time pass-by-reference is now
deprecated.)
More information about the wp-testers
mailing list