[wp-trac] [WordPress Trac] #23837: Twenty Ten: Fatal error in loop.php
WordPress Trac
noreply at wordpress.org
Fri Mar 22 17:29:22 UTC 2013
#23837: Twenty Ten: Fatal error in loop.php
---------------------------+------------------
Reporter: keoshi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Bundled Theme | Version:
Severity: major | Resolution:
Keywords: has-patch |
---------------------------+------------------
Comment (by SergeyBiryukov):
Replying to [comment:9 lancewillett]:
> Patch 23837.diff allows passing a string to {{{get_category_link()}}} --
we don't need to check type here because {{{get_term_link()}}} already
does that: it accepts object, int, or string.
See [comment:ticket:16521:10] for the reason behind casting to int.
Removing that would cause back compat issues similar to the ones in
#22324.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23837#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list