Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pepsiamir

    (@pepsiamir)

    sorry, I found the answer ??

    Actually, it’s already being escaped below so you should be able to replace

    $dm_domain = $wpdb->escape( $_SERVER[ ‘HTTP_HOST’ ] );

    with

    $dm_domain = $_SERVER[ ‘HTTP_HOST’ ];

    Ron Rennick
    MultiSite Guru
    Plugin Author

    Thread Starter pepsiamir

    (@pepsiamir)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wpdb::escape is deprecated’ is closed to new replies.