• Resolved Malae

    (@malae)


    Thanks for a very useful and versatile plugin.

    I have been using debug to check some code issues and found the following:
    PHP Notice: Use of undefined constant WB_VID_URL – assumed ‘WB_VID_URL’ in \wp-content\plugins\workbox-video-from-vimeo-youtube-plugin\workbox_video.php on line 1228

Viewing 1 replies (of 1 total)
  • Thread Starter Malae

    (@malae)

    After some checking I changed the code:

    .wb_video_icon {position:absolute; left:46px; top:33px; display:block; width:31px; height:27px; background:url(' . WB_VID_URL . 'ico-play.png) 0 0 no-repeat;}

    to:

    .wb_video_icon {position:absolute; left:46px; top:33px; display:block; width:31px; height:27px; background:url(' . 'WB_VID_URL' . 'ico-play.png) 0 0 no-repeat;}

    Seems to do the trick, please confirm.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: undefined constant’ is closed to new replies.