• Resolved browndog82

    (@browndog82)


    Hi Guys,

    It seems that the plugin URL Params does not work as of WordPress 4.1.5 or 4.1.6. We have minor automatic upgrades enabled on our sites, and as of the 4.1.6 upgrade (7/23/15), we realized that the plugin would no longer grab URL parameters as intended.

    It is possible that this issue began with the 4.1.5 automatic upgrade (5/7/15), but we did not notice the issue until the 4.1.6. We are fairly certain the issue is the 4.1.6 upgrade, and the plugin does not seem to work with any upgrades thereafter.

    https://wordpress.org/plugins/url-params/

Viewing 3 replies - 1 through 3 (of 3 total)
  • confirmed above 🙁

    Plugin Author Jeremy B. Shapiro

    (@jeremyshapiro)

    Thanks for the heads up, folks. WordPresses 4.2.3 update was kind enough to break the way shortcodes process inside of HTML attributes. We’ve accommodated this change in the latest plugin update.

    Previous to this WordPress update, you could set a field value like this: <input type="text" name="firstname" value="[urlparam param='FirstName']">. Now you have to set it like this: <input type="text" name="firstname" [urlparam attr="value" param='FirstName']>.

    If you are still using this shortcode the old way, unfortunately, WordPress simply won’t process the shortcode and will return back the full shortcode text unprocessed.

    Thread Starter browndog82

    (@browndog82)

    Thanks for the fix, Jeremy!

    However, I think there is still an issue in that shortcodes within certain URLs and html. We hired someone from Upwork (formerly oDesk) last week to fix the issue for us, and he added this code which seemed to resolve the issue:

    add_filter( ‘wp_kses_allowed_html’, function ( $allowedposttags, $context ) {
    if ( $context == ‘post’ ) {
    $allowedposttags[‘input’][‘value’] = 1;
    }
    return $allowedposttags;
    }, 10, 2 );

    However, being the actual plugin creator, you will probably have your own, better way of doing it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Plugin URL Params Broken WP v.4.1.6’ is closed to new replies.