michaeldewildt/WordPress-Backup-to-Dropbox — pull request #88 by joemaller (2012-11-17 15:33:32+00:00)
Title: Fixed wp_register_style was called incorrectly notice

WordPress was throwing a notice because the stylesheet was being registered before any hooks. Since the styles are only used on admin pages, I moved the register call into `backup_to_dropbox_admin_menu` alongside the `wp_enqueue_style` call.

Full notice message was:

> **Notice:** wp_register_style was called **incorrectly**. Scripts and styles should not be registered or enqueued until the `wp_enqueue_scripts`, `admin_enqueue_scripts`, or `init` hooks. Please see [Debugging in WordPress](http://codex.wordpress.org/Debugging_in_WordPress) for more information. (This message was added in version 3.3.) in **/Users/[...]/wordpress/wp-includes/functions.php** on line **2758**