Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#553 closed defect (bug) (wontfix)

In post.php, categories don't appear when parent category has lower cat_ID than grandparent. [admin-functions.php line 40]

Reported by: jyasskin's profile jyasskin Owned by: matt's profile matt
Milestone: Priority: normal
Severity: minor Version: 1.2
Component: Administration Keywords:
Focuses: Cc:

Description

In the posting interface, either writing a new post or editing, I have a few categories that aren't showing up. The structure of the categories is:

Technology
-Software
--Web

and Web doesn't show up. I created the Technology category after the Software category and then went back and assigned it to be Software's parent.

The attached patch appears to fix the problem. I haven't tested it a whole lot though, so be careful.

Attachments (2)

admin-functions-wp122.patch (1.0 KB) - added by jyasskin 20 years ago.
wp-admin-functions.php.diff (1.0 KB) - added by jyasskin 20 years ago.

Download all attachments as: .zip

Change History (5)

#1 @jyasskin
20 years ago

  • Patch set to No

#2 @kelson
20 years ago

I just modified the patch to apply cleanly to WP 1.2.2

#3 @2fargon
20 years ago

  • Patch changed from No to Yes
  • Status changed from new to assigned

#4 @matt
20 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 50
  • Status changed from assigned to closed

I can't find this code anywhere

Note: See TracTickets for help on using tickets.