• There’s an infinite error caused by an undefined attribute, when using Option Tree + WordPress 3.5

    The fix is to put another condition for the if at line 294(ot-admin.js)..

    So:

    if ( $('#TB_iframeContent').attr('src').indexOf( "&field_id=" ) !== -1 ) {

    becomes:

    if ( $('#TB_iframeContent').attr('src') != 'undefined' && $('#TB_iframeContent').attr('src').indexOf( "&field_id=" ) !== -1 ) {

    http://wordpress.org/extend/plugins/option-tree/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Infinite console errors on adding images’ is closed to new replies.