WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/vars.php

    r11762 r11379  
    1818    preg_match('#/wp-admin/?(.*?)$#i', $PHP_SELF, $self_matches);
    1919    $pagenow = $self_matches[1];
    20     $pagenow = trim($pagenow, '/');
    2120    $pagenow = preg_replace('#\?.*?$#', '', $pagenow);
    2221    if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) {
Note: See TracChangeset for help on using the changeset viewer.