Theme Switch and Preview
cleaning deprecated functions & stuff (1 post)

  1. cardinalu
    Posted 5 years ago #

    Here are a couple of fixes you might want to include in the next release to avoid throwing "deprecated" notices from your plugin.

    widget.php line 8
    Error: Use wp_register_sidebar_widget() instead. Deprecated in version 2.8.
    - replace register_sidebar_widget with wp_register_sidebar_widget

    inc/admin.php line 7
    Error: Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. Deprecated in version 2.0.
    - replace the 10 constant with 'manage_options'



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Theme Switch and Preview
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic