Is it possible/advisable to set last stable version to previous version?
Is it possible/advisable to set last stable version to previous version?
Is it possible/advisable to set last stable version to previous version?
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);
You can get the URL of the directory you are in, as well as the Repository Root and other info by running the following command in any of the checked out directories: svn info If you want a command that returns only the URL of the repository, perhaps for use in a script, then you … Read more
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
After discussing this with the WP plugin review team. The precommit hook that is being run on the server does not yet support PHP8. Removing any dependencies on the PHP80 polyfill code in vendor packages should fix this until they upgrade the precommit hooks to support PHP8. Just noting on the discussion above related to … Read more
Have a look at the handbook. And you’re right, put the code to distribute there. I’m quoting the handbook: SVN and the Plugin Directory are a release repository. Unlike Git, you shouldn’t commit every small change, as doing so can degrade performance. Please only push finished changes to your SVN repository.
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
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
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
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