WordPress.org

Ready to get started?Download WordPress

Ideas

Allow HTML entities in query-string-style parameters

  1. philgs
    Member

    12345

    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: 7 years ago #
  2. Andy Skelton
    Member

    12345

    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: 7 years ago #
  3. philgs
    Member

    12345

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

    Posted: 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    5 Votes
  • Status

    This idea has been implemented