WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP User Defaults] Doesn't do anything... (2 posts)

  1. the_loop
    Member
    Posted 4 years ago #

    In admin backend the setting page does not diaplay anything...

    http://wordpress.org/extend/plugins/wp-user-defaults/

  2. brianstanfill
    Member
    Posted 4 years ago #

    I had to modify this plugin to work with WordPress 2.9.2

    Remove or comment this code:

    /* function wp_user_defaults_menu() {
      add_options_page('Default User Settings','Default User Settings',10,__FILE__,'wp_user_defaults_options');
    } */

    Modify the function wp_user_defaults_add_pages by replacing the function call at the very end 'wp_user_defaults_menu' with 'wp_user_defaults_options':

    function wp_user_defaults_add_pages() {
      add_submenu_page('users.php','Default Settings','Default Settings','administrator','wp-user-defaults','wp_user_defaults_options');
    }

    Now it works!

Topic Closed

This topic has been closed to new replies.

About this Topic