Title: Issue for add_theme_page
Last modified: August 30, 2016

---

# Issue for add_theme_page

 *  Resolved [HooThemes](https://wordpress.org/support/users/hoosoft/)
 * (@hoosoft)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/issue-for-add_theme_page/)
 * I’m using ‘Options Framework Theme’
    Theme Check Version 20150818.1 test : pass
   Upload to WordPress.org: Fail
 * Results of Automated Theme Scanning: Fail
 * REQUIRED: class-options-framework-admin.php. Themes should use add_theme_page()
   for adding admin pages.
    Line 34: add_action( ‘admin_menu’, array( $this, ‘add_custom_options_page’));
   Line 110: function add_custom_options_page() {
 * [https://wordpress.org/plugins/theme-check/](https://wordpress.org/plugins/theme-check/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [10 years, 8 months ago](https://wordpress.org/support/topic/issue-for-add_theme_page/#post-6466246)
 * Unfortunately, some changes had to be made which can cause some false positive
   messages, due to another library attempting to bypass the theme requirements.
 * This will be reverted when that library gets fixed. Until then, it’s blocking
   any use of add_*_page as a function call or name, except for add_theme_page. 
   I hope this will be a temporary measure.
 * Edit: I’ve put in a temporary patch which should allow this particular use case
   again. Not perfect, but it’ll do for now.

Viewing 1 replies (of 1 total)

The topic ‘Issue for add_theme_page’ is closed to new replies.

 * ![](https://ps.w.org/theme-check/assets/icon-128x128.png?rev=972579)
 * [Theme Check](https://wordpress.org/plugins/theme-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-check/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-check/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/issue-for-add_theme_page/#post-6466246)
 * Status: resolved