WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Sketch Bookmarks needs a little fix with the directory

[Resolved] Sketch Bookmarks needs a little fix with the directory

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think that I now have that fixed. I’ll have it udated in the directory in about 15 minutes. We’ll call it 1.1.1 so when you see that version you’ll see that it’s been updated. Thanks for helping me find that.

    This’ll fix the latest fix 🙂

    $sketch_images_folder = get_option('wpurl')
    –>
    $sketch_images_folder = get_option('siteurl')

    or this works too (but I think get_option(‘siteurl’) is better):

    $sketch_images_folder = get_bloginfo('wpurl')

    For future reference:

    1. get_option(‘siteurl’) finds the option that is saved as “WordPress address” on Settings, where the install dir is defined.
    2. get_option(‘home’) finds the option that is saved as “Blog address” on Settings, where the blog root is defined.

    So get_option(wpurl) doesn’t work?

    Alright. I’ll get it fixed within the next hour. Thanks for the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Sketch Bookmarks needs a little fix with the directory’ is closed to new replies.
Skip to toolbar