Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10574 closed defect (bug) (invalid)

Widgets - text block not working

Reported by: serbanghita Owned by: azaozz
Milestone: Priority: normal
Severity: normal Version: 2.8.3
Component: Widgets Keywords: reporter-feedback
Focuses: Cc:



I manually upgraded a blog from WordPress 2.7.1 to 2.8.3, overwriting
/*.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)

bug-wordpress1.jpg (55.7 KB) - added by serbanghita 12 years ago.
How 'Admin -> Widgets' looked in 2.7.1
bug-wordpress2.jpg (46.5 KB) - added by serbanghita 12 years ago.
How 'Admin -> Widgets' looks in 2.8.3
bug-wordpress3.jpg (141.9 KB) - added by serbanghita 12 years ago.
My actual Widget screen after upgrade

Download all attachments as: .zip

Change History (8)

12 years ago

How 'Admin -> Widgets' looked in 2.7.1

12 years ago

How 'Admin -> Widgets' looks in 2.8.3

#1 @dd32
12 years ago

  • Keywords reporter-feedback added; html block removed

Re-upload the files, Sounds like you've missed one or one is corrupt.

#2 @dd32
12 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)

12 years ago

My actual Widget screen after upgrade

#3 @serbanghita
12 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 @dd32
12 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

#5 @serbanghita
12 years ago

Agree. Thanks for the quick response!

Note: See TracTickets for help on using tickets.