WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In wp-admin when I enter widgets I see their bars, but the titles of widgets are missing. only :Something remain visible and the others are gone.

What happened? How do I fix that?


Found it in wp-admin/includes/widgets.php

line that was

<div class="widget-title"><h4><?php $widget_title ?><span class="in-widget-title"></span></h4></div>

should be

<div class="widget-title"><h4><?php echo $widget_title ?><span class="in-widget-title"></span></h4></div>

Is that a wordpress bug or somebody on my team had to edit this? [noone takes the blame ;)]

share|improve this question
Highly unlikely that some code changed core WP file, so must be person. I think question is safe to nuke?.. – Rarst Jan 17 '11 at 14:13
up vote 1 down vote accepted

Just to make sure, I took a look in the actual source code of the WordPress repository. The line in question is:

<div class="widget-title"><h4><?php echo $widget_title ?><span class="in-widget-title"></span></h4></div>

I also went through and checked previous changesets to see if we ever accidentally released broken code. If you want to look at the revision log yourself, it's freely available on Trac.

But the long story made short is that you weren't seeing a WordPress bug. Someone on your team would have had to explicitly made that change ... even if they weren't willing to take the blame.

All the more reason you should be keeping everything under source control. Then you'd know exactly who made the change, when, and possibly have some idea as to why.

share|improve this answer
Thank you for the effort. I'm glad it turned out that way. And as for the source control - the site was already in testing when that happened. I have no idea how. That's why I blamed an update. – naugtur Jan 19 '11 at 7:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.