Make WordPress Core

Opened 7 weeks ago

Last modified 6 weeks ago

#48177 new defect (bug)

Remove deprecated get_all_category_ids() from Tests

Reported by: dkarfa Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch close
Focuses: Cc:
PR Number:


Attachments (1)

48177.patch (844 bytes) - added by dkarfa 7 weeks ago.

Download all attachments as: .zip

Change History (4)

7 weeks ago


#1 @SergeyBiryukov
7 weeks ago

  • Component changed from General to Taxonomy
  • Keywords close added

Thanks for the patch!

Even if the function is deprecated, as long as it's still in core, we need tests to ensure it works correctly. I'd say that having tests for deprecated functions is especially important for tracking any accidental regressions, as the functions are not used otherwise. I don't see why this test should be removed.

#3 @dkarfa
6 weeks ago

Hi @SergeyBiryukov
Thanks for the update, as you see the test function using get_all_category_ids(), which is deprecated.

Note: See TracTickets for help on using tickets.