Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#1835 closed defect (bug) (fixed)

no link to get back to post from subpost if post title is blank

Reported by: stevecooley's profile stevecooley Owned by: westi's profile westi
Milestone: 2.3 Priority: normal
Severity: minor Version: 1.6
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

If you create a post with no title, and you import a photo, when you view the post and click on the photo, there is text that says "Belongs to ..." and there's no link back to the post.

Attachments (2)

1835.diff (987 bytes) - added by johnbillion 17 years ago.
Patch to display 'Previous Post' or 'Next Post' when no post title is specified
1835.2.diff (1023 bytes) - added by johnbillion 17 years ago.
Same as patch 1835 but with full path from root

Download all attachments as: .zip

Change History (9)

#1 @matt
18 years ago

  • Milestone changed from 1.6 to 2.1

This is a general problem with previous and next links.

#2 @Nazgul
17 years ago

  • Keywords needs-patch added

This begs the question: Should it even be allowed to publish a post without a title?

#3 @matt
17 years ago

  • Milestone changed from 2.1 to 2.2

@johnbillion
17 years ago

Patch to display 'Previous Post' or 'Next Post' when no post title is specified

#4 @johnbillion
17 years ago

  • Keywords has-patch added; needs-patch removed

I've written a patch for previous_post_link and next_post_link so the words Previous Post and Next post, respectively, are displayed when a post has no title.

Re: comment 2, I don't think it is necessary to force users to specify a post title.

@johnbillion
17 years ago

Same as patch 1835 but with full path from root

#5 @foolswisdom
17 years ago

  • Milestone changed from 2.2 to 2.3

#6 @westi
17 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

Patch looks good.

Needs so I18N adding as well.

#7 @westi
17 years ago

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

(In [6082]) Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion

Note: See TracTickets for help on using tickets.