Opened 16 years ago
Closed 16 years ago
#9344 closed defect (bug) (invalid)
Text-Widget adds spaces
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | major | Version: | 2.7.1 |
Component: | Widgets | Keywords: | widget, text, spaces |
Focuses: | Cc: |
Description
The Text-Widget adds spaces between $before_widget and $before_title. Theses spaces can influence the rendering of the widget in some browsers.
Other widgets don't do it.
Attachments (1)
Change History (5)
#1
@
16 years ago
- Milestone 2.7.2 deleted
- Resolution set to invalid
- Status changed from new to closed
#2
@
16 years ago
- Milestone set to 2.7.2
- Resolution invalid deleted
- Status changed from closed to reopened
Yes, I know, that the code is re-written. But the part in the class WP_Widget_Text is only copied-pasted from the old version. So the bug still exists in the current version. My patch is already for the rewritten widgets.
Note: See
TracTickets for help on using
tickets.
Widgets have been re-written for Wordpress 2.8 and the code is as you describe in the
WP_Widget_Text
class: source:trunk/wp-includes/default-widgets.php