Opened 14 years ago
Closed 14 years ago
#22265 closed defect (bug) (fixed)
PHP Strict: WP_Customize_Filter_Setting::update() incompatible with parent method
| Reported by: | kurtpayne | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Warnings/Notices | Version: | 3.4 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 22448: