WordPress.org

Ready to get started?Download WordPress

Forums

comparative analysis of "wp_list_*" ??? (4 posts)

  1. phpwalter
    Member
    Posted 4 years ago #

    Has anyone done a comparative analysis of all the "wp_list_*" functions?

    * author
    * bookmark
    * category
    * comment
    * post

    I ask because I made the the assumption that these functions all acted in a similar fashion, has similar arguments lists, etc.

    Yea, I was wrong.

    For example:
    some use ONE/ZERO while others use TRUE/FALSE
    some use 'extract( $r )" while others use "extract( $r, EXTR_SKIP )"
    some use "'title_li'"others don't

    I have found this to be confusing and frustrating. Yea, I know, it's me, but I prefer an API that uses a common parameter structure when functions have common names and common expectations.

    Anyone have any issues if I do this comparative analysis of these functions and then propose how to "unify" them to work in concert and is a similar fashion?

    Walter

  2. MichaelH
    Member
    Posted 4 years ago #

    No problem. You might consider placing your unification proposal in the WordPress Trac. See Reporting Bugs.

  3. phpwalter
    Member
    Posted 4 years ago #

    Great, thx.

    Walter

  4. MichaelH
    Member
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic