Opened 11 years ago
Closed 11 years ago
#27417 closed defect (bug) (fixed)
recent posts widget default number of posts to show
Reported by: | afercia | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 3.9 | Priority: | low |
Severity: | normal | Version: | 2.8 |
Component: | Widgets | Keywords: | has-patch |
Focuses: | ui | Cc: |
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
@
11 years ago
- Focuses ui added
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.9
- Priority changed from normal to low
- Version changed from trunk to 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.
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