• Hi,

    When I activate the plugin, I get this warning on screen:

    Deprecated: Function WP_User->id was called with an argument that is deprecated since version 2.1.0! Use WP_User->ID instead.

    It’s fixed by changing wp_get_current_user()->id to wp_get_current_user()->ID.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Getting Deprecated Warning’ is closed to new replies.