Opened 16 years ago
Closed 16 years ago
#9800 closed defect (bug) (fixed)
Widget API won't work with PHP 4
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | high |
Severity: | blocker | Version: | |
Component: | Widgets | Keywords: | widgets PHP4 |
Focuses: | Cc: |
Description
I have tested the latest SVN version of WP2.8 based on SVN update from 12.05.2009 and it's not possible to place/arrange widgets within Administration.
The only shown widget of Standard Theme is Archives but all other are missing. This one can't be saved too.
There are some really strange problems inside the code, that doesn't work correctly with read/write options and also content generation of widget containers. May be, that this is forced by ref/by value behavoir which is different between PHP4 and PHP5.
If it's intended to require PHP5 with WordPress 2.8, please cancel this ticket and publish this information soon. Otherwise please test it and make it work.
Change History (7)
#3
@
16 years ago
WP_Widget::get_settings(), when called from form_callback(), always returns the settings of the last registered widget, WP_Tag_Cloud.
Confirmed. I see this warning over and over that I don't see with PHP 5: