#20192 closed defect (bug) (invalid)
Posts loaded twice if permalink setting is on
| Reported by: | themeprince | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.3.1 |
| Severity: | major | Keywords: | reporter-feedback close |
| Cc: | Focuses: |
Description
If I set "post name" in permalink settings, the posts are called twice.
You can easily test it if you add this php code to the header.php and visit a blog post:
$x = get_option('ub_test');
update_option('ub_test',($x + 1));
The value will increase by two.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This works as expected for me with the default theme (twentyeleven).
Have you tried disabling all plugins? If it continues to be a problem then I suspect that the theme is accidentally including header.php twice itself.