Allow HTML entities in query-string-style parameters

  1. Inactive


    I would like to be able to pass HTML entities to Template Tags that take query-string-style parameters. I think the easiest way to do this is by putting parameters with HTML entities in quotes, although it may also be possible to "escape" ampersands in entities by preceding them with a backslash or something similar.

    Alternatively, do NOT deprecate the equivalent PHP function-style tags. I've personally run into problems with wp_get_archives versus get_archives, although there are probably other examples.

    Posted: 12 years ago #
  2. Andy Skelton


    They should accept associative arrays as well as query strings. If we missed any, converting functions to accept both is trivial. A trac ticket and patch would go a long way toward making this happen, if needed.

    Posted: 12 years ago #

  3. Inactive


    Ah, good to know. I updated the Codex to include this info.

    Posted: 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    5 Votes
  • Status

    This idea has been implemented