what is the correct way to update a plugin via tortoise svn to the repository?

I'm embarrassed to say that I am a bit clueless on the procedure used to update a plugin via tortoise svn even though my plugin has been on the repository for years and had over 300,000 downloads! there's a lot of questions about svn here but they've only confused me further :-z somehow I've managed so far but I need to know the proper procedure for updating my plugin to the new version with regards to committing the trunk and …
Category: Web

Updating wordpress from my Linux distro's repository

I installed wordpress with apt, which ties in a lot of directories, so I suspect that using the built-in core update tool will break the installation; but wordfence constantly demands that I update using said tool -- which is probably much more up-to-date than the linux distro repository. Do I have to wipe it out and start over in order to resolve this annoying bind?
Category: Web

Checking update status and getting version number for plugin outside of the WordPress repository

I've been able to work out how to programmatically get the installed plugin version numbers for all the plugins on a site, and the current available version numbers from the repository... but how can I find out what the current available version is for plugins like Gravity Forms that aren't in the repository? I'm looking for something similar to what the WordPress plugin page is doing when it shows than an update is available - I want to be able …
Category: Web

Use Repository Pattern in WP theme

In my template files I have a lot of WP_Query to get posts of an author or from a specif category ecc... I'm thinking to use Repository Patter in order to have cleaner code and a layer between database and theme. This PostRepository class will have some methods like: - getByID - getByAuthor - getByCategory Could be a good idea? Have somebody use somethink like this?
Category: Web

How can I keep the content of my pages version controlled?

We have a WordPress-based website that provides documentation to our REST API. Since our API is constantly changing, so is the documentation. However, we would like to keep the documentation version controlled so it can be matched against API commits. Is there a way to have WordPress pages get their content from a remote repository (GitHub, for example)? Or is there a way to push content to WordPress from some repository?
Category: Web

What is the Timeline for the Active Version Pie Chart in the Repository?

When going through your own plugin details and checking the active version downloads. It's helpful to see which version that webmasters prefer, but I see no details on the subject on WordPress (and on here, yet). I recently had an unexpected change in stats, and I can't find anything as to what the time frame is. What few that I have found are either closed with little or no response, and/or indirectly related. The active version pie chart can be …
Category: Web

Update plugin from personal API

I'm developing a wordpress plugin at the moment which I do not want in the Wordpress plugin repository. However I still want to be able to push updates to my costumers from my own API repository. I've been reading quite a bit about this, and one thing that seems to be something about is the pre_set_site_transient_update_plugins filter, however I can't find much info about this. I've tried this tutorial (http://konstruktors.com/blog/wordpress/2538-automatic-updates-for-plugins-and-themes-hosted-outside-wordpress-extend/) which I couldn't get working. I can tell from the …
Category: Web

Plugin Repository commit doesn't show up in activity

I've just published the first update for one of my WordPress plugins but I'm not sure if it was successful. I had a few errors in previous attempts to commit to the SVN repository, so I tried it with a utility called SmartSVN, which says that the commit was successful, but I can't find it in my WordPress Repository account, even though I can find it in my SVN logs: $ svn log ------------------------------------------------------------------------ r1591738 | xxxxxx | 2017-02-08 14:19:48 …
Category: Web

Recreating a local repository from a currently existing wordpress.org repo..which I own

Sorry for the name. Not sure how to succinctly title this one. I have a plugin available on the WordPress.org repo. It's the Encrypt Email plugin. The laptop I was using to develop/maintain it died. Now I want to resume development of on my work pc. But I'm not sure how. So how can I clone/pull the repo to my machine so I can resume pushing and committing future changes from where I left off? (As if I was still …
Category: Web

Missing Logo in Repository

I experience a quite odd behavior of the WordPress Repository, or I am doing something wrong (more likely). So, for my plugin, which is registered in the WordPress Repository, I created a logo and I uploaded it as icon-128x128.png as well as icon-256x256.png in the /assets/-folder. First I only uploaded the small logo and it didn't show up in the search results. I thought, I wait a bit, since the Repository needs sometimes a bit time to react. After this …
Category: Web

Could not find wp-load.php issue

I am setting up a Wordpress site into a Git repository, and as a result have moved the wp-content directory outsite of the Wordpress core directory (which is permitted as per http://codex.wordpress.org/Editing_wp-config.php). I have moved the index.php and the wp-config.php file into the root directory, and edited the following line to include the Wordpress directory: require('./WordPress/wp-blog-header.php'); In the wp-config.php file, I've added (as per http://efeqdev.com/website-development/this-is-how-we-version-control-and-deploy-our-wordpress-websites-with-git/) : define('WP_SITEURL', 'http://dev.example.com/WordPress'); define('WP_HOME', 'http://dev.example.com'); define('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content'); define('WP_CONTENT_URL', 'http://dev.example.com' . '/wp-content'); Yet when …
Category: Web

How to get the SQL of the changes made to the database from an update or upgrade?

When I update/upgrade a plugin, theme, or even the core of WordPress, it has an impact in the database, it changes many things. How do I keep track of it? The problem is that I have a repository, all the changes made to the files are all correctly tracked, but I don't have any idea how to create an SQL file to store the database changes (alter, insert, update, drop, create, etc.). I use a tool, which is Flyway, that …
Category: Web

How to add a link to our wp.org profile from wordpress.org plugin page?

We have written a few plugin which are available on the wordpress.org public repository for example - and I see that other authors have a link to their profile and a count of the plugins they're added, which would be a nice way to show other plugins we're produced - but how to do it? The sidebar on plugins we released looks like this: Do we need to add something extra to the readme.txt - or what is the trick …
Category: Web

How do I set a custom WordPress update repository?

I'm co-authoring a white paper on utilising WordPress as a foundation for a web-app, I would like to change the repository that the core WordPress updates from, the latest additions of automatic updates in 3.7 are very nice, but how would I go about pointing some installations at a custom server repository of mine? I understand the principals behind custom plugin and theme repositories, but updating the core is a necessity. I think that it queries api.wordpress.org, but what about …
Category: Web

Do I need to include a textdomain if my theme doesn't support translation?

According to the codex Themes are required to use theme-slug (or a reasonable facsimile) as textdomain for translation Does this mean that my theme needs to include a textdomain even if my theme doesn't support translation? ... and also is there any harm in including a textdomain in style.css if there are no translation options.
Category: Web

Hosting plugin with excanvas (dependency of flot, jqPlot and more) in official repository?

Considering using flot for graphs in plugin and a little lost with dependencies and licensing here. WordPress repository demands GPLv2-compatible. flot is under MIT license, which is GPL-compatible. flot uses excanvas (for IE compatibility) under Apache License 2.0 which is compatible to GPLv3, but not v2. So is or is not flot compatible to repository? Aside - I had started wiki-style question if you want to suggest and discuss alternative libraries Graphing libraries for WordPress
Category: Web

User File Upload Repository?

I am trying to make a user-uploaded file repository on my wordpress site, but have been unable to find any plug-ins or tutorials on how to accomplish such a task. Basically I want a page where users can go and upload files via an upload file dialogue. Then I want to have a page that lists all user-submitted files that is sortable. I have seen some tutorials on how to add an upload option to a users dashboard, but I'm …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.