{"id":8246,"date":"2010-02-25T17:39:30","date_gmt":"2010-02-25T17:39:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/aitch-ref\/"},"modified":"2018-01-29T22:29:48","modified_gmt":"2018-01-29T22:29:48","slug":"aitch-ref","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/aitch-ref\/","author":4178674,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.9.9","stable_tag":"trunk","tested":"4.8.28","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"aitch-ref!","header_author":"postpostmodern, pinecone-dot-website","header_description":"","assets_banners_color":"","last_updated":"2018-01-29 22:29:48","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/cash.me\/$EricEaglstun","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/aitch-ref\/","header_author_uri":"http:\/\/rack.and.pinecone.website\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2357,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"844688","resolution":"1","location":"assets"}},"screenshots":{"1":"time out for you <code>\/trunk\/screenshot-1.jpg<\/code>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5799,538],"plugin_category":[],"plugin_contributors":[91208,91207],"plugin_business_model":[],"class_list":["post-8246","plugin","type-plugin","status-publish","hentry","plugin_tags-href","plugin_tags-url","plugin_contributors-pinecone-dot-io","plugin_contributors-postpostmodern","plugin_committers-postpostmodern"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/aitch-ref.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/aitch-ref\/assets\/screenshot-1.jpg?rev=844688","caption":"time out for you <code>\/trunk\/screenshot-1.jpg<\/code>"}],"raw_content":"<!--section=description-->\n<p>Useful for switching between different development environments.  Attempts to replace any absolute urls, whether generated though Wordpress option like 'siteurl' or 'home', or through hardcoded urls in posts.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Place entire \/aitch-ref\/ directory to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Enter all possible site urls in the text box, each on a new line. Example could be http:\/\/wordpress.org\/ , http:\/\/dev.wordpress.org\/, http:\/\/dev.wordpress. Note - subdirectories to not currently work, so http:\/\/127.0.0.1\/~wordpress\/ would give you bad results<\/li>\n<li><em>Important<\/em> if SSL is used on site - each record needs an entry for ssl.  For example, if your dev environment is http:\/\/dev.wordpress you will need to enter https:\/\/dev.wordpress as well even if it does not exist.<\/li>\n<li>Look at your source, now back to me.  Now back to your source.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.9.8<\/h4>\n\n<p>allow AITCH_REF_SERVER_URL constant, back compat<\/p>\n\n<h4>0.9.7<\/h4>\n\n<p>major refactor, require php 5.4<\/p>\n\n<h4>.91<\/h4>\n\n<p>fixed typo in absolute filter, fix absolute check with offsite https links<\/p>\n\n<h4>.9<\/h4>\n\n<p>refactor to namespace<\/p>\n\n<h4>.86<\/h4>\n\n<p>moving to github<\/p>\n\n<h4>.85<\/h4>\n\n<p>fixed short tags, escape textarea<\/p>\n\n<h4>.8<\/h4>\n\n<p>better MU functionality<\/p>\n\n<h4>.75<\/h4>\n\n<p>added SSL support - for now you must add additional entries for each environment even if a dev ssl does not exist\nadded filter for <code>stylesheet_uri<\/code><\/p>\n\n<h4>.71<\/h4>\n\n<p>added filter for <code>login_url<\/code><\/p>\n\n<h4>.70<\/h4>\n\n<p>removed <strong>DIR<\/strong> for php 5.2 compat<\/p>\n\n<h4>.69<\/h4>\n\n<p>removes duplicates from url list in admin<\/p>\n\n<h4>.68<\/h4>\n\n<p>added filter for <code>wp_get_attachment_url<\/code><\/p>\n\n<h4>.66<\/h4>\n\n<p>pre_post_link changed to not use absolute link, was causing double http:\/\/ on some sites<\/p>\n\n<h4>.65<\/h4>\n\n<p>added aitch() helper function<\/p>\n\n<h4>.62<\/h4>\n\n<p>force baseurl in absolute filter<\/p>\n\n<h4>.61<\/h4>\n\n<p>added filter for <code>term_link<\/code><\/p>\n\n<h4>0.6<\/h4>\n\n<p>added filter for <code>style_loader_src<\/code><\/p>\n\n<h4>0.59<\/h4>\n\n<p>added filter for <code>content_url<\/code><\/p>\n\n<h4>0.58<\/h4>\n\n<pre><code>admin_url uses absolute url filter now\n<\/code><\/pre>\n\n<h4>0.55<\/h4>\n\n<p>fixed bug affecting 'upload_dir' filter<\/p>\n\n<h4>0.53<\/h4>\n\n<p>added filter for admin scripts<\/p>\n\n<h4>0.51<\/h4>\n\n<p>fixed deprecated argument in add_options_page()<\/p>\n\n<h4>0.5<\/h4>\n\n<p>discovered incompatibility in wordpress 2.x, bumped minimum version to 3.0 - no new functionality<\/p>\n\n<h4>0.49<\/h4>\n\n<p>fixed bug in self::$path, discrepancies on $_SERVER['DOCUMENT_ROOT'] on certain environments<\/p>\n\n<h4>0.42<\/h4>\n\n<p>fixed bug in updating options on a multiuser install<\/p>\n\n<h4>0.3<\/h4>\n\n<p>better handling of mu \/ single blog installs.  MU uses blog #1 for all options db storage<\/p>\n\n<h4>0.2<\/h4>\n\n<p>minor code cleanups, using json_encode for options db storage, fancy graphic<\/p>\n\n<h4>0.15<\/h4>\n\n<p>minor code cleanups<\/p>\n\n<h4>0.1<\/h4>\n\n<p>yes, its here<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Place entire \/aitch-ref\/ directory to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Enter all possible site urls in the text box, each on a new line. Example could be http:\/\/wordpress.org\/ , http:\/\/dev.wordpress.org\/, http:\/\/dev.wordpress. Note - subdirectories to not currently work, so http:\/\/127.0.0.1\/~wordpress\/ would give you bad results<\/li>\n<li><em>Important<\/em> if SSL is used on site - each record needs an entry for ssl.  For example, if your dev environment is http:\/\/dev.wordpress you will need to enter https:\/\/dev.wordpress as well even if it does not exist.<\/li>\n<li>Look at your source, now back to me.  Now back to your source.<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Remove most absolute urls in your html.  Useful for switching between development \/ staging \/ production environments and painless deployment.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/8246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=8246"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/postpostmodern"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=8246"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=8246"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=8246"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=8246"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=8246"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=8246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}