WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35103, comment 4


Ignore:
Timestamp:
12/16/2015 03:05:57 AM (5 years ago)
Author:
khag7
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35103, comment 4

    initial v1  
    88
    99If we commit this patch, we could (and should) search through core files for use of `site_url('wp-login.php')` and instead use either `wp_login_handler_url` or `login_url` depending on the circumstance of use.
     10
     11Edit:
     12The spirit of the original change was good. We shouldn't have hard-coded references to wp-login.php, we should have a function and one place that can be filtered. And attempting to use the existing function, `wp_login_url()` to get that url was a good idea, but its obvious that two separate but similar functions are needed here.