Opened 3 years ago
Last modified 11 months ago
#45513 reviewing defect (bug)
Notice: Undefined index: year
Reported by: | 1naveengiri | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Permalinks | Keywords: | has-screenshots needs-testing dev-feedback has-patch needs-unit-tests |
Focuses: | Cc: |
Description
With permalink structure /%postname%/%monthnum%/
When I visit a post in frontend it throw me a notice
Notice: Undefined index: year at wp-includes/rewrite.php:387
Attachments (3)
Change History (9)
#3
@
3 years ago
- Milestone changed from Awaiting Review to 5.1
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
#4
@
3 years ago
- Keywords needs-unit-tests added
- Milestone changed from 5.1 to Future Release
This will need fairly careful testing and review for back compat issues.
Unit tests would be useful here.
Note: See
TracTickets for help on using
tickets.
Nice cache @1naveengiri
Confirm if we use /%postname%/%monthnum%/ in Custom Structure then in front end it show attached
Notice: Undefined index: year in /mukesh/wordpress5.0/wp-includes/rewrite.php on line 387