id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 17923 add_query_arg() should encode values Viper007Bond "One (or me at least) would expect that the result of {{{ add_query_arg( 'foobar', 'this&that', 'index.php' ) }}} would be {{{ index.php?foobar=this%26that }}} since the whole purpose of the function is to build a URL. However the actual result is {{{ index.php?foobar=this&that }}} You're asking to the function to create a URL in which `foobar` is `this&that` but instead it creates a URL in which `foobar` is set to only `this`. You shouldn't have to pre-encode values -- the function should take care of it for you. The function to ""blame"" for this is our `build_query()` which for some reason does not encode by default. Semi-related: #16943" defect (bug) reopened normal Formatting 3.2 normal has-patch needs-refresh