wpプラグインの申請

2013/07/30

つくったWordpressのプラグインをWPのサイトからダウンロードできるようにしたい。

やらなくちゃいけないことは下記。

1.Wordpress.orgでアカウント作成
2.プラグインの登録申請
3.承認メールとリポジトリのURLが届く
4.SVN(Subversion)でリポジトリ管理とコミット

1.Wordpress.orgでアカウント作成

http://ja.wordpress.org/
→メニューの「プラグイン(http://wordpress.org/extend/plugins/register.php)」

ログイン横にある「Register」でアカウント作成。

分かる範囲で入力すれば良さげ。
「必須項目(Required)」は
・Username
・Email
だけっぽい。

登録するとメールでログインパスワードが届く。

2.プラグインの登録申請

WordPress.orgにログイン後、「プラグイン(Plugins)」の「Developer Center」を開く。

次に「Plugins – Developer Center – Add Your Plugin」を開く。

プラグインの情報を登録。
プラグインのURLも必須なのでどっかにアップしておく必要がある。
※readme.txtもつけておく必要がある。あとで用意でOKとか書いてるサイトがあったけど拒否られたよ…。

送信しても「受け付けた」的なメールはこない。
1~7日ぐらい待つ。

readme.txtの不備あり

最初、readme.txtをつけずに登録申請したけどダメと返ってきた。内容は下記。

Your plugin is incomplete and is missing a valid readme.txt file. Please create one based on this:
http://wordpress.org/extend/plugins/about/readme.txt

Alternately, you can use this tool to generate one:
http://tools.trepmal.com/wp-readme-generator/

A readme.txt is needed so your plugin will display correctly in our repository, but also so we can make sure you’re providing the users with all the information they need before they install your plugin. Our goal with this is to make sure everyone knows what they’re installing and what they need to do before they install it. No surprises 🙂

This is especially important if your plugin is making calls back to your own servers. For the most part, we do not permit offloading of images or code, however in the case where you are providing a service (like Disqus or Akismet or Twitter), we permit it. The catch is you have to actually explain this to the layman in your readme, so they know where data is going.

Keep in mind, we don’t want to see a readme.MD. Among other things, the formatting for markup is different, and the filetype isn’t read by our system.

Your readme MUST validate per http://wordpress.org/plugins/about/validator/ or we will reject it.

Please send a link so the completed plugin can be downloaded. Alternately you can reply to this and send a .zip file. As this is for a new plugin request, please reply within seven days of this email or we will reject your plugin.

がんばって翻訳してみた。

7日以内にreadme.txtをつけろ。

「http://wordpress.org/extend/plugins/about/readme.txt」を参考に自分で作れ。

もしくは「http://tools.trepmal.com/wp-readme-generator/」にツールを用意しているからコレで作れ。

readme.txtにはインストール方法をちゃんと書くんだよ。

基本、画像やイメージのオフロードは許可していないよ。

書式の異なるreadme.txtはダメ。

readme.txtは、「http://wordpress.org/plugins/about/validator/」で有効にならないとダメ。

完成したらDL先のパスかZIPファイルを返信してね。
ただし、返信するなら7日以内ね。

3.承認メールとリポジトリのURLが届く

承認されたらメールが届く。そのメールにはリポジトリのURLが記載されている。

4.SVN(Subversion)でリポジトリ管理とコミット

Win環境なら「TortoiseSVN(とーたすえすぶいえぬ)」が便利らしい。

あとはファイルをアップして、しばらく待ってからWordpressの管理画面にログインしてプラグインの新規インストで検索すると出てくる。

バージョンアップしたら、問題なければ翌日あたりには管理画面のプラグインのページで「最新版あるよ~」的なメッセージも出てくるようになる。

新着(ニュース関連以外)

2018-07-26
年賀状で「新春」とか書くけど・・・何故なんだろうと8月を目前にした今、疑問に思った。
2018-05-16
PHPで画像のヘッダ情報(?)の「Orientation」を元に画像回転させたい。
2018-03-05
Android Studioをインストール。エミュレータを軽くするトコまで終わらせたかったけど、挫折した。
2018-02-23
プッシュ通知について調べてた時にでてきたServiceWorker。そのServiceWorkerについてのメモ。
2017-12-13
jqueryで取得したDOM要素をオブジェクトじゃなくて、配列で受け取りたい