[wp-trac] [WordPress Trac] #36225: Cache wp_nav_menu with Transient API
WordPress Trac
noreply at wordpress.org
Mon Jul 18 22:46:43 UTC 2016
#36225: Cache wp_nav_menu with Transient API
-------------------------+------------------------------
Reporter: ianatkins | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses: performance
-------------------------+------------------------------
Comment (by tazotodua):
better idea! please, why dont you add this to WP-core?:
attach each link ("<a>" tag) the id of the object. for example:
{{{
<li>
<a class="p284">
</li>
}}}
that means POST,with id 284
or
{{{
<li>
<a class="c284">
</li>
}}}
that means category,with id 284
and so on... It will be very good!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36225#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list