Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kimball1966

    (@kimball1966)

    shaunavonalliance,

    From your WP dashboard go to the plugins on the bar on the left side. Find sermon browser and select Edit. On the right side of the screen look for sermon-browser/sb-includes/admin.php.

    What I did was click on it then select all the text in the window and copy/paste it into a Word document. I then did a find/replace in Word to find all instances of mysql_real_escape_string and replace with $wpdb->prepare.

    I then copy/pasted my updated text back into the WordPress edit window. I crossed my fingers and said a quick prayer then pushed the Update File button. Everything worked!

    Make sure you keep a copy of your unmodified code and your modified code in Word (or whatever word processing program your use) on your computer for future reference!

    Good luck!

    Thread Starter kimball1966

    (@kimball1966)

    I just went for it and replaced all occurrences and it appears to be working again! Thanks!

    Thread Starter kimball1966

    (@kimball1966)

    So only where INSERT or UPDATE occurs or all instances of mysql_real_escape_string should be replaced with $wpdb->prepare in sb-includes/admin.php?

    Thread Starter kimball1966

    (@kimball1966)

    What modifications did you make? What version of PHP should I be using? I can contact my webspace support and ask them to change to a working version if I know what it is. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)