Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#48177 closed defect (bug) (wontfix)

Remove deprecated get_all_category_ids() from Tests

Reported by: dkarfa Owned by:
Priority: normal Milestone:
Component: Taxonomy Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description


Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@dkarfa
7 years ago

Patch

#1 @SergeyBiryukov
7 years ago

  • Component GeneralTaxonomy
  • 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
7 years ago

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

#4 @SergeyBiryukov
7 years ago

  • Keywords close removed
  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

Closing, per comment:1.

Note: See TracTickets for help on using tickets.