Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#2472 closed defect (bug) (fixed)

display pages with the same post_name as posts

Reported by: donncha's profile 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:

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)

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

Download all attachments as: .zip

Change History (6)

@donncha
19 years ago

@davidhouse
19 years ago

Exactly the same patch in SVN diff format

#1 @davidhouse
19 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
19 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
19 years ago

  • Milestone set to 2.1

#4 @ryan
19 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.