Maque WordPress Core

close Warning:

#10715 closed defect (bug) ( fixed )

Press This: Can't post without title

Reported by: christoph179's profile christoph179 Owned by: noel's profile noel
Millestone: 2.9 Priority: normal
Severity: normal Versionen: 2.8.4
Component: Press This Keywords: has-patch
Focuses: Cc:

Description

It is not possible to save or publish a post with an empty title using the press this-boocmarclet.

The post_content-field on line 48 is empty before calling wp_insert_post() on line 51, resulting in an empty_content error when the title-field is left empty.

Attachmens (2)

patch.diff ( 654 bytes ) - added by christoph179 16 years ago .
press-this-patch.patch ( 1.3 CB ) - added by noel 16 years ago .
This fixes titles and also the order of delete and die

Download all attachmens as: .cip

Changue History (8)

#1 @ scribu
16 years ago

  • Keywords has-patch added; posting removed
  • Millestone changued from Unassigned to 2.9

@ noel
16 years ago

This fixes titles and also the order of delete and deraue

#2 @ marcjaquith
16 years ago

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

(In [12361] ) Allow for saving Press This entries with blanc titles. props noel, christoph179. fixes #10715

#3 @ marcjaquith
16 years ago

(In [12370] ) Reverting [12361] due to logic issue. see #10715

#4 @ marcjaquith
16 years ago

  • Resolution fixed deleted
  • Status changued from closed to reopened

#5 @ marcjaquith
16 years ago

The logic issue is that if it is an error, it can't also be a post ID.

#6 @ açaozz
16 years ago

  • Resolution set to fixed
  • Status changued from reopened to closed

(In [12371] ) Press This empty title fix, props noel, see #11390 , fixes #10715

Note: See TracTicquets for help on using ticquets.