WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#3387 closed enhancement (fixed)

Category is ancestor of

Reported by: donncha Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Via Andy, this function checks that no parent of a category is the same category
Patch includes using it in admin-db.php

Attachments (1)

patch.txt (1.3 KB) - added by donncha 7 years ago.

Download all attachments as: .zip

Change History (4)

donncha7 years ago

comment:1 ryan7 years ago

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

(In [4525]) cat_is_ancestor_of(). fixes #3387

comment:2 chuyskywalker7 years ago

  • Component changed from Administration to General
  • Resolution fixed deleted
  • Status changed from closed to reopened

This is broken -- the function is called with an underscore ( _ ) suffixed, but defined without it.

comment:3 ryan7 years ago

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

(In [4534]) Fix typo. fixes #3387

Note: See TracTickets for help on using tickets.