A plugin is treated as the same as another plugin if it has the same directory name. That’s it. If your zip file contains the plugin files then the zip filename will be used as the directory name. If your zip has a directory in it, containing the plugin files, then that will be used as the plugin directory.
So the solution is to structure your zips like this:
my-plugin-1.0.0.zip
∟ my-plugin/
∟ my-plugin.php
my-plugin-1.1.0.zip
∟ my-plugin/
∟ my-plugin.php
This way the directory will always be my-plugin/ and those two zips will be treated as the same plugin.
Related Posts:
- Automatic updates in plugin – not hosted on wordpress repository
- WordPress updates defined vs add_filter?
- How to disable plugin update notification for a specific plugin in Multisite
- How to sync with plugins update after I have done manual optimizations?
- Update exisiting site to 3.5 release candidate
- Is there any way to test if a function running only on plugin update is successfully running?
- How Can I setup WP CLI on Windows development machine running AMPPS?
- Plugin updates, version dependencies, and backwards compatibility
- Reset plugins version cache | pre_set_site_transient_update_plugins
- How to test plugin update through WordPress plugin updater without tagging new release in the repo
- Update own Plugin Repository on Multisite
- Selectively update themes in WordPress multisite
- How to cancel update messages from a changed plugin
- Update custom plugin with WP-CLI
- Readme.txt seems to be cached but not the version
- How best to handle database version dependence (from $wp_db_version)
- wordpress automatic update does not run
- WordPress Plugin Update Process
- pre_set_site_transient_update_plugins not updating
- Cannot update plugin
- Is using upgrader_process_complete the correct way to perform plugin updates?
- Plugin’s “Update Now” not working – Installed in folder with random suffix
- How do I create a custom role capability?
- What is the advantage of using wp_mail?
- Plugin Form Submission Best Practice
- WP 3.3 How to Add Menu Items to the Admin Bar?
- Export data as CSV in back end with proper HTTP headers
- Plugin directory “Last Updated” not changed after initial commit?
- Calling the widget id of a mult-instance widget from inside the widget?
- What is the recommended way to create plugin administration forms?
- Should I create a theme or a plugin?
- Do I need to call do_action in my plugin?
- Fatal error: Call to undefined function wp_mail()
- Does WordPress have an Browser Agent?
- How Do I Load My Action Earlier Enough?
- How to check WordPress website username and password is correct
- WooCommerce get Shipping Class of product from either the product id or the order after order is completed
- How to retrieve a value via get_option when the option_value is stored in a multi-dimensional array?
- Dequeue script, but still use wp_localize_script to pass vars
- I can’t find where a hook is being defined in a plugin – Easy Digital Downloads
- Filter on the_content ignores shortcodes
- Custom theme sufficient or custom plugin neccessary for this feature set?
- How to change wordpress post title?
- Can I add pages to my custom menu via script?
- Replacing WordPress menu functionality with a plugin
- Check spam in custom form – akismet
- Add Admin Menu Inside Construct or Init
- Programmatically Selecting Theme Based on URL
- get plugin directory url
- Why is print_r returning $classObj->userObj in several places on site
- Is it possible to load plugin from console with core ?
- WordPress cron running twice
- How to create thumbnail of different files?
- Plugin development: is adding empty index.php files necessary?
- Plugin base URL
- Database for development
- PHP library that can merge stylesheet with inline style [closed]
- Admin-ajax.php appending a status code to ajax response
- comment_email hook doesn’t seem to work for comment editor field
- Customize multisite site creation with user data
- How can I add a field to make link nofollow to the WordPress Link Inspector Window?
- Version upgrade: can my plugin filter the SQL statements issued during a database upgrade?
- admin_notices not displaying in plugin
- Adding plugin settings link upon activation
- How to create multiple Gutenberg blocks in one plugin
- How to disable reCaptcha v3 except on Contact Form 7 pages?
- How to get color name in PanelColorSettings in custom Gutenberg block?
- Get Objects While Deleting term
- Fetching the value of forms in WordPress AJAX
- Cannot redeclare function error on the same line
- js/css updating when making a plugin
- settings_fields() doesn’t work for other roles except admin
- Subscribe to author?
- how to make custom bulk actions for a WP_List_Table (core class)
- Get name and email of current unregistered user, who has recently submitted name and email in comment form?
- Buddypress function and global $bp question
- Custom plugin: Loop through taxonomy types and update columns for all types?
- How to add setting section in custom post type [closed]
- Get Current Menu Location inside Nav_Walker
- Append country to ‘pretty’ url but serve same page
- Set page template programaticlly in plugin
- Auto save permalink setting page with the plugin activation
- How to Display my HTML form in my Custom Plugin?
- Where to add hooks in a class
- Insert terms for custom taxonomy on plugin activation, or each page load (init hook)
- Adding a brand column to WooCommerce Products
- How to use output buffering in WordPress hooked functions?
- Custom GET Parameters In Plugin’s Admin Page
- Adding option to Gallery shortcode
- WordPress Search filter to remove possible script injections
- Plugin menu addition in multisite
- Show custom data instead of 404
- Mixing and Matching – Custom templates in a WordPress plugin
- What’s the right way to instantiate new blocks and/or the plugin itself in toto when using wppb architecture?
- Incorporate small angular feature in my wordpress site
- Bootstrap doesn’t work on admin menu page-How to override wp-admin style?
- Open Graph Object Debugger & url parameters – Page Not Found result
- How to get Metabox custom field to show checked if value is updated using post meta query?
- wp_schedule_event seems to be being added twice
- Use just a shortcode from another page