WordPress.org

Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1777 closed defect (bug) (fixed)

Wrong var being used in xmlrpc.php

Reported by: golly Owned by: westi
Milestone: Priority: normal
Severity: trivial Version: 1.6
Component: XML-RPC Keywords: new_content new content typo bg|dev-feedback
Focuses: Cc:

Description

On line 438 of xmlrpc.php we have the following

$content = $newcontent;

but I think it's a mistake. I think it's supposed to be

$content = $new_content;

Attachments (1)

xmlrpc.diff (468 bytes) - added by westi 15 years ago.
diff for xmlrpc.php to fix this

Download all attachments as: .zip

Change History (4)

#1 @westi
15 years ago

  • Component changed from Administration to XML-RPC
  • Keywords bg|dev-feedback added
  • Milestone set to 1.6
  • Owner changed from anonymous to westi
  • Priority changed from low to normal
  • Status changed from new to assigned
  • Summary changed from (Possibly) wrong var being used in xmlrpc.php to Wrong var being used in xmlrpc.php
  • Version changed from 1.5.2 to 1.6

This looks like a true typo in <code>blogger_editPost</code> line 434 of current trunk.

Patch attached.

@westi
15 years ago

diff for xmlrpc.php to fix this

#2 @ryan
15 years ago

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

(In [2957]) Fix typo in blogger_editPost(). Don't invoke content_save_pre since that is done by the insert/update functions. fixes #1777

#3 @(none)
14 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.