[wp-trac] [WordPress Trac] #15811: Self-referrent links should be made avoidable in wp_list_pages / wp_page_menu
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 14 14:43:43 UTC 2010
#15811: Self-referrent links should be made avoidable in wp_list_pages /
wp_page_menu
-------------------------+--------------------------------------------------
Reporter: lewebmobile | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Having a page that links to itself is a well-recognized usability and
accessibility problem.
Currently, wp_list_pages and wp_page_menu don't offer an option to avoid
self-referrent links.
The patch attached to this report adds a "self_link" parameter to these
two functions (defaulting to the current behaviour); when that parameter
is set to false, the markup produced by these functions don't include a
link to the current page.
Someone proposed a plugin to that effect:
http://clockinfo.com/posts/168
but it sounds like something that the core Wordpress should support.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15811>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list