plugin will not offer update even though a new version is available - wordpress

I made a plugin, made revisions to it, and commited it again, yet in the admin area under plugins, I do not see under my plugin that an update is available.
So I had, say, version 1.2.0 , and now I made a new version 1.9.0 and I commited it, and on the wordpress site if you click the download button you WILL get the 1.9.0 version, but people that already have version 1.2.0 installed won't see an update option.
Also, on the wordpress site, it always says "Download version 1.0", even though the current version is 1.9.5 (that's what it says in the readme.txt under the stable tag)
How to fix this?

It sounds like your trunk/stable tag setup is off. This is the way WordPress recommends releasing plugin updates on their site, and what I use for publishing new version of my plugins.
Make changes to your plugin and commit to /trunk
When you are ready to release a new version update your main plugin PHP file under /trunk with the new version number in the plugin header.
Update /trunk/readme.txt to include the new changelog info and set the stable tag to the same version as in #2
Create a tag of /trunk using the same version number specified in the stable tag
The new version of your plugin should not be automatically delivered to anyone who has your plugin installed.

Related

Visual-composer back end-editor not working with latest version of wordpress(Version 5.0)

let me know if anyone else, also having the same issue. it is working fine with older version but I just installed the latest version and now it's not working.
I have faced the same problem today in morning when I have updated WordPress to latest version 5.
But I have fixed the Problem by updating the Visual-composer back end-editor to latest version.
Check this link. You can see Release Notes there that says VER 5.6 - Update: Compatibility with WordPress 5.0.
So just update your plugin & sure that will fix your problem.
Try it & let me know if you have any issues.
Use the plugin call classic editor. It uses the old editor. Do not use classic editor addon. Just the standard classic editor plugin.
You can use Wordpress Version 4.9.9
It is working for me.
Download link
I can’t find Backend Editor, where is it?
The WordPress admin panel is a very unpredictable environment for such a complex product like Visual Composer. Because of that, we decided to remove Backend Editor in 2.0 version and focus our development on Frontend Editor. As a result, you as a user are getting a more stable and faster editor. Release cycles will become shorter and new features will be delivered to you faster.
To justify the “loss” we will introduce new “structured view” mode in Frontend Editor (similar how it was in the Backend Editor) and there is always Tree View mode available (a layer style representer and editor of your layout).
official website

New Installed Drupal 8 Module Cannot Be Uninstalled

I have a fresh Drupal 8.2.5 installation and I just installed the "Contact Storage Module"
MODULE INSTALLED: https://www.drupal.org/project/contact_storage
The issue is that when I installed the new module which DOES NOT comes originally with the Drupal installation, the square to enable it is greyed out since the beginning.
SEE GREYED OUT ON THIS IMAGE: http://lposselt.com/1.png
And because of that I cannot UNINSTALL it too.
So the Module was installed successfully but I cannot enable or uninstall.
NOTE: I have installed other modules in this NEW Drupal Installation and every module works, this is the only module that gives me troubles.
Does anyone knows how I can fix this?
I will like to at least uninstall it.
UPDATE:
To make it work I checked the dependencies need it for the module.
1. Click on the description of the module.
2. You will see a drop down text with Required modules.
3. In my case I needed TOKEN MODULE
4. After installing it, the check box from CONTACT STORAGE was available to click and install
i guess you miss some dependencies for this module.
if you click on the arrow to collapse the module information, is there any module for required?
if yes, check that all of them are installed.
edit:
Requires: Contact User System Views Filter Options Field Text Token
i tested it myself and you need to have all of them installed AND activated.

Modern.ie scan saying I need to update jQuery 2.2.0 (latest) to a newer version. :/

When I scan my site with modern.ie, it says:
We've found frameworks or libraries that are not up-to-date and might
contain bugs.
modern.ie detects that my site is running jQuery 2.2.0 (the latest version).
Is there a bug with the modern.ie site?
What version of jQuery are you using?
You can check the current open bugs in its public GitHub repo https://github.com/MicrosoftEdge/static-code-scan and open a new issue if you find one

Products.Carousel uninstall seems to be leaving leftover contents

I'm testing Products.Carousel before to install it on a web site in production.
While uninstalling the product via the quick_installer went smoothly, the banners are still present in their folder (while only being reachable via the "Contents" tab of the parent folder or through the ZMI).
Is is safe to delete this folder manually? Should this be considered a bug in Products.Carousel - i.e. should I file a bug report?
Tia
The uninstall implementation should never touch your content (This is a scary imagination imho). It should uninstall the configuration aka GenericSetup steps.
If you uninstall a certain package, which has it's own content types you should remove them (created objs) manually before uninstall the package.
So, no bug report necessary.

Downgrade wordpress plugin to use older version of php

I developed a website in wordpress and used several plugins. One of the plugin was http://wordpress.org/extend/plugins/background-manager/
Every thing was working fine on my machine. But as i get uploaded it to client server. the whole site stuck due to lower version of PHP. This plugin requires PHP 5.3 and on server we have PHP 5.2. Since its a shared server, we can't upgrade its PHP.
Then i look into the code of this plugin it was using PHP 5.3 feature namespaces. Is there any way to downgrade this plugin that it will work with PHP 5.2?
This is a really tricky problem, and of course, it's really, really bad practice to use old code for plugins as they may have fixed security vulnerabilities or other serious problems. It would be better for you to move the site to a server with more up to date PHP.
Having given that important warning, you can, however, browse to the tags directory in the plugin repository and extract the files you want for the previous version. Plugin history is public and always maintained.
For instance, for the plugin you mentioned, you can visit the SVN part of the plugin repository at:
http://plugins.svn.wordpress.org/background-manager/
You'll find the previous versions there under the "tags" folder, named after their versions.

Resources