Changeset 1522741
- Timestamp:
- 10/26/2016 11:45:48 PM (9 years ago)
- Location:
- aitch-ref/trunk
- Files:
-
- 2 edited
-
_plugin.php (modified) (1 diff)
-
index.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aitch-ref/trunk/_plugin.php
r1522660 r1522741 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.5 6 Version: 0.9.5.1 7 7 Author: postpostmodern, pinecone-dot-io 8 8 Author URI: http://pinecone.io/ -
aitch-ref/trunk/index.php
r1522660 r1522741 16 16 // can be replaced 17 17 18 /* 18 /** 19 19 * runs once when plugin has loaded, sets up vars and adds filters/actions 20 20 * @return NULL … … 30 30 31 31 // these can return back urls starting with / 32 $relative = array( ' acf/load_value', 'content_url', 'get_pagenum_link', 'option_url',32 $relative = array( 'content_url', 'get_pagenum_link', 'option_url', 33 33 'plugins_url', 'pre_post_link', 'script_loader_src', 34 34 'style_loader_src', 'term_link', 'the_content', … … 53 53 } 54 54 55 /* 55 /** 56 56 * add_filter callback 57 57 * @param mixed … … 68 68 } 69 69 70 /* 70 /** 71 71 * add_filter callback 72 72 * @param mixed … … 76 76 if( is_array($url) ){ 77 77 return array_map( array(__NAMESPACE__.'\AitchRef', 'site_url_absolute'), $url ); 78 } else {78 } elseif( is_string($url) ){ 79 79 $url = str_replace( self::$possible, self::$baseurl, $url ); 80 80 } … … 86 86 AitchRef::setup(); 87 87 88 /* 88 /** 89 89 * db interaction 90 90 * @param bool … … 106 106 // MU wrappers 107 107 108 /* 108 /** 109 109 * 110 110 * @param … … 116 116 } 117 117 118 /* 118 /** 119 119 * 120 120 * @param … … 126 126 } 127 127 128 /* 128 /** 129 129 * 130 130 * @param
Note: See TracChangeset
for help on using the changeset viewer.