[wp-trac] [WordPress Trac] #25200: Cannot filter Walker items in Walker_Nav_Menu_Checklist class

WordPress Trac noreply at wordpress.org
Fri Feb 21 20:58:43 UTC 2014


#25200: Cannot filter Walker items in Walker_Nav_Menu_Checklist class
-------------------------+------------------------------
 Reporter:  maxaud       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Menus        |     Version:  3.6
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  administration
-------------------------+------------------------------
Changes (by maxaud):

 * keywords:  reporter-feedback =>


Comment:

 I needed to modify the URL associated with the checklist item.

 Here is some coded generated by the item (see: "[menu-item-url]"):

 {{{
 <li>
         <label class="menu-item-title"><input type="checkbox" class="menu-
 item-checkbox" name="menu-item[-2][menu-item-object-id]"
 value="15706">Some Page Item</label>
         <input type="hidden" class="menu-item-db-id" name="menu-item[-2
 ][menu-item-db-id]" value="0">
         <input type="hidden" class="menu-item-object" name="menu-item[-2
 ][menu-item-object]" value="page">
         <input type="hidden" class="menu-item-parent-id" name="menu-
 item[-2][menu-item-parent-id]" value="0">
         <input type="hidden" class="menu-item-type" name="menu-item[-2
 ][menu-item-type]" value="post_type">
         <input type="hidden" class="menu-item-title" name="menu-item[-2
 ][menu-item-title]" value="Some Page Item">
         <input type="hidden" class="menu-item-url" name="menu-item[-2
 ][menu-item-url]" value="http://domain.com/some-wordpress-url/">
         <input type="hidden" class="menu-item-target" name="menu-item[-2
 ][menu-item-target]" value="">
         <input type="hidden" class="menu-item-attr_title" name="menu-
 item[-2][menu-item-attr_title]" value="">
         <input type="hidden" class="menu-item-classes" name="menu-item[-2
 ][menu-item-classes]" value="">
         <input type="hidden" class="menu-item-xfn" name="menu-item[-2
 ][menu-item-xfn]" value="">
 </li>
 }}}

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


More information about the wp-trac mailing list