[wp-trac] [WordPress Trac] #34045: "Add New" button links to wrong location

WordPress Trac noreply at wordpress.org
Sun Sep 27 19:34:34 UTC 2015


#34045: "Add New" button links to wrong location
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration
-----------------------------+------------------------------

Comment (by johnjamesjacoby):

 This looks to be caused by the `$post_new_file` global getting overwritten
 by `menu.php`, as the URL in this link-button is influenced by whichever
 custom post type is positioned lastly in the admin menu.

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


More information about the wp-trac mailing list