post paginating <!--nextpage--> does not work
|Reported by:||hakre||Owned by:||nacin|
When <!--nextpage--> is placed at the very beginning of the post content (first page contains zero-length content) then pagination does not work at all.
Example post content for reproduction:
<!--nextpage--> page2 <!--nextpage--> page3
This will result in a single page, not in a three or two page setup.
It's related to strpos returning 0 which is casted into false when if'ed.
Change History (17)
- Keywords has-patch commit added
- Milestone changed from Awaiting Review to Future Release
- Owner set to nacin
- Status changed from new to accepted
- Milestone Future Release deleted
- Resolution set to wontfix
- Status changed from accepted to closed
- Cc info@… added
- Resolution wontfix deleted
- Status changed from closed to reopened
comment:4 SergeyBiryukov — 9 months ago
- Component changed from General to Query
- Milestone set to Awaiting Review