Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23446, comment 7


Ignore:
Timestamp:
02/12/2013 11:36:02 PM (12 years ago)
Author:
daniloercoli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23446, comment 7

    initial v1  
    55For the sake of precision it's just a POST to the login form with the URL of the target page set as "redirect_to" parameter.
    66We are using this technique in 2 case:
    7 - When we need to preview a draft|private|pending post. The value of the redirect_to parameter is set with the permaLink of the post/page. - When we need to access the Dashboard of the site. You can change the location of /wp-admin/ and sometimes for security reason users did that.
     7- When we need to preview a draft|private|pending post. The value of the redirect_to parameter is set with the permaLink of the post/page.
     8- When we need to access the Dashboard of the site. You can change the location of /wp-admin/ and sometimes for security reason users did that.
    89
    910If you are curious see: http://ios.trac.wordpress.org/browser/trunk/WordPress/Classes/PostPreviewViewController.m#L205