[wp-trac] Re: [WordPress Trac] #4883: Option for Combined Link and
Post Categories
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 2 19:12:27 GMT 2007
#4883: Option for Combined Link and Post Categories
-------------------------+--------------------------------------------------
Reporter: karmadude | Owner: anonymous
Type: enhancement | Status: reopened
Priority: high | Milestone: 2.3
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by karmadude):
* status: closed => reopened
* resolution: wontfix =>
Comment:
If a plugin can make this happen, I guess that will work. Sharing
structure does not screw up counts and parenting, because in the
term_taxonomy table you differentiate post and link categories via
taxonomy field(category, link_category). The two entries for the same
category will maintain parenting count, give it a try:
1. Create a post category (let's say term_id 3)
2. Insert another record for term_id 3 in term_taxonomy table but set
taxonomy to link_category, and set the parenting value to match the
category record.
3. Go to Admin page, and you will see the same category show up in both
link and post categories
4. Try adding posts and links to this category, and you will see counts
and parenting working correctly.
So Ryan, your assumption is off here. I would say you take a look at the
taxonomy tables, and api again. As for slugs, names and id's there could
be issues of conflict here, but if these are based off the information in
then term_taxonomy table, then it should work correctly.
@Mark, I understand the discussions which went into the the decision of
not merging link and post categories. But, I am not asking for a exclusive
solution, but a solution that makes both scenarios possible. So if a user
wants to use the same category for both they can, and users who wants to
use different categories for both can do so as well. I don't see why
people are thinking one or other instead of both!
I am turning this ticket back on because this an enhancement request, not
a bug fix!
--
Ticket URL: <http://trac.wordpress.org/ticket/4883#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list