WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/25/2008 12:22:37 AM (14 years ago)
Author:
ryan
Message:

Reture true from got_mod_rewrite if we can't determine if the module is loaded. Add got_rewrite filter. Props andy. fixes #6278

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/misc.php

    r7441 r7508  
    22
    33function got_mod_rewrite() {
    4     return apache_mod_loaded('mod_rewrite');
     4    $got_rewrite = apache_mod_loaded('mod_rewrite', true);
     5    return apply_filters('got_rewrite', $got_rewrite);
    56}
    67
Note: See TracChangeset for help on using the changeset viewer.