[wp-trac] Re: [WordPress Trac] #8701: WordPress throws E_DEPRECATED notices all over the place with newer PHP 5 installs

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 4 21:44:12 GMT 2009


#8701: WordPress throws E_DEPRECATED notices all over the place with newer PHP 5
installs
-------------------------------------+--------------------------------------
 Reporter:  Otto42                   |        Owner:  anonymous
     Type:  defect (bug)             |       Status:  reopened 
 Priority:  high                     |    Milestone:  2.7.2    
Component:  General                  |      Version:  2.7      
 Severity:  blocker                  |   Resolution:           
 Keywords:  has-patch tested commit  |  
-------------------------------------+--------------------------------------

Comment(by westi):

 Replying to [comment:45 ryan]:
 > Fixed?

 Yes and no ;-)

 I believe it can be simplified anyway.

 E_ALL pre PHP v6.0 is the same as E_ALL ^ E_STRICT in v6.0 and E_STRICT
 has existed longer than E_DEPRECATED so we can just add ^ E_STRICT if
 E_DEPRECATED is defined and then not have to check for PHP 6 in anyway

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8701#comment:47>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list