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

WordPress Trac noreply at wordpress.org
Thu Oct 1 00:47:24 UTC 2015


#34045: "Add New" button links to wrong location
-------------------------------+-----------------------------
 Reporter:  johnjamesjacoby    |       Owner:  norcross
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by helen):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34723"]:
 {{{
 #!CommitTicketReference repository="" revision="34723"
 Don't show the "Add New" link on `post-new.php`.

 Using the same `$post_new_file` global variable name in `wp-
 admin/menu.php` in [33723] was unintentional, but we're already unsetting
 other variables that are in global scope so we can just unset this one as
 well. Someday the admin menu won't be a big pile of sad and cryptic
 globals. Maybe.

 props johnjamesjacoby, norcross.
 fixes #34045.
 }}}

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


More information about the wp-trac mailing list