Changeset 1103531
- Timestamp:
- 03/02/2015 07:40:31 PM (11 years ago)
- Location:
- aitch-ref/trunk
- Files:
-
- 2 edited
-
_plugin.php (modified) (1 diff)
-
index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aitch-ref/trunk/_plugin.php
r844729 r1103531 4 4 Plugin URI: http://wordpress.org/extend/plugins/aitch-ref/ 5 5 Description: href junk. Requires PHP >= 5.3 and Wordpress >= 3.0 6 Version: 0.9 6 Version: 0.9.1 7 7 Author: postpostmodern, pinecone-dot-io 8 8 Author URI: http://pinecone.io/ -
aitch-ref/trunk/index.php
r844733 r1103531 34 34 $relative = array( 'bloginfo', 'bloginfo_url', 'content_url', 'get_pagenum_link', 35 35 'option_url', 'plugins_url', 'pre_post_link', 'script_loader_src', 36 'style_loader_src', 'term_link', 'the_content', 'upload_dir',36 'style_loader_src', 'term_link', 'the_content', 37 37 'url', 'wp_list_pages' ); 38 38 $relative = apply_filters( 'aitch-ref-relative', $relative ); … … 45 45 'option_home', 'option_siteurl', 'page_link', 'post_link', 46 46 'siteurl', 'site_url', 'stylesheet_uri', 47 'template_directory_uri', ' wp_get_attachment_url' );47 'template_directory_uri', 'upload_dir', 'wp_get_attachment_url' ); 48 48 $absolute = apply_filters( 'aitch-ref-relative', $absolute ); 49 49 … … 86 86 87 87 // what is this?? 88 if( strpos($url2, self::$baseurl) !== 0 && strpos($url2, 'http://') !== 0){88 if( is_string($url2) && (strpos($url2, self::$baseurl) !== 0) && (strpos($url2, 'http://') !== 0) ){ 89 89 $url2 = self::$baseurl.$url2; 90 90 }
Note: See TracChangeset
for help on using the changeset viewer.