Title: deprecated notice when debugging
Last modified: August 31, 2016

---

# deprecated notice when debugging

 *  [efc](https://wordpress.org/support/users/eceleste/)
 * (@eceleste)
 * [10 years ago](https://wordpress.org/support/topic/deprecated-notice-when-debugging-1/)
 * When using this plugin in debug mode I get the following notice:
 * `Notice: has_cap was called with an argument that is deprecated since version
   2.0! Usage of user levels by plugins and themes is deprecated. Use roles and 
   capabilities instead. in /home/bitnami/wordpress/wp-includes/functions.php on
   line 3844`
 * I have traced this to lines 7-8 of the admin/options.php script, which should
   read:
 *     ```
       add_options_page('Cross Post', 'Cross Post Options', 'edit_pages',
                   'cross_post_options', 'cross_post_options_page');
       ```
   
 * Maybe you could consider including this in the next update of this plugin?
 * [https://wordpress.org/plugins/cross-post/](https://wordpress.org/plugins/cross-post/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [efc](https://wordpress.org/support/users/eceleste/)
 * (@eceleste)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/deprecated-notice-when-debugging-1/#post-7434893)
 * (sorry, I put this in a new topic)

Viewing 1 replies (of 1 total)

The topic ‘deprecated notice when debugging’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cross-post.svg)
 * [Cross Post](https://wordpress.org/plugins/cross-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cross-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cross-post/)
 * [Active Topics](https://wordpress.org/support/plugin/cross-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cross-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cross-post/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 1 reply
 * 1 participant
 * Last reply from: [efc](https://wordpress.org/support/users/eceleste/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/deprecated-notice-when-debugging-1/#post-7434893)
 * Status: not resolved