cURL request to plugin repository fails 403

Thanks to the WordPress forums someone answered that this only works via PHP if you set the UserAgent to a browser. $ua=”Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.A.B.C Safari/525.13″; curl_setopt( $cd, CURLOPT_USERAGENT, $ua);

WordPress SVN UTF-8 issue

Wow, your plugin is very useful. #@^%$@ -> rysunok. That’s so amazing!!! About your problem, I guess you copied and pasted the special characters from other into your php files, so it caused this error. My solution: Try opening the file in Notepad++, click on Encoding tab at top menu, you will see the current … Read more

How do I avoid having duplicate of plugin in trunk?

I do not know which OS and/or software you use but regarding SVN it’s quite simple : $ svn co http://plugins.svn.wordpress.org/your-plugin-name Then you just have to add your files in trunk and/or maybe in assets (banner,screenshots). Then : $ svn add trunk/* and or : $ svn add assets/* Last step is : $ svn … Read more

my own SVN for a plugin/theme

Sure it is possible there is a great chapter about that in the Professional WordPress Plugin Development book (http://www.amazon.de/Professional-WordPress-Plugin-Development-Williams/dp/0470916222). I’ve already got a system for my premium plugins like that. Essentially you have to hook into the WordPress API requests and root them to your own API Here is an example for premium plugins https://gist.github.com/Horttcore/5197032

Plugin README.txt isn’t updating in the Directory (stable tag is correct)

The short version is that you did it in the wrong order. First, you updated trunk with the new Stable Tag here: https://plugins.trac.wordpress.org/changeset/993543/post-deployment-hook Then, you actually tagged it here: https://plugins.trac.wordpress.org/changeset/993545/post-deployment-hook So between those commits, it updated and noticed you lacked the new directory. When it updated again later, it noticed the version had not changed … Read more

Change plugin name on WordPress repo

You can change the name of your plugin, you just can’t change the url slug of your plugin. Meaning, if you initially added a plugin to the repo and it was called “Posts With Ad Thumbnails” your url would be: https://wordpress.org/plugins/posts-with-ad-thumbnails/ After uploading your plugin, if you decide to change the name just edit your … Read more