Plugin Directory

Changeset 1845658


Ignore:
Timestamp:
03/23/2018 12:20:39 PM (8 years ago)
Author:
callroot
Message:

fixed activated plugin bug, added screenshots

Location:
callroot
Files:
4 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • callroot/tags/1.0/callroot.php

    r1844697 r1845658  
    6363}
    6464
    65 function callroot_activation_redirect()
     65function callroot_activation_redirect( $plugin )
    6666{
    67      wp_redirect(admin_url( 'options-general.php?page=callroot' ));
    68      exit;
     67    if( $plugin == plugin_basename( __FILE__ ) )
     68    {
     69        exit( wp_redirect( admin_url( 'options-general.php?page=callroot' ) ) );
     70    }
    6971}
    7072
Note: See TracChangeset for help on using the changeset viewer.