Opened 12 months ago
Last modified 5 months ago
#60072 new defect (bug)
No upper limit restriction for number of posts set via Site Editor and the value entered by the user chang
Reported by: | jomonthomaslobo1 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | reporter-feedback |
Focuses: | ui, javascript, administration, template, sustainability | Cc: |
Description
Description
No upper limit restriction for number of posts set via Site Editor and the value entered by the user changes
Environment
- WordPress: 6.4.2
- PHP: 7.4.33
- Server: Apache/2.4.54 (Unix) OpenSSL/1.0.2u PHP/7.4.33 mod_wsgi/3.5 Python/2.7.18 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.30.1
- Database: mysqli (Server: 5.7.39 / Client: mysqlnd 7.4.33)
- Browser: Chrome 118.0.0.0 (macOS)
- Theme: Twenty Twenty-Four 1.0
- MU-Plugins: None activated
- Plugins:
- WordPress Beta Tester 3.5.5
Steps to Reproduce
- Goto Site Editor
- In the No. of posts per page option give a huge number and save the changes
- 🐞 Bug occurs.
Expected Results
- ✅ It should show the maximum number of posts allowed per page exceeded validation message or the value added by the user
Actual Results
- ❌ Goto Site Editor again and we can see the number changed to 9223372036854776000
- There is no upper limit validation and the value entered by the user changed to some random values
Attachments (2)
Change History (5)
This ticket was mentioned in Slack in #core by jomonthomaslobo1. View the logs.
6 months ago
#3
@
5 months ago
- Keywords reporter-feedback added; needs-patch removed
Welcome to Trac @jomonthomaslobo1! It seems that the same behavior is noticed when setting the Blog posts via Settings > Reading. Are you suggesting it to add some restriction on how many blog posts to allow? Is there any specific use case for this you might want to share?
Note: See
TracTickets for help on using
tickets.
Random large value entered