Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 4 months ago

#1777 closed defect (bug) (fixed)

Wrong var being used in xmlrpc.php

Reported by: golly's profile golly Owned by: westi's profile 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 20 years ago.
diff for xmlrpc.php to fix this

Download all attachments as: .zip

Change History (5)

#1 @westi
20 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
20 years ago

diff for xmlrpc.php to fix this

#2 @ryan
20 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)
19 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

#4 @devdansom
4 months ago

diff for xmlrpc.php to fix this

https://urbancrest.co.uk
https://puresteps.co.uk
https://goldenharbor.co.uk
https://freshgrove.co.uk
https://openharbor.co.uk
https://safeharborvale.co.uk
https://valleyharbor.co.uk
https://newleafpoint.co.uk
https://crystalharbor.co.uk
https://modernvale.co.uk
https://freshvista.co.uk
https://harborlane.co.uk
https://urbanhill.co.uk
https://brightgrove.co.uk
https://forestvale.co.uk
https://harborvale.co.uk
https://dailygrove.co.uk
https://crystalvale.co.uk
https://freshvale.co.uk
https://harborhill.co.uk
https://ecoledge.co.uk
https://silvervista.co.uk
https://dailyhaven.co.uk
https://opencrest.co.uk
https://brightmead.co.uk
https://greenmeadowvale.co.uk
https://brightstonepath.co.uk
https://urbanriverpoint.co.uk
https://silvergrovehill.co.uk
https://goldencrestvale.co.uk
https://clearhorizonview.co.uk
https://blueharbornest.co.uk
https://freshvalleycove.co.uk
https://crystalmeadowlane.co.uk
https://sunnyforestvale.co.uk
https://openharborhill.co.uk
https://dailygroveview.co.uk
https://modernvalleynest.co.uk
https://greenhillpath.co.uk
https://brightmeadowcove.co.uk
https://silverleafvale.co.uk
https://oceanharbornest.co.uk
https://rivercresthill.co.uk
https://goldenvalepark.co.uk
https://clearmeadowgrove.co.uk
https://freshharborvale.co.uk
https://urbanleafhill.co.uk
https://skymeadowpoint.co.uk
https://truevalleycove.co.uk
https://forestharbornest.co.uk

Note: See TracTickets for help on using tickets.