[wp-trac] [WordPress Trac] #30800: Twenty Fourteen does not set priority for sidebars

WordPress Trac noreply at wordpress.org
Wed Dec 24 08:52:57 UTC 2014


#30800: Twenty Fourteen does not set priority for sidebars
------------------------------+-----------------------
 Reporter:  WPMUDEV-Support6  |       Owner:
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:
Component:  Bundled Theme     |     Version:
 Severity:  minor             |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------

Comment (by dd32):

 The duplicate ticket had this extra information:
 > What all that means is that my code being in child theme is called
 before the code in the main theme functions.php and I unregister the
 sidebar, but then the main theme register it.
 > There is no priority I could assign to my unregister_sidebar as in this
 case it is missing in the parent theme.

 The `remove_action` call will need to be made during the
 `after_setup_theme ` hook to work.

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


More information about the wp-trac mailing list