Title: Deprecated function call.
Last modified: August 20, 2016

---

# Deprecated function call.

 *  [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-call/)
 * `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 /wp-includes/functions.php on line 2908`
 * If you’d like I can submit you a patch to fix this.
 * [http://wordpress.org/extend/plugins/syntax-highlighter-compress/](http://wordpress.org/extend/plugins/syntax-highlighter-compress/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-call/#post-3268550)
 * Here’s the fix:
    [https://gist.github.com/4277467](https://gist.github.com/4277467)

Viewing 1 replies (of 1 total)

The topic ‘Deprecated function call.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/syntax-highlighter-compress.svg)
 * [Syntax Highlighter Compress](https://wordpress.org/plugins/syntax-highlighter-compress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/syntax-highlighter-compress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/syntax-highlighter-compress/)
 * [Active Topics](https://wordpress.org/support/plugin/syntax-highlighter-compress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntax-highlighter-compress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntax-highlighter-compress/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-call/#post-3268550)
 * Status: not resolved