<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>更新插件相关文章列表 | 皇家元林</title>
	<atom:link href="https://hjyl.org/tags/%e6%9b%b4%e6%96%b0%e6%8f%92%e4%bb%b6/feed/" rel="self" type="application/rss+xml" />
	<link>https://hjyl.org</link>
	<description>刘元林的个人博客</description>
	<lastBuildDate>Tue, 22 Oct 2019 14:38:08 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://img.hjyl.org/uploads/2019/10/cropped-about-me-32x32.png</url>
	<title>更新插件相关文章列表 | 皇家元林</title>
	<link>https://hjyl.org</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>记录：更新插件并提交到WordPress官方</title>
		<link>https://hjyl.org/update-plugins-to-wordpress/</link>
					<comments>https://hjyl.org/update-plugins-to-wordpress/#comments</comments>
		
		<dc:creator><![CDATA[皇家元林]]></dc:creator>
		<pubDate>Tue, 22 Oct 2019 14:29:21 +0000</pubDate>
				<category><![CDATA[元林手札]]></category>
		<category><![CDATA[Hjyl Comment Spam]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress插件]]></category>
		<category><![CDATA[wp-to-weibo]]></category>
		<category><![CDATA[更新插件]]></category>
		<guid isPermaLink="false">https://hjyl.org/?p=3804</guid>

					<description><![CDATA[本文纯记录用TortoiseSVN更新插件，并提交到WordPress官方。 最近不知道什么情况，连WordP [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>本文纯记录用TortoiseSVN更新插件，并提交到WordPress官方。</p>
<p>最近不知道什么情况，连WordPress.org站点都能被和谐掉，只是出现不一样的反应：429 too many request！我们无能为力！</p>
<p>虽然我的两个插件——<a href="https://hjyl.org/hjyl-comment-spam/" rel="noopener noreferrer" target="_blank">hjyl-comment-spam</a>、<a href="https://hjyl.org/wp-to-weibo/" rel="noopener noreferrer" target="_blank">wp-to-weibo</a>没什么需要更新的，但是看到官方显示上次更新在好几年前，用的人就更少了。保持更新，好歹让别人感觉这家伙还在用啊，确实，这两个插件我自己都在用。以后不会在做插件了，因为我都会集成到主题里，这样很方便，也不需要再单独维护插件了。</p>
<p>说重点。我第一个SVN的软件就是TortoiseSVN，虽然我不喜欢这个，但是我只会用这个。好在这个官方站还在，还能正常下载。安装好之后，在桌面上随便建一个文件夹，在这个文件夹里面，右键SVN Checkout...填上SVN库地址：https://plugins.svn.wordpress.org/你的插件名称/trunk/</p>
<figure id="attachment_3805" aria-describedby="caption-attachment-3805" style="width: 543px" class="wp-caption alignnone"><a href="https://img.hjyl.org/uploads/2019/10/QQ20191022222154.png"><img fetchpriority="high" decoding="async" src="https://img.hjyl.org/uploads/2019/10/QQ20191022222154.png" alt="SVN Checkout" width="543" height="414" class="size-full wp-image-3805" srcset="https://img.hjyl.org/uploads/2019/10/QQ20191022222154.png 543w, https://img.hjyl.org/uploads/2019/10/QQ20191022222154-66x50.png 66w, https://img.hjyl.org/uploads/2019/10/QQ20191022222154-531x405.png 531w" sizes="(max-width: 543px) 100vw, 543px" title="QQ20191022222154.png" /></a><figcaption id="caption-attachment-3805" class="wp-caption-text">SVN Checkout</figcaption></figure>
<p>这个时候会弹出一个对话框，填上你的WordPress官方注册账号和密码，然后就会下载官方库里的插件源码，</p>
<p>接着把你更好的源码覆盖他的源码，最重要的就是你的源码版本号一定要高于目前官方库里的。</p>
<p>然后再右键SVN Commit...在弹出的对话框里第一个Message里，随便写点什么，比如我每次直接填上更新的版本号。</p>
<p>OK，提交完成！</p>
<p>这里有个问题，都被和谐了，你是怎么提交上去的？<br />
当然是需要搭梯子了，不然怎么爬过去！在TortoiseSVN的设置里有个Network，可以设置proxy，如图：<br />
<figure id="attachment_3808" aria-describedby="caption-attachment-3808" style="width: 787px" class="wp-caption alignnone"><a href="https://img.hjyl.org/uploads/2019/10/QQ20191022223639.png"><img decoding="async" src="https://img.hjyl.org/uploads/2019/10/QQ20191022223639.png" alt="SVN设置代理" width="787" height="542" class="size-full wp-image-3808" srcset="https://img.hjyl.org/uploads/2019/10/QQ20191022223639.png 787w, https://img.hjyl.org/uploads/2019/10/QQ20191022223639-70x48.png 70w, https://img.hjyl.org/uploads/2019/10/QQ20191022223639-540x372.png 540w" sizes="(max-width: 787px) 100vw, 787px" title="QQ20191022223639.png" /></a><figcaption id="caption-attachment-3808" class="wp-caption-text">SVN设置代理</figcaption></figure></p>
<p>这个还支持SSH，不知道怎么用，有研究的朋友研究一下！</p>
<div id="content-copyright"><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;font-size: 13px;">版权声明: </span><span style="font-size: 13px;">本文采用 <a href="https://hjyl.org/go/aHR0cHM6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzMuMC8=" rel="nofollow" target="_blank">BY-NC-SA</a> 协议进行授权，如无注明均为原创，转载请注明转自 <a href="https://hjyl.org">皇家元林</a><br>本文链接: <a rel="bookmark" title="记录：更新插件并提交到WordPress官方" href="https://hjyl.org/update-plugins-to-wordpress/">记录：更新插件并提交到WordPress官方</a></span></div>]]></content:encoded>
					
					<wfw:commentRss>https://hjyl.org/update-plugins-to-wordpress/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
