Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Can’t edit main theme php files after upgrading to 4.9

Discussion in 'Misc WordPress Requests' started by Marius L. J., Nov 17, 2017.

  1. Marius L. J.

    Guest

    Reply To: Can’t edit main theme php files after upgrading to 4.9, by Marius L. J.

    I’m still inclined to think it might be hosting related, are any of these hosts WP-specific (have dedicated packages for WP for example)?

    We could try something I was thinking of earlier today, it’s not unheard of that they might block access to things in the admin area unless you have an appropriate referrer.

    on line 534, add a new line (right before $url = add_query_arg( $scrape_params, $url );)

    The new line should be`


    $headers['Referer'] = $url;


    It’s a bit of a hail-mary, but I’m curious if that might be it.

    Reply To: Can’t edit main theme php files after upgrading to 4.9
     
    #1

Share This Page

Web Hosting