[wp-trac] [WordPress Trac] #27457: Avoid undefined function fatal on quickdraft save

WordPress Trac noreply at wordpress.org
Wed Mar 19 16:51:55 UTC 2014


#27457: Avoid undefined function fatal on quickdraft save
----------------------------+-----------------------
 Reporter:  obenland        |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.9
Component:  Administration  |    Version:  3.8
 Severity:  normal          |   Keywords:  has-patch
  Focuses:                  |
----------------------------+-----------------------
 In case it comes to an error when a quickdraft is saved, the call to
 `wp_dashboard_quick_press()` returns in a fatal error because `wp-
 admin/includes/dashboard.php` doesn't get included until a few lines
 later.

 Introduced in r26144 (specifically
 [https://core.trac.wordpress.org/changeset/26144#file9 here]).

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


More information about the wp-trac mailing list