{"id":16824,"date":"2012-02-08T15:05:15","date_gmt":"2012-02-08T15:05:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/urls-editor\/"},"modified":"2012-02-08T15:05:15","modified_gmt":"2012-02-08T15:05:15","slug":"urls-editor","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/urls-editor\/","author":8899035,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"3.3.2","requires":"3.2","requires_php":"","requires_plugins":"","header_name":"URLs Editor - Absolute and Relative","header_author":"Jozef Kapicak","header_description":"","assets_banners_color":"","last_updated":"2012-02-08 15:05:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.hiih.com\/","header_author_uri":"http:\/\/www.hiih.de\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1769,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"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":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1757,1759,5799,537,26951],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-16824","plugin","type-plugin","status-closed","hentry","plugin_tags-absolute","plugin_tags-function","plugin_tags-href","plugin_tags-link","plugin_tags-src","plugin_committers-tufto"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/urls-editor.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Before:\nhttp:\/\/example.com\/wp-content\/themes\/twentyten\/style.css<\/p>\n\n<p>After:\n\/wp-content\/themes\/twentyten\/style.css<\/p>\n\n<p>OR:<\/p>\n\n<p>Before:\nhttp:\/\/example.com\/wp-content\/themes\/twentyten\/style.css<\/p>\n\n<p>After (adding \"https\"):\nhttps:\/\/example.com\/wp-content\/themes\/twentyten\/style.css<\/p>\n\n<p>If you are looking for a plugin that <em>automatically<\/em> converts absolute URLs to relative URLs, or for a plugin that changes URLS for src &amp; href URL attributes check out my other plugin.<\/p>\n\n<p>I wrote this plugin because I needed a basepath for uploaded images for my Wordpress Multisite. In other words, I needed a URL to the server root without the domain. You may find this useful for the same reason, or perhaps another.<\/p>\n\n<p><strong>Before you copy this code and add it into your own<\/strong>, keep in mind that there may be future updates. Keeping the code within an activated plugin will make sure you're notified.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Download the plugin (zip file).<\/p><\/li>\n<li><p>Upload and activate the plugin through the \"Plugins\" menu in the WordPress admin.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why isn't this automatic?<\/dt>\n<dd><\/dd>\n<dt>How does this work?<\/dt>\n<dd><p>Just use <code>urls_editor($html)<\/code>.<\/p><\/dd>\n<dt>Will this plugin work for WordPress version x.x.x?<\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.9<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A FUNCTION for use in shortening URL links. This plugin automatically does shorten URLs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16824"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tufto"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16824"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16824"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16824"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16824"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16824"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}