[wp-trac] [WordPress Trac] #34395: Don't load admin files on each request

WordPress Trac noreply at wordpress.org
Thu Oct 22 14:48:01 UTC 2015


#34395: Don't load admin files on each request
------------------------------------+--------------------------
 Reporter:  dimadin                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.4
Component:  REST API                |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  performance
------------------------------------+--------------------------
Changes (by swissspidy):

 * keywords:   => has-patch dev-feedback
 * milestone:  Awaiting Review => 4.4


Comment:

 This was introduced long time ago, back when @rmccue worked on it during
 GsoC. See https://gsoc.trac.wordpress.org/changeset/1980

 Seems like it was related to some date handling functions. I ran the core
 tests and the plugin tests from GitHub now without including `wp-
 admin/includes/admin.php` and it worked without a problem. So either it
 really isn't needed or we just don't know the reason why it's still
 included.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34395#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list