[wp-trac] [WordPress Trac] #18166: Be able to amend the parent dropdown on the edit taxonomy term page
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 20 06:22:17 UTC 2011
#18166: Be able to amend the parent dropdown on the edit taxonomy term page
-------------------------+------------------------------
Reporter: leewillis77 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.2.1
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by leewillis77):
Ah, right OK. The value returned is up to the filter function itself. In
my working example I was doing:
function ($a, $b) {
modify_b();
return $b;
}
But you're right - as a matter of style I guess the arguments should be
the other way around, so that the first variable passed is the one that is
"filtered". Re-worked patch attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18166#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list