Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16521, comment 11


Ignore:
Timestamp:
02/10/2011 09:38:18 PM (15 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16521, comment 11

    initial v1  
    1 If the arg is not an object, it is cast to int. This disallows slugs, but that seems the only sane path.  get_term_link() is returned to what is was before since the phpdoc for says WP_Error can be returned and there are places in the code that explicitly check for a WP_Error return.
     1If the arg is not an object, it is cast to int. This disallows slugs, but that seems the only sane path.  get_term_link() is returned to what is was before since the phpdoc for it says WP_Error can be returned and there are places in the code that explicitly check for a WP_Error return.