Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25429, comment 3


Ignore:
Timestamp:
10/03/2013 10:47:09 AM (13 years ago)
Author:
johnbillion

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25429, comment 3

    initial v1  
    1 Note that `get_tag()` just returns the value of `get_term()`, so it returns `null` if the tag doesn't exist. Should we match `get_tag()` for consistency, or should we return a `wp_error` as per Sergey's patch?
     1Note that `get_tag()` just returns the value of `get_term()`, so it returns `null` if the tag doesn't exist. Should we match `get_tag()` for consistency by returning `null`, or should we return a `wp_error` as per Sergey's patch?