Plugin Directory

Changeset 553236


Ignore:
Timestamp:
06/05/2012 12:03:25 AM (14 years ago)
Author:
e2b
Message:

siteurl bugfix (silent update)

Location:
hyphenator
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hyphenator/tags/4.0.0/plugin.php

    r553235 r553236  
    1010// Pre-2.6 compatibility
    1111if (!defined('WP_PLUGIN_URL'))
    12    define('WP_PLUGIN_URL', get_option( 'siteurl' ) . '/wp-content/plugins');
     12   define('WP_PLUGIN_URL', site_url() . '/wp-content/plugins');
    1313
    1414// detect the plugin path
     
    1616
    1717// detect options page
    18 $hyphenator_options_page = get_option('siteurl') . '/wp-admin/admin.php?page=hyphenator/options.php';
     18$hyphenator_options_page = site_url() . '/wp-admin/admin.php?page=hyphenator/options.php';
    1919
    2020// add default options
  • hyphenator/trunk/plugin.php

    r511209 r553236  
    1010// Pre-2.6 compatibility
    1111if (!defined('WP_PLUGIN_URL'))
    12    define('WP_PLUGIN_URL', get_option( 'siteurl' ) . '/wp-content/plugins');
     12   define('WP_PLUGIN_URL', site_url() . '/wp-content/plugins');
    1313
    1414// detect the plugin path
     
    1616
    1717// detect options page
    18 $hyphenator_options_page = get_option('siteurl') . '/wp-admin/admin.php?page=hyphenator/options.php';
     18$hyphenator_options_page = site_url() . '/wp-admin/admin.php?page=hyphenator/options.php';
    1919
    2020// add default options
Note: See TracChangeset for help on using the changeset viewer.