Support » Plugin: reGenerate Thumbnails Advanced » Bug: Incorrect url for wp-json

  • htmltiger

    (@htmltiger)


    Hi,

    I have just found that if wordpress is installed/moved in a sub directory it will not work

    need to edit line 45 and change site_url to home_url in regenerate-thumbnails-advanced.php
    wp_add_inline_script(‘jquery-core’, ‘var RTArestUrl = \”.home_url().’/wp-json/rta/regenerate\’;var RTApluginURL = \”.plugin_dir_url( __FILE__ ).’\’;’);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug: Incorrect url for wp-json’ is closed to new replies.