WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17069, comment 19


Ignore:
Timestamp:
12/08/16 14:10:41 (14 months ago)
Author:
keesiemeijer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17069, comment 19

    initial v1  
    1 I agree, flipping the value in `get_category_parents()` feels off and doesn't give it any meaning of what the value actually does . With a format value we can give the meaning back and make it much more readable in both functions. 
     1I agree, flipping the value in `get_category_parents()` feels off and doesn't give it any meaning of what the value actually does . With a format argument we can give the meaning back and make it much more readable in both functions. 
    22 
    33>>Why `array_reverse()` before generating the markup? Does `get_ancestors()` return values in a reverse order from the way that `get_category_parents()` currently does it?