[wp-trac] [WordPress Trac] #22265: PHP Strict: WP_Customize_Filter_Setting::update() incompatible with parent method

WordPress Trac noreply at wordpress.org
Tue Oct 23 21:22:21 UTC 2012


#22265: PHP Strict: WP_Customize_Filter_Setting::update() incompatible with parent
method
-----------------------------+------------------------------
 Reporter:  kurtpayne        |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Warnings/Notices
  Version:  3.4              |   Severity:  trivial
 Keywords:                   |
-----------------------------+------------------------------
 Full strict message:

 Declaration of WP_Customize_Filter_Setting::update() should be compatible
 with that of WP_Customize_Setting::update()

 This is happening because the declaration of
 `WP_Customize_Filter_Setting::update` doesn't accept a parameter.

 On a different note, the original declaration of
 `WP_Customize_Setting::update` is protected.  The visibility is changed to
 public, though, in `WP_Customize_Filter_Setting`,
 `WP_Customize_Header_Image_Setting`, and
 `WP_Customize_Background_Image_Setting`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22265>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list