[wp-trac] [WordPress Trac] #38114: Make it easier to visualize where to put your content in a given theme (aka "dummy content")

WordPress Trac noreply at wordpress.org
Sun Nov 27 03:04:38 UTC 2016


#38114: Make it easier to visualize where to put your content in a given theme (aka
"dummy content")
----------------------------------------------------+---------------------
 Reporter:  helen                                   |       Owner:  helen
     Type:  task (blessed)                          |      Status:  closed
 Priority:  normal                                  |   Milestone:  4.7
Component:  Themes                                  |     Version:
 Severity:  normal                                  |  Resolution:  fixed
 Keywords:  has-patch needs-testing needs-dev-note  |     Focuses:
----------------------------------------------------+---------------------

Comment (by westonruter):

 In [changeset:"39365"]:
 {{{
 #!CommitTicketReference repository="" revision="39365"
 Customize: Fix logic for previewing the URL for `nav_menu_item` settings
 for terms and post type archives.

 Fixes typo in args passed to `get_term_link()` which caused a fatal error
 due to this call returning a `WP_Error` which was set to `url`. Also fixes
 never-satisfiable condition for obtaining post type archive URL. Also
 ensures that `WP_Error` never leaks through as `url` by setting it to an
 empty string. Adds missing unit tests.

 Amends [38991].
 See #38114.
 Fixes #38945.
 }}}

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


More information about the wp-trac mailing list