Ticket #4770 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Fix mt_allow_pings in metaWeblog.newPost (XML-RPC)

Reported by: josephscott Assigned to: anonymous
Priority: normal Milestone: 2.2.3
Component: Administration Version:
Severity: normal Keywords: xml-rpc has-patch
Cc: josephscott

Description

There is typo in mw_newPost() that prevents mt_allow_pings from being picked up properly. I've got a patch that fixes this.

A big thank you to Allan Odgaard for pointing this out and not giving up this.

Attachments

ping-xmlrpc.php.diff (1.2 kB) - added by josephscott on 08/17/07 20:39:00.
fix another typo in metaWeblog.editPost and remove duplicate code.
ping-22-xmlrpc.php.diff (0.7 kB) - added by josephscott on 08/18/07 21:34:10.

Change History

08/17/07 20:39:00 changed by josephscott

  • attachment ping-xmlrpc.php.diff added.

fix another typo in metaWeblog.editPost and remove duplicate code.

08/17/07 20:40:34 changed by josephscott

The updated patch now takes care of both typos and removes some duplicate code that was trying to process mt_allow_pings a second time in metaWeblog.editPost.

08/17/07 23:32:49 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [5898]) mt_allow_pings fix. Props Joseph Scott and Allan Odgaard. fixes #4770 for 2.3

08/17/07 23:33:29 changed by ryan

Fixed for 2.3. Needed for 2.2?

08/18/07 21:34:10 changed by josephscott

  • attachment ping-22-xmlrpc.php.diff added.

08/18/07 21:35:13 changed by josephscott

Yes, 2.2 has the same issue. The patch is a little different, provided above as ping-22-xmlrpc.php.diff.

08/20/07 16:03:52 changed by josephscott

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 2.3 (trunk) to 2.2.3.

08/20/07 18:18:46 changed by ryan

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [5905]) mt_allow_pings fix. Props Joseph Scott and Allan Odgaard. fixes #4770 for 2.2