{"id":32585,"date":"2014-11-02T16:06:11","date_gmt":"2014-11-02T16:06:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/us-debt-clock-widget\/"},"modified":"2024-08-17T23:44:47","modified_gmt":"2024-08-17T23:44:47","slug":"us-debt-clock-widget","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/us-debt-clock-widget\/","author":11536929,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6","stable_tag":"trunk","tested":"6.6.5","requires":"2.8","requires_php":"","requires_plugins":null,"header_name":"U.S. Debt Clock Widget","header_author":"Chris Hardie","header_description":"","assets_banners_color":"","last_updated":"2024-08-17 23:44:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/ChrisHardie\/us-debt-clock-widget","header_author_uri":"https:\/\/chrishardie.com\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":5953,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.4":{"tag":"1.4","author":"ChrisHardie","date":"2018-11-08 17:37:25"},"1.5":{"tag":"1.5","author":"ChrisHardie","date":"2020-03-21 19:36:08"},"1.6":{"tag":"1.6","author":"ChrisHardie","date":"2024-08-17 23:45:08"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3137149,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.4","1.5","1.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3137149,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3137149,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The widget front-end display","2":"The widget options configuration display"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[27216,15800,14265,3604,241],"plugin_category":[43,45],"plugin_contributors":[90096],"plugin_business_model":[],"class_list":["post-32585","plugin","type-plugin","status-publish","hentry","plugin_tags-economy","plugin_tags-finance","plugin_tags-government","plugin_tags-money","plugin_tags-widgets","plugin_category-customization","plugin_category-ecommerce","plugin_contributors-chrishardie","plugin_committers-chrishardie"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/us-debt-clock-widget\/assets\/icon-256x256.png?rev=3137149","icon_2x":"https:\/\/ps.w.org\/us-debt-clock-widget\/assets\/icon-256x256.png?rev=3137149","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/us-debt-clock-widget\/assets\/screenshot-1.png?rev=3137149","caption":"The widget front-end display"},{"src":"https:\/\/ps.w.org\/us-debt-clock-widget\/assets\/screenshot-2.png?rev=3137149","caption":"The widget options configuration display"}],"raw_content":"<!--section=description-->\n<p>This plugin creates a widget displaying the most recently available amount of the U.S. National Debt. Data is retrieved from treasurydirect.gov and a source link can optionally be displayed.<\/p>\n\n<p>Want to help make this plugin better? <a href=\"https:\/\/github.com\/ChrisHardie\/us-debt-clock-widget\">Pull requests are welcome<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>us-debt-clock-widget<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the U.S. Debt Clock Widget plugin through the <code>Plugins<\/code> menu in the WordPress dashboard<\/li>\n<li>Add the widget to an available widget area and configure the display options<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>Fix: use newer Treasury debt feed and info URLs, as they did not redirect the old ones.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Fix: catch undefined variable scenario<\/li>\n<li>Improvement: additional code standards and formatting updates<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fix: change data source from treasury.io to treasurydirect.gov<\/li>\n<li>Improvement: code style and formatting<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fix: unfortunate math error that had debt displaying as billions, not trillions,  h\/t Scott Cooper<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fix: error in get_debt logic that was preventing successful data from being returned<\/li>\n<li>Fix: update widget registration to work with recent versions of WordPress<\/li>\n<li>Improvement: Update code formatting and escaping to better adhere to WordPress coding standards<\/li>\n<li>Improvement: Delete transient when plugin is deactivated<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Improvement: Handle invalid data from treasury.io more gracefully<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin creates a widget displaying the most recently available amount of the U.S. National Debt.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32585"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/chrishardie"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32585"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32585"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32585"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32585"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32585"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}