Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you manage to fix this problem. I’m seeing the same thing. From looking at my Sharedaddy setting page (wp-admin/options-general.php?page=sharing) it looks like the URL for the admin-sharing.css and admin-sharing.js files are wrong.

    Thread Starter brunopinho

    (@brunopinho)

    I fixed the issue changing

    3 class Sharing_Admin {
    4     public function __construct() {
    5         if ( !defined( 'WP_SHARING_PLUGIN_URL' ) ) {
    6             define( 'WP_SHARING_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    7             define( 'WP_SHARING_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    8         }

    to

    3 class Sharing_Admin {
    4     public function __construct() {
    5         if ( !defined( 'WP_SHARING_PLUGIN_URL' ) ) {
    6             define( 'WP_SHARING_PLUGIN_URL', '/wp-content/plugins/sharedaddy/');
    7             define( 'WP_SHARING_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    8         }

    Thanks bruno

    Yesterday I figured out why this is happening. In my setup I have the plugins symlinked to another directory outside the wordpress installation directory, therefore the plugin_dir_path( __FILE__ ) function returns the incorrect path.

    Thread Starter brunopinho

    (@brunopinho)

    Yes… Thats exactly the set up I have… ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unusable Setting Screen’ is closed to new replies.