[wp-trac] Re: [WordPress Trac] #9182: diverse errors
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 19 22:33:57 GMT 2009
#9182: diverse errors
--------------------------+-------------------------------------------------
Reporter: sybold | Owner: josephscott
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: |
--------------------------+-------------------------------------------------
Changes (by DD32):
* status: new => closed
* resolution: => wontfix
* component: XML-RPC => General
Comment:
WordPress disables the output of E_STRICT errors due to their nature,
WordPress supports PHP4.3+, Its impossible to abide by PHP5 strict rules
as well as the available language constructs available in PHP 4.3
> Assigning the return value of new by reference is deprecated
Which isnt deprecated in PHP4, only some version of PHP5, Works well in
achieving the goal in PHP4
> Redefining already defined constructor for class WP_Object_Cache
For PHP4 you need to have both __construct() and ClassName() functions, as
it doesnt reconise __*() functions
> Non-static method WP_Http_Streams::test() should not be called
statically, assuming $this from incompatible context
Not sure, But i think that could be silenced by adding 'static' to the
class method definition for the ::test()'s, but really dont see why it
should be needed.. Esp. the fact that its only the latest PHP5 which is
throwing this (silenced) error.
My point is, WordPress doesnt yet support PHP5 E_STRICT (Heck, It barely
supports E_NOTICE most of the time), Resolving this as WOTNFIX (For the
time being)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9182#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list