[theme-reviewers] add_theme_page()

Satish Gandham satish.iitg at gmail.com
Mon Jan 24 16:22:18 UTC 2011


I have two option pages in my theme, so im using a separate menu just below
the appearance.

Theme update was not approved showing the following message. Can't the theme
be accepted as is?
http://themes.trac.wordpress.org/ticket/2730

-WARNING: admin/admin-core.php. Themes should use add_theme_page() for
adding admin pages.
Line 48: add_submenu_page( 'swift-options', 'Design Options', 'Design
Options', 'ediLine 49: *add_submenu_page( 'swift-options', 'Import and
Export SWIFT options','Impor*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110124/f7cf07ae/attachment.htm>


More information about the theme-reviewers mailing list