[wp-trac] [WordPress Trac] #48177: Remove deprecated get_all_category_ids() from Tests

WordPress Trac noreply at wordpress.org
Tue Oct 1 21:42:59 UTC 2019


#48177: Remove deprecated get_all_category_ids() from Tests
-----------------------------+------------------------------
 Reporter:  dkarfa           |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:
-----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch close
 * component:  General => Taxonomy


Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48177#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list