开发者 | prometh |
---|---|
更新时间 | 2013年3月28日 21:43 |
PHP版本: | 3.2 及以上 |
WordPress版本: | 3.4.2 |
$output_type=1
): ../../#anchorCheck out WP-HTML-Compression instead.
Just use absolute_to_relative_url($url)
.
This plugin has only been tested with versions of WordPress as early as 3.2. For anything older, you'll have to see for yourself.
"#"
) are no longer invalidated to "/"
"javascript:"
) are no longer invalidated as paths"data:"
) are no longer invalidated as paths//domain.com
) now supported on input and output/root-dir/
)../
), or parenting, now supported on input and outputnew Absolute_to_Relative_URLs()
instance