The MU forums have moved to WordPress.org

how to check if wpmu installed and not wp (4 posts)

  1. christian_gnoth
    Member
    Posted 14 years ago #

    Hello,
    how I can check if wpmu is installed and not WP?

    I would like to use an if statement and handle wp and wpmu different.

    This check should work in wpmu and wp.

  2. tdjcbe
    Member
    Posted 14 years ago #

    Do a check against $wpmu_version.

    http://trac.mu.wordpress.org/browser/trunk/wp-includes/version.php

    Look towards the bottom of that file.

  3. christian_gnoth
    Member
    Posted 14 years ago #

    hello,
    thank you for your reply, but it is not working. I did an echo to this variable and it is empty. WP MU is installed....

    any other idea?

  4. christian_gnoth
    Member
    Posted 14 years ago #

    ok, it is filled - I forgot to use global.

    thanks for the answer

About this Topic

  • Started 14 years ago by christian_gnoth
  • Latest reply from christian_gnoth