[wp-trac] [WordPress Trac] #29890: Make menu descriptions available to be displayed on the front-end
WordPress Trac
noreply at wordpress.org
Thu Nov 20 12:20:19 UTC 2014
#29890: Make menu descriptions available to be displayed on the front-end
--------------------------------------+-----------------------
Reporter: obenland | Owner: helen
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.1
Component: Menus | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch twenty-fifteen | Focuses: template
--------------------------------------+-----------------------
Comment (by obenland):
Replying to [comment:26 philiparthurmoore]:
> For example, if I know that a user is on an old version of WordPress and
has a ton of trimmed post content stored in his menu descriptions, I could
modify that output via `nav_menu_description` from within the theme for
front-end display.
It's unfortunately not that easy, I'm afraid. We can't make assumptions
based on the WordPress version. If a user has menu items that were created
during that time, the description contains the post content, even today,
even when their install is current, like in your case.
Short of adding a user option to toggle the display of menu item
descriptions, there is really not a whole lot we can do to mitigate the
risk of running into a situation where they have long descriptions show
up. The only comforting thought is, that it's only an issue with old menu
items, it'll only show up on theme change, and it's something that users
will probably catch when they preview their site with the new theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29890#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list