[wp-trac] [WordPress Trac] #5501: next_posts_link broken on custom
page with template of the same name
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 21 19:18:43 GMT 2007
#5501: next_posts_link broken on custom page with template of the same name
------------------------+---------------------------------------------------
Reporter: drphil9001 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: Template | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
If you have a Page and a template that is named the same name as the Page,
the next_posts_link and previous_posts_link do not work. Note that this is
not the file name, but rather the Template name in the file itself.
The following steps will reproduce this bug:
1. Copy index.php to Blog.php in the default theme
2. Give Blog.php the Template Name "Blog"
3. Write > Write Page
4. Enter "Blog" for the page name with no content
5. Select "Blog" as the page template.
6. View the page.
--
Ticket URL: <http://trac.wordpress.org/ticket/5501>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list