[wp-trac] [WordPress Trac] #17194: Term intersection requests ignore non-existent terms.

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 09:02:32 UTC 2011


#17194: Term intersection requests ignore non-existent terms.
--------------------------+-----------------------
 Reporter:  ryan          |       Owner:  scribu
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.2
Component:  Taxonomy      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by westi):

 Replying to [comment:7 scribu]:
 > As I said, the point of using exceptions here is to avoid error checking
 at each step. You can't do that with WP_Error, unless it's made throwable.

 Yes. But using WP_Error and checking for it makes the code flow explicit
 and more readable and it how WordPress works.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17194#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list