WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 16 months ago

#13928 new defect (bug)

WP.org plugin update notifications should consider plugin slug

Reported by: filosofo Owned by:
Milestone: WordPress.org Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

I have a plugin named "Events Calendar." The actual plugin file and directory is filosofo-event-calendar/filosofo-event-calendar.php.

However, I get update notifications for it for this plugin, even though its file is events-calendar/events-calendar.php

Everything else--author name, description, and URL--differs as well.

WP.org update notifications should be smart enough to distinguish between plugins with different file structures, at least.

Change History (7)

comment:1 @hakre5 years ago

Related: #14179

comment:2 @scribu4 years ago

  • Cc scribu added

comment:3 @MattyRob3 years ago

Related #11227

Okay, I have a plugin with the following official header:

/*
Plugin Name: Subscribe2
Plugin URI: http://subscribe2.wordpress.com
Description: Notifies an email list when new entries are posted.
Version: 7.0.1
Author: Matthew Robinson
Author URI: http://subscribe2.wordpress.com
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2387904
*/

Now I also have a fork of this code that enables the notifications to contain HTML rather than being plain text. I've made the headers as different as I can:

/*
Plugin Name: Subscribe2 HTML
Plugin URI: http://wpplugins.com/plugin/46/subscribe2-html/
Description: Notifies an email list with an HTML email when new entries are posted.
Version: 7.0
Author: Matthew Robinson
Author URI: http://wpplugins.com/plugin/46/subscribe2-html/
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2387904
*/

But this STILL shows as being the same plugin even though the filename is different. This continues to happen even if I change the author name to Albert Einstein!

Is the version comparison a little bit too fuzzy so they we are risking too many false positives? Or am I doing something wrong in the headers?

comment:4 @kawauso3 years ago

  • Cc kawauso added

comment:5 @SergeyBiryukov2 years ago

  • Component changed from Upgrade/Install to Plugins

comment:7 @jdgrimes16 months ago

  • Cc jdg@… added
Note: See TracTickets for help on using tickets.