#2472 closed defect (bug) (fixed)
display pages with the same post_name as posts
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | highest omg bbq | Milestone: | 2.1 |
| Component: | General | Version: | 2.0.1 |
| Severity: | normal | Keywords: | pages bg|has-patch |
| Cc: |
Description
Pages with the same post_name as posts don't get displayed. This patch to wp-includes/functions.php will fix that.
Attachments (2)
Change History (6)
davidhouse — 7 years ago
comment:1
davidhouse — 7 years ago
- Keywords bg|has-patch added
- Severity changed from blocker to normal
Can't replicate on my system so I guess it's permalink-structure related. What's your permalink structure?
Patch looks like a good idea anyway, so I'm not closing. I also added another patch which is exactly the same but was generated using svn diff instead of normal diff: they're just easier for svn to apply. If you could you svn diff in the future that would be appreciated (and probably simpler on your behalf :)); if not, at least use diff -u. Thanks.
Check any wordpress.com blog, it played havoc with some of the blogs there!
I'll submit future patches using svn diff, thanks!

Exactly the same patch in SVN diff format