{"id":23530,"date":"2013-05-23T10:12:47","date_gmt":"2013-05-23T10:12:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-reposidget\/"},"modified":"2021-01-19T03:44:52","modified_gmt":"2021-01-19T03:44:52","slug":"wp-reposidget","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-reposidget\/","author":1271504,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.1","stable_tag":"trunk","tested":"4.0.38","requires":"3.9.0","requires_php":"","requires_plugins":"","header_name":"WP Reposidget (GitHub \u9879\u76ee\u6302\u4ef6)","header_author":"Leo Deng (@\u7c73\u7cbd\u7cbd)","header_description":"","assets_banners_color":"faf0eb","last_updated":"2021-01-19 03:44:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/myst729\/wp-reposidget","header_author_uri":"http:\/\/myst729.github.io\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2221,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.1.1":"<p>Fix constant definition issue.\n\u4fee\u590d\u5e38\u91cf\u5b9a\u4e49\u7684\u95ee\u9898\u3002<\/p>","2.1.0":"<p>Add GitHub OAuth option.\n\u589e\u52a0 GitHub OAuth \u8ba4\u8bc1\u9009\u9879\u3002<\/p>","2.0.2":"<p>Update author&#039;s info.\n\u66f4\u65b0\u4f5c\u8005\u4fe1\u606f\u3002<\/p>","2.0.1":"<p>Back compatible with old shortcode syntax. Fix situation when repo info is wrong.\n\u517c\u5bb9\u65e7\u7248\u77ed\u7801\u683c\u5f0f\u3002\u5904\u7406\u4ed3\u5e93\u4fe1\u606f\u6709\u8bef\u7684\u60c5\u51b5\u3002<\/p>","2.0.0":"<p>Completely rewritten. Fix bugs and improve usability. Compatible with WordPress visual style.\n\u5b8c\u5168\u91cd\u5199\u4e86\u4ee3\u7801\u3002\u4fee\u590d bug\uff0c\u6539\u5584\u4f7f\u7528\u4f53\u9a8c\u3002\u517c\u5bb9 WordPress \u754c\u9762\u98ce\u683c\u3002<\/p>","1.0.3":"<p>Be compatible with GitHub API change.\n\u4fee\u590d GitHub API \u53d8\u66f4\u3002<\/p>","1.0.2":"<p>Format numbers.\n\u683c\u5f0f\u5316\u6570\u5b57\u3002<\/p>","1.0.1":"<p>Add support to rich editor. Add support to language translation.\n\u652f\u6301\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u3002\u652f\u6301\u591a\u8bed\u8a00\u3002<\/p>","1.0.0":"<p>Insert GitHub repository widget into you posts\/pages.\n\u5411 WordPress \u6587\u7ae0\/\u9875\u9762\u4e2d\u5d4c\u5165 GitHub \u4ed3\u5e93\u6302\u4ef6\u3002<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1020847,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2458658,"resolution":"1","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2458658,"resolution":"3","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2458658,"resolution":"2","location":"plugin"}},"screenshots":{"1":"<p>Use shortcode to insert reposidget into the post\/page.\n\u4f7f\u7528\u7b80\u7801\u5411\u6587\u7ae0\/\u9875\u9762\u4e2d\u5d4c\u5165 GitHub \u4ed3\u5e93\u3002<\/p>","2":"<p>The look of a reposidget.\n\u5d4c\u5165\u6587\u7ae0\u7684\u4ed3\u5e93\u6302\u4ef6\u3002<\/p>","3":"<p>Generate a GitHub personal access token.\n\u751f\u6210 GitHub \u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u3002<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1673,53538],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-23530","plugin","type-plugin","status-publish","hentry","plugin_tags-github","plugin_tags-reposidget","plugin_committers-myst729"],"banners":{"banner":"https:\/\/ps.w.org\/wp-reposidget\/assets\/banner-772x250.png?rev=1020847","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-reposidget_faf0eb.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-reposidget\/trunk\/screenshot-1.png?rev=2458658","caption":"<p>Use shortcode to insert reposidget into the post\/page.\n\u4f7f\u7528\u7b80\u7801\u5411\u6587\u7ae0\/\u9875\u9762\u4e2d\u5d4c\u5165 GitHub \u4ed3\u5e93\u3002<\/p>"},{"src":"https:\/\/ps.w.org\/wp-reposidget\/trunk\/screenshot-2.png?rev=2458658","caption":"<p>The look of a reposidget.\n\u5d4c\u5165\u6587\u7ae0\u7684\u4ed3\u5e93\u6302\u4ef6\u3002<\/p>"},{"src":"https:\/\/ps.w.org\/wp-reposidget\/trunk\/screenshot-3.png?rev=2458658","caption":"<p>Generate a GitHub personal access token.\n\u751f\u6210 GitHub \u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u3002<\/p>"}],"raw_content":"<!--section=description-->\n<p>Insert <a href=\"https:\/\/github.com\/\">GitHub<\/a> repository widget into you posts\/pages.<\/p>\n\n<p>\u5728 WordPress \u6587\u7ae0\/\u9875\u9762\u4e2d\u5d4c\u5165 <a href=\"https:\/\/github.com\/\">GitHub<\/a> \u4ed3\u5e93\u6302\u4ef6\u3002<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Upload the plugin to your <code>\/wp-content\/plugins\/<\/code> directory.\n\u4e0a\u4f20\u63d2\u4ef6\u5230\u60a8\u7684 WordPress \u63d2\u4ef6\u76ee\u5f55\u3002<\/p><\/li>\n<li><p>Activate the plugin through the 'Plugins' menu in WordPress.\n\u767b\u5f55\u540e\u53f0\u6fc0\u6d3b\u63d2\u4ef6\u3002<\/p><\/li>\n<li><p>Now you could see the <code>GitHub Repo<\/code> button in post\/page editor.\n\u8fdb\u5165\u6587\u7ae0\u7f16\u8f91\u754c\u9762\uff0c\u60a8\u4f1a\u770b\u5230\u201cGitHub Repo\u201d\u7684\u5feb\u6377\u6309\u94ae\u3002<\/p><\/li>\n<li><p>Click the button and input the owner and name of your GitHub repo.\n\u70b9\u51fb\u6309\u94ae\u540e\uff0c\u8f93\u5165\u60a8\u7684\u4ed3\u5e93\u6240\u6709\u8005\u548c\u540d\u79f0\u5373\u53ef\u63d2\u5165\u77ed\u7801\u3002<\/p><\/li>\n<li><p>(Optional) Fill in your GitHub personal access token in plugin options page.\n\uff08\u53ef\u9009\uff09\u5728\u63d2\u4ef6\u8bbe\u7f6e\u9875\u9762\u586b\u5199\u4f60\u7684 GitHub \u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u3002<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<ol>\n<li><p>Q: Does this plugin support BitBucket?<br \/>\nA: No. It's not going to happen until BitBucket API system is actually usable (right now it's only shit).<\/p>\n\n<p>\u95ee\u9898\uff1a\u8fd9\u4e2a\u63d2\u4ef6\u652f\u6301\u6dfb\u52a0 BitBucket \u4ed3\u5e93\u5417\uff1f<br \/>\n\u56de\u7b54\uff1a\u4e0d\u652f\u6301\uff0c\u9664\u975e BitBucket API \u7cfb\u7edf\u8fbe\u5230\u5b9e\u9645\u53ef\u7528\u7684\u7a0b\u5ea6\uff08\u76ee\u524d\u5c31\u662f\u4e00\u5768\u5c4e\uff09\u3002<\/p><\/li>\n<li><p>Q: After upgraded to version 2.x, I got a \"Parse error: syntax error, unexpected T_FUNCTION...\", what's that?<br \/>\nA: Version 2.x requires PHP 5.3 and above. Please upgrade your PHP environment, or you can continue to use version 1.x.<\/p>\n\n<p>\u95ee\u9898\uff1a\u5347\u7ea7\u5230 2.x \u4ee5\u540e\u62a5\u9519\uff0c\u201cParse error: syntax error, unexpected T_FUNCTION...\u201d\uff0c\u662f\u4ec0\u4e48\u539f\u56e0\uff1f<br \/>\n\u56de\u7b54\uff1a2.x \u8981\u6c42 PHP \u7248\u672c\u4e0d\u4f4e\u4e8e 5.3\u3002\u8bf7\u5347\u7ea7\u60a8\u7684 PHP \u73af\u5883\uff0c\u6216\u7ee7\u7eed\u4f7f\u7528 1.x \u7248\u672c\u3002<\/p><\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.1.1 (2021-01-19)<\/h4>\n\n<ul>\n<li>Fix constant definition issue.<\/li>\n<li>\u4fee\u590d\u5e38\u91cf\u5b9a\u4e49\u7684\u95ee\u9898\u3002<\/li>\n<\/ul>\n\n<h4>2.1.0 (2014-11-23)<\/h4>\n\n<ul>\n<li>Add GitHub authentication option.<\/li>\n<li>\u589e\u52a0 GitHub \u8ba4\u8bc1\u9009\u9879\u3002<\/li>\n<\/ul>\n\n<h4>2.0.2 (2014-11-04)<\/h4>\n\n<ul>\n<li>Update author's info and screenshot.<\/li>\n<li>\u66f4\u65b0\u4f5c\u8005\u4fe1\u606f\u548c\u622a\u56fe\u3002<\/li>\n<\/ul>\n\n<h4>2.0.1 (2014-09-03)<\/h4>\n\n<ul>\n<li>Back compatible with old shortcode syntax. Fix situation when repo info is wrong.<\/li>\n<li>\u517c\u5bb9\u65e7\u7248\u77ed\u7801\u683c\u5f0f\u3002\u5904\u7406\u4ed3\u5e93\u4fe1\u606f\u6709\u8bef\u7684\u60c5\u51b5\u3002<\/li>\n<\/ul>\n\n<h4>2.0.0 (2014-09-02)<\/h4>\n\n<ul>\n<li>Completely rewritten. Fix bugs and improve usability. Compatible with WordPress visual style.<\/li>\n<li>\u5b8c\u5168\u91cd\u5199\u4e86\u4ee3\u7801\u3002\u4fee\u590d bug\uff0c\u6539\u5584\u4f7f\u7528\u4f53\u9a8c\u3002\u517c\u5bb9 WordPress \u754c\u9762\u98ce\u683c\u3002<\/li>\n<\/ul>\n\n<h4>1.0.3 (2014-05-10)<\/h4>\n\n<ul>\n<li>Be compatible with GitHub API change.<\/li>\n<li>\u4fee\u590d GitHub API \u53d8\u66f4\u3002<\/li>\n<\/ul>\n\n<h4>1.0.2 (2013-05-23)<\/h4>\n\n<ul>\n<li>Format numbers.<\/li>\n<li>\u683c\u5f0f\u5316\u6570\u5b57\u3002<\/li>\n<\/ul>\n\n<h4>1.0.1 (2013-05-23)<\/h4>\n\n<ul>\n<li>Add support to rich editor. Add support to language translation.<\/li>\n<li>\u652f\u6301\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u3002\u652f\u6301\u591a\u8bed\u8a00\u3002<\/li>\n<\/ul>\n\n<h4>1.0.0 (2013-05-22)<\/h4>\n\n<ul>\n<li>First drop.<\/li>\n<li>\u53d1\u5e03\u7b2c\u4e00\u4e2a\u7248\u672c\u3002<\/li>\n<\/ul>","raw_excerpt":"Insert GitHub repository widget into you posts\/pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23530"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/myst729"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23530"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23530"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23530"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23530"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23530"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}