What's the best way to test if the installation is WP or WPMU? (3 posts)

  1. Glenn Ansley
    Posted 8 years ago #

    I was thinking I could test for if the get_site_option function exists but that seems kind of rigged. I'm not very familiar with MU, but I want to give a notice if my plugin is installed on an MU blog.

  2. whooami
    Posted 8 years ago #

    your password script is insecure...

    <form name="passreset" method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">

    thats wide open to an XSS attack.

  3. Glenn Ansley
    Posted 8 years ago #

    Thanks. I'll update that. I was thrown together and really shouldn't be on the sever for more than a couple minutes anyway... but I'll fix it.

Topic Closed

This topic has been closed to new replies.

About this Topic