Opened 12 years ago
Closed 12 years ago
#27417 closed defect (bug) (fixed)
recent posts widget default number of posts to show
| Reported by: | afercia | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | low | Milestone: | 3.9 |
| Component: | Widgets | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | ui |
Description
noticeable especially in the new widgets customizer preview:
in the field "Number of posts to show" the default value is 5
but in the preview you will see 10 posts by default
proposed patch attached
Attachments (2)
Change History (4)
#1
@
12 years ago
- Focuses ui added
- Keywords has-patch added
- Milestone Awaiting Review → 3.9
- Priority normal → low
- Version trunk → 2.8
Good catch, @afercia! I confirm that when first inserting a Recent Posts widget, it shows 10 posts in the preview. Then when starting to edit the title, it then receives the default input value of 5. I discovered a couple other issues related to widgets in the customizer and amended the patch with those fixes.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Use DEFAULT_NUMBER class constant; prevent customizer default input styles from applying to widget control forms; use input number type for integer widget fields and ensure proper number styles. Commits also pushed to GitHub branch: https://github.com/x-team/wordpress-develop/compare/trac-27417