Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1801 closed defect (bug) (fixed)

Draft Posts sent trackbacks

Reported by: donncha's profile donncha Owned by: markjaquith's profile markjaquith
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: bg|has-patch bg|commit bg|squashed
Focuses: Cc:

Description

Draft posts send trackbacks. We should probably check that posts are published before execute_pings sends trackbacks!

Attachments (1)

execute-pings.php.diff (586 bytes) - added by markjaquith 19 years ago.
Patch for WP 1.6 SVN

Download all attachments as: .zip

Change History (6)

@markjaquith
19 years ago

Patch for WP 1.6 SVN

#1 @markjaquith
19 years ago

  • Keywords bg|has-patch bg|commit added
  • Milestone set to 1.6
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Patch makes sure post_status = 'publish'

#2 @skippy
19 years ago

  • Keywords bg|squashed added

#3 @ryan
19 years ago

Changed it to "!= draft" since pages can have trackbacks.

#4 @ryan
19 years ago

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

(In [3002]) Don't trackbacks from draft post. Props markjaquith. fixes #1801

#5 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.