Opened 3 years ago
Last modified 2 years 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: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: | ui, javascript, administration, template, sustainability |
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.
2 years ago
#3
@
2 years 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Random large value entered