WordPress.org

Ready to get started?Download WordPress

Forums

Extended API
[resolved] WordPress 3.7 (4 posts)

  1. robertozoia
    Member
    Posted 8 months ago #

    Michael,

    I installed the the plugin in WordPress 3.7.1. As far as I have tested, it works for the XML-RPC calls I am using (mostly get_post_meta, delete_post_meta, update_post_meta).

    But I get a deprecation warning:

    Deprecated: Call-time pass-by-reference has been deprecated in /home/(...)/wp-content/plugins/extended-xml-rpc-api/main.php on line 65

    Any hint?

    Thanks,
    RobertoZ

    http://wordpress.org/plugins/extended-xml-rpc-api/

  2. robertozoia
    Member
    Posted 8 months ago #

    Michael,

    After some research, I think the deprecation warning comes from the PHP version I am using (5.3.10) rather than from WordPress.

    I edited line 65 of main.php and removed the pass-by-reference ampersand, and the warning disappeared. The change should not affect the behavior of the code (cfr http://us1.php.net/call_user_func_array).

    Changed:

    return call_user_func_array($method,&$args);

    to

    return call_user_func_array($method,$args);
  3. michaelgrosser
    Member
    Plugin Author

    Posted 8 months ago #

    Hello,
    Thanks for the info. I'll look at handling that a bit more gracefully in the plugin.

  4. michaelgrosser
    Member
    Plugin Author

    Posted 6 months ago #

    This is fixed in the newest release.

Reply

You must log in to post.

About this Plugin

About this Topic