Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#2472 closed defect (bug) (fixed)

display pages with the same post_name as posts

Reported by: donncha Owned by:
Milestone: 2.1 Priority: highest omg bbq
Severity: normal Version: 2.0.1
Component: General Keywords: pages bg|has-patch
Focuses: Cc:


Pages with the same post_name as posts don't get displayed. This patch to wp-includes/functions.php will fix that.

Attachments (2)

patch.txt (546 bytes) - added by donncha 14 years ago.
post-page-slug-clash.diff (1.0 KB) - added by davidhouse 14 years ago.
Exactly the same patch in SVN diff format

Download all attachments as: .zip

Change History (6)

14 years ago

14 years ago

Exactly the same patch in SVN diff format

#1 @davidhouse
14 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.

#2 @donncha
14 years ago

Check any wordpress.com blog, it played havoc with some of the blogs there!
I'll submit future patches using svn diff, thanks!

#3 @ryan
14 years ago

  • Milestone set to 2.1

#4 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3558]) Fix post/page slug out. Props donncha. fixes #2472

Note: See TracTickets for help on using tickets.