[wp-trac] [WordPress Trac] #31928: Move wp-signup.php functions to a wp-includes directory

WordPress Trac noreply at wordpress.org
Wed Apr 8 01:51:49 UTC 2015


#31928: Move wp-signup.php functions to a wp-includes directory
--------------------------------+-----------------------------
 Reporter:  joemcgill           |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 Right now, all of the functions that deal with multisite registration are
 located in the `wp-signup.php` file, mixed in with control and template
 logic. This makes it difficult to reuse any of the registration
 functionality and makes it harder to create a custom registration
 experience for a network.

 I'd propose moving all of the functional logic into a file in the `wp-
 includes` folder and include that file at the the beginning of the
 registration page, at minimum. Additionally, we could big and make wp-
 signup.php a dummy file and put everything into the wp-includes folder, as
 @markjaquith suggests in #31744. Even so, I think the functional logic
 should be separated out from the rest.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31928>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list