Addendum:

It turns out that it's not the post-saving routine that's adding the additional link-cat to a new post.

But the upgrading process from WP2.2 creates in wp25_term_relationships a massive amounts of "object_id"s , way past the last post object. Creating both the correct new `term_taxonomy_id` for an old post, but also adding a false object (with a link-cat).

This results in all old posts (WP2.2) to be associated with a regular post-cat AND a link-cat!!

Newly created (WP2.5) posts are setup correctly, however due the already stored false objects in wp25_term_relationships there is a miss association.


Can someone confirm this?


Oliver


deliciousdays wrote:

It is quite disturbing, that saving a normal post will in fact create two entries in `wp_term_relationships`. One entry connecting (rightfully so) the post to the category chosen and a second one to a *link-category* ???

It seems to always be the same link category.

For normal blog usage this may be still be ugly but irrelevant but it does break for instance advanced search plugins and possibly other.


Oliver

DD32 wrote:
The dashboard css is loaded on admin_head too, If you want to have specific 
rules loaded after all others, set the priority to late, ie:

add_action('admin_head', 'my_function', 0, 100);

On Thu, 06 Mar 2008 21:01:42 +1100, Dean Robinson <[EMAIL PROTECTED]> wrote:

Hi all,

While working on my new admin theme/plugin I noticed that when I use
the 'admin_head' action, on just about every admin screen it adds it
as the last thing inside the <head>, except for on the dashboard,
where the dashboard.css is actually added after it. Not a big issue, I
just used some more specific styles to get around it but wondering if
this is done for any particular reason.

Dean Robinson

deanjrobinson.com
[EMAIL PROTECTED]
--------------------------------------
twitter.com/deanjrobinson
hahlo.com
twitter.com/hahlo



_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers




_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to