{"id":34028,"date":"2015-01-22T03:27:02","date_gmt":"2015-01-22T03:27:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/canada-post-tracking-shortcode\/"},"modified":"2015-02-18T18:55:06","modified_gmt":"2015-02-18T18:55:06","slug":"canada-post-tracking-shortcode","status":"closed","type":"plugin","link":"https:\/\/en-gb.wordpress.org\/plugins\/canada-post-tracking-shortcode\/","author":2111281,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"4.5.33","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"Canada Post Tracking Shortcode","header_author":"Vinny Alves","header_description":"","assets_banners_color":"","last_updated":"2015-02-18 18:55:06","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=VLQU2MMXKB6S2","header_plugin_uri":"","header_author_uri":"http:\/\/www.usestrict.net","rating":0,"author_block_rating":0,"active_installs":10,"downloads":918,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<p>Please upgrade so that clients no longer receive an unparsed shortcode in the content of the comment email. See WooCommerce bug https:\/\/github.com\/woothemes\/woocommerce\/issues\/7349 for details.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[15628,3546,3336,15629,5565],"plugin_category":[45],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-34028","plugin","type-plugin","status-closed","hentry","plugin_tags-canada-post","plugin_tags-shipping","plugin_tags-tracking-code","plugin_tags-tracking-code-link","plugin_tags-tracking-link","plugin_category-ecommerce","plugin_committers-usestrict"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/canada-post-tracking-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Generate a parcel-tracking URL using <strong>[cp_tracker_link]<\/strong> shortcode. This also works with WooCommerce Order Notes.<\/p>\n <p>Valid attributes:<\/p>\n <ul>\n<li><strong>tc<\/strong>: The actual tracking code<\/li>\n<li><strong>lang<\/strong>: Whether to display the page in English (en) or French (fr). Default is \"en\". These values are used by Canada Post, so don't try anything else.<\/li>\n<li><p><strong>target<\/strong>: If passed, will be the value used in the target attribute of the link.<\/p>\n <p>Example:<\/p>\n <p>[cp_tracker_link tc=\"123456789\"]<\/p>\n <p>or<\/p>\n <p>[cp_tracker_link tc=\"123456789\" lang=\"en\" target=\"_new\"]<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire plugin folder via FTP to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li><p>Why does the shortcode not get transformed into a link when I add a WooCommerce Order Note?<\/p>\n <p>Order Notes are added via Ajax and the shortcode gets parsed in the back end. If you refresh the page, \nyou will see that the shortcode got transformed into the link.<\/p><\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n <ul>\n<li>Override WC hooks only if WC version is &lt; 2.3.3<\/li>\n<\/ul>\n <h4>1.1<\/h4>\n <ul>\n<li>Applies a workaround for WooCommerce bug https:\/\/github.com\/woothemes\/woocommerce\/issues\/7349 which caused the clients to receive the comment with unparsed shortcode.<\/li>\n<\/ul>\n <h4>1.0<\/h4>\n <ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Generate a parcel-tracking URL using [cp_tracker_link] shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34028"}],"author":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/usestrict"}],"wp:attachment":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34028"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34028"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34028"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34028"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34028"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}