Support » Plugins » [Plugin: WP User Defaults] Doesn’t do anything…

Viewing 1 replies (of 1 total)
  • 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!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP User Defaults] Doesn’t do anything…’ is closed to new replies.