Plugin Directory

Opened 11 years ago

#2423 new defect

Wordpress Post Tabs - Activation on Multisite Broken

Reported by: jbrule's profile jbrule's profile jbrule Owned by: internet-techies's profile internet-techies's profile internet techies
Priority: normal Severity: major
Plugin: not-listed Keywords: tabs
Cc:

Description

The additional activation check added in v1.5.1 appears to skip population of the default options when activating on blogs in a multisite install.

https://plugins.trac.wordpress.org/changeset/926450/

This code essentially skips setting of defaults if the plugin had been previously activated on any other site in the network

72 $installed_ver = get_site_option( 'wpts_db_version' );
71 if(isset($wpts_opts1) and $wpts_opts1speed?=='1'){
73 if( $installed_ver != $wpts_db_version ) {

I commented out the check present on line 73 in order to get things working properly. I included a very simple patch.

Attachments (1)

wordpress-post-tabs.php.patch (63.5 KB) - added by jbrule 11 years ago.
Plugin activation patch

Download all attachments as: .zip

Change History (1)

@jbrule
11 years ago

Plugin activation patch

Note: See TracTickets for help on using tickets.