WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Glenn Ansley
    Member
    Posted 5 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
    Member
    Posted 5 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
    Member
    Posted 5 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

Tags