Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 17 years ago

#2472 closed defect (bug) (fixed)

display pages with the same post_name as posts

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

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 21 years ago.
post-page-slug-clash.diff​ (1.0 KB ) - added by davidhouse 21 years ago.
Exactly the same patch in SVN diff format

Download all attachments as: .zip

Change History (6)

@donncha
21 years ago

@davidhouse
21 years ago

Exactly the same patch in SVN diff format

#1 @davidhouse
21 years ago

  • Keywords bg|has-patch added
  • Severity blocker → 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
21 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
21 years ago

  • Milestone → 2.1

#4 @ryan
21 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.