#2063 closed enhancement (invalid)
bbPress widget title don't show if widget title empty.
Reported by: | ellipszist | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.2.2 |
Component: | API - Widgets | Keywords: | |
Cc: | alexvornoffice@…, wordpress@… |
Description
Please set default bbPress widget title if empty show.
(bbPress) Forums List (bbPress) Login Widget (bbPress) Recent Replies (bbPress) Recent Topics (bbPress) Statistics (bbPress) Topic Views List
Attachments (4)
Change History (20)
#3
in reply to:
↑ 1
@
12 years ago
- Resolution invalid deleted
- Status changed from closed to reopened
Replying to johnjamesjacoby:
This is by design, to allow empty titles if you so choose.
WordPress if show widget title on site?
see WordPress widget title.PNG
it is title empty on Widgets page.
see WordPress widget title2.PNG
I'm comeback if needed to edit title.
#4
@
12 years ago
- Resolution set to invalid
- Status changed from reopened to closed
This is not a bug. This is intentional.
#6
@
12 years ago
- Keywords 2nd-opinion added
- Resolution invalid deleted
- Status changed from closed to reopened
I'm don't reopen again if you OK :)
reopen need everyone comment.
#7
@
12 years ago
- Cc alexvornoffice@… added
- Keywords 2nd-opinion removed
I agree that default titles should show.
If a user want to not to display titles of the widgets, he can use widget_title filter.
#9
@
12 years ago
We can use this:
$title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'WIDGET NAME' ) : $instance['title'], $instance, $this->id_base );
#10
in reply to:
↑ 1
;
follow-up:
↓ 11
@
12 years ago
Totally with JJJ on this. I use empty titles a lot so as to show no widget title.
Replying to johnjamesjacoby:
This is by design, to allow empty titles if you so choose.
#11
in reply to:
↑ 10
@
12 years ago
Replying to sooskriszta:
Replying to johnjamesjacoby:
This is by design, to allow empty titles if you so choose.
Totally with JJJ on this. I use empty titles a lot so as to show no widget title.
If default WordPress widgets show titles then why bbPress widgets should not?
#14
@
11 years ago
- Cc wordpress@… added
- Keywords needs-patch removed
- Resolution set to invalid
- Status changed from reopened to closed
Why force the user to write code to filter the default title out? If the user wants it empty, let's leave it empty.
An also "fixing" this now won't be backwards compatible.
This is by design, to allow empty titles if you so choose.