Opened 16 years ago
Closed 13 years ago
#16055 closed defect (bug) (wontfix)
Only fire 'Site Wide Only' plugin header deprecated notice if the plugin is activated
| Reported by: | nacin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugins | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: | Focuses: |
Description
Apparently it can be fired on a deactivated plugin. That's annoying and confusing.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Coming back to this, I'm not actually sure if this is a bad thing after all. The notice is clear about which plugin it is. In general, these notices are annoying anyway — I don't think if this plugin was activated would it be any less annoying or confusing. And because plugins can be activated on *other* sites in a network, it's kinda important to make sure the header is up to date and not using deprecated behavior.
A note on the stale patch here — that change in the conditional also affects
$plugin_data['Network'] = $plugin_data['_sitewide'];, which would still need to apply in case the plugin was inactive.Any thoughts, DJPaul, as a BuddyPress (which is Network: true) core dev?