WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#4770 closed defect (bug) (fixed)

Fix mt_allow_pings in metaWeblog.newPost (XML-RPC)

Reported by: josephscott Owned by:
Milestone: 2.2.3 Priority: normal
Severity: normal Version:
Component: Administration Keywords: xml-rpc has-patch
Focuses: Cc:

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 (2)

ping-xmlrpc.php.diff (1.2 KB) - added by josephscott 13 years ago.
fix another typo in metaWeblog.editPost and remove duplicate code.
ping-22-xmlrpc.php.diff (725 bytes) - added by josephscott 13 years ago.

Download all attachments as: .zip

Change History (8)

@josephscott
13 years ago

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

#1 @josephscott
13 years ago

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.

#2 @ryan
13 years ago

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

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

#3 @ryan
13 years ago

Fixed for 2.3. Needed for 2.2?

#4 @josephscott
13 years ago

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

#5 @josephscott
13 years ago

  • Milestone changed from 2.3 (trunk) to 2.2.3
  • Resolution fixed deleted
  • Status changed from closed to reopened

#6 @ryan
13 years ago

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

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

Note: See TracTickets for help on using tickets.