#10574 closed defect (bug) (invalid)
Widgets - text block not working
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.8.3 |
| Component: | Widgets | Keywords: | reporter-feedback |
| Focuses: | Cc: |
Description
Hello,
I manually upgraded a blog from WordPress 2.7.1 to 2.8.3, overwriting
/wp-admin/
/wp-includes/
/*.php excluding the config file
Previously i had a Text block added in my theme (modern-wordpad) from the Widget section and had some HTML code in it and a custom title. Now in the newer version it has dissapeared from the admin and website.
Also accesing http://www.myblog.com/wp-includes/default-widgets.php being logged in as an admin throws the following error: Fatal error: Class 'WP_Widget' not found in /usr/local/www/wp-includes/default-widgets.php on line 15
I attached some screenshots to make it a lot clear.
Attachments (3)
Change History (8)
#1
@
16 years ago
- Keywords reporter-feedback added; html block removed
Re-upload the files, Sounds like you've missed one or one is corrupt.
#2
@
16 years ago
Re-upload the files, Sounds like you've missed one or one is corrupt.
Actualy.. Cancel that..
You shouldnt be directly accessing wp-includes/default-widgets.php at all.
The reason the widget content is not there, Is most likely due to the theme not being compatible with WordPress 2.8.. you might want to check for an update to it, It looks like it may use a custom Text widget, and not the default one which shipped with WordPress(WordPress upgraded the core widgets, but the themes widget may not've been included in that)
#3
@
16 years ago
My current widget screen: bug-wordpress3.jpg (in attach) shows a 'text' option but as you see in bug-wordpress2.jpg i have no text box to update it.
Does this mean that the current active Wordpress theme is not compatible with 2.8.3 ?
PS: i only have 1 plugin active (Akismet)
#4
@
16 years ago
- Milestone Unassigned deleted
- Resolution set to invalid
- Status changed from new to closed
I would say its your theme, As the Text widget which ships with WordPress has the title "Text" and a description of "Arbitrary text or HTML", yours shows "text" and "text" meaning that something has replaced it. Since you've only got the theme active, it points to that.
You'll need to bug the Theme author to make the theme compatible.
I've just looked up the theme, and it indeed does replace the default text widget, and doesnt provide a interface to modify it, It seems a fluke that it worked under WordPress 2.7.. relying upon the inherited forms rather than defining its own.
You could try removing the line register_sidebar_widget(__('text'), 'widget_aoe_text'); from the themes functions.php file, but no guarantee's it'll work.
invalid: Its not a WordPress core issue
How 'Admin -> Widgets' looked in 2.7.1