• In admin.js you have a script to “fix” thickbox. It looks like you aren’t checking to make sure tb_position is actually a function. This causes the script to break on certain pages like the acf custom fields edit group screen.

    Replace line 5 with:

    if(typeof(tb_position) == "function"){
         var tb_position_old = tb_position;
    }

    Or something similar, I used the above to fix it myself.

    Thanks!

    https://ww.wp.xz.cn/plugins/per-page-widgets/

The topic ‘Please Fix admin.js’ is closed to new replies.