WordPress.org

Make WordPress Core

Changeset 379 in tests


Ignore:
Timestamp:
07/26/2011 07:44:43 PM (7 years ago)
Author:
ryan
Message:

More relative url tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r378 r379  
    495495        $this->assertEquals('/example.php', esc_url('/example.php'));
    496496        $this->assertEquals('example.php', esc_url('example.php'));
     497        $this->assertEquals('#fragment', esc_url('#fragment'));
     498        $this->assertEquals('?foo=bar', esc_url('?foo=bar'));
    497499    }
    498500
Note: See TracChangeset for help on using the changeset viewer.