Title: Deprecated and unsafe function
Last modified: September 26, 2016

---

# Deprecated and unsafe function

 *  [davidebabylonia](https://wordpress.org/support/users/davidebabylonia/)
 * (@davidebabylonia)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/deprecated-and-unsafe-function/)
 * Hi, I noticed that you use `screen_icon( $this->args['screen_icon'] );` on line
   163 on file AdminPage.php
    This function should be replace with `get_screen_icon()`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/deprecated-and-unsafe-function/#post-8229338)
 * Thank you for the report. It looks like the `get_scren_icon()` function is _also_
   deprecated (though there’s no reason to assume that it’s unsafe). I’ll just remove
   that line entirely in the next release.
 * By the way, AdminPage.php is part of a third-party library. Unfortunately, the
   library appears to be no longer maintained.

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/error-log-monitor.svg)
 * [Error Log Monitor](https://wordpress.org/plugins/error-log-monitor/)
 * [Support Threads](https://wordpress.org/support/plugin/error-log-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/error-log-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/error-log-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/error-log-monitor/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/deprecated-and-unsafe-function/#post-8229338)
 * Status: not a support question