Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#3384 closed defect (bug) (fixed)

get_the_category() is broken

Reported by: tassoman Owned by: anonymous
Priority: high Milestone: 2.1
Component: General Version: 2.1
Severity: major Keywords: category, posts
Cc: tassoman@…

Description

The function get_the_category() in the loops, returns no categories.

More, is broken also $cat->category_nicename, and "no category" appears also in the wp-admin/edit.php list.

If I open posts, theire category is correctly set. More, in the sidebar's wp_list_cats() counts are ok.

This, while I've updated to revision 4522.

Change History (6)

  • Resolution set to fixed
  • Status changed from new to closed

Solved in revision 4532.

  • Resolution fixed deleted
  • Status changed from closed to reopened

Er, whoops, hit submit without meaning to.

Anyway, gonna reopen until it's actually confirmed it's fixed. [4532] is just a version bump.

  • Resolution set to fixed
  • Status changed from reopened to closed

Re-marking as CLOSED fixed as original submitter marked it closed and no one else has said here they are still experiencing this issue. Please reopen with additional details if anyone is still experiencing this problem.

Hi Tassoman,

Are you saying that you upgraded to r4532 and are no longer seeing the issue? As Viper points out that is different than saying it is resolved *in* that revision.

And thank you for the great contribution to WordPress!

Oh crap, I didn't notice that the person who closed it was the one that opened it. My bad.

Sorry guys I was in a hurry. I wanted to say, one day after, when I upgraded at 4532 the problem vanished. I hope it's solved.

Note: See TracTickets for help on using tickets.