[wp-trac] [WordPress Trac] #24131: Fix post previews for multisite with domain mapping

WordPress Trac noreply at wordpress.org
Thu Jun 20 17:48:06 UTC 2013


#24131: Fix post previews for multisite with domain mapping
----------------------------+-----------------------------
 Reporter:  azaozz          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------------

Comment (by azaozz):

 Don't think this is a regression from 3.5.1. This was made more obvious
 after the change in 3.6.

 It has to do with the way remote login works. Checking a nonce on `init`
 is too early on the front end. If the user hasn't visited the front end
 before, the nonce check fails on the first attempt.

 24131-2.patch is an alternative solution (bearing in mind [#comment:3
 westi's comment]) that fixes this by moving the nonce check to
 `_set_preview()` which runs later.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24131#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list