WordPress.org

Ready to get started?Download WordPress

Forums

WP Migrate DB
[resolved] css problem on backoffice (2 posts)

  1. roberto.c
    Member
    Posted 1 year ago #

    Hello, i suggest to add in FUNCTION admin_menu these lines in order to avoid css problems (see the arrows):

    `
    if(@$_GET['page'] == 'wp-migrate-db'){ <-------
    $src = plugins_url( 'asset/css/styles.css', __FILE__ );
    wp_enqueue_style( 'wp-migrate-db-styles', $src );
    $src = plugins_url( 'asset/js/script.js', __FILE__ );
    wp_enqueue_script( 'wp-migrate-db-script', $src, array( 'jquery' ), false, true );
    } <----

    http://wordpress.org/extend/plugins/wp-migrate-db/

  2. Brad Touesnard
    Member
    Plugin Author

    Posted 1 year ago #

    Good point. Will fix in the next version: https://github.com/bradt/wp-migrate-db/issues/9

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.