Forums

[Plugin: QuickPost] Deprecated: Function set_magic_quotes_runtime() is deprecated in settings.php (4 posts)

  1. rwanito
    Member
    Posted 2 years ago #

    Hi,

    I'm trying to make quick-post working with wp 2.9.1, and it works, but there is an error message when I click on the bookmarklet :

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /opt/lampp/htdocs/gR-test/wp-settings.php on line 18

    It seems to be a php deprecated function, so I'll try to replace (delete?) it. I'll report here my experimentation, if one of you have already found a solution, please share it !

    Thank you

  2. ranzeal
    Member
    Posted 2 years ago #

    Well,It happens when Server upgrades with PHP 5.3
    Problem is solved by adding this function and including a brace in the 18th line !!

    if(version_compare(PHP_VERSION, '5.3.0', '<'))
    {
    set_magic_quotes_runtime(0); //18th line
    }

  3. danorton
    Member
    Posted 1 year ago #

    This is a WordPress bug* and it persists in 3.0.1.

    See related:
    [Plugin: QuickPost] WP 2.9.1 : Assigning the return value by reference is deprecated wp-settings.php

    *I'm presuming that there is some quality standard that prohibits the use of deprecated PHP syntax.

  4. craigstruck
    Member
    Posted 1 year ago #

    Anyone know how to take the "quick press widget plug in" and make it available to anyone to use that visits the site? So people can make anonymous posts

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags