Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1801 closed defect (bug) (fixed)

Draft Posts sent trackbacks

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

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 21 years ago.
Patch for WP 1.6 SVN

Download all attachments as: .zip

Change History (6)

@markjaquith
21 years ago

Patch for WP 1.6 SVN

#1 @markjaquith
21 years ago

  • Keywords bg|has-patch bg|commit added
  • Milestone1.6
  • Owner changed from anonymous to markjaquith
  • Status newassigned

Patch makes sure post_status = 'publish'

#2 @skippy
21 years ago

  • Keywords bg|squashed added

#3 @ryan
21 years ago

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

#4 @ryan
21 years ago

  • Resolutionfixed
  • Status assignedclosed

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

#5 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.