• Hi,

    next to the pixabay button, I said error, or rather deprecation note.

    The fix is somewhat easy.

    in wp-content/plugins/pixabay-images/pixabay-images.php, find:
    function media_buttons_context_handler($editor_id='') { return '<a href="'.add_query_arg('tab', 'pixabaytab'

    and change the return to echo:
    function media_buttons_context_handler($editor_id='') { echo '<a href="'.add_query_arg('tab', 'pixabaytab'

    A few lines below that, find:
    add_filter('media_buttons_context', 'media_buttons_context_handler');

    change to:
    add_filter('media_buttons', 'media_buttons_context_handler');

    Done.

    Now I wonder, is there like a github or something where I could post my fix so it would be included in the next update? ??

  • The topic ‘FIX: media_buttons_context is deprecated since v3.5.0! Use media_buttons instead’ is closed to new replies.