WordPress.org

Support

Support » Plugins and Hacks » What’s the best way to test if the installation is WP or WPMU?

What’s the best way to test if the installation is WP or WPMU?

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • whooami

    @whooami

    Member

    your password script is insecure…

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

    thats wide open to an XSS attack.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What’s the best way to test if the installation is WP or WPMU?’ is closed to new replies.