Plugin Directory

Changeset 2198551 for https-redirection


Ignore:
Timestamp:
11/22/2019 03:06:48 AM (6 years ago)
Author:
mra13
Message:

fixed settings link in the plugin's menu to go to the correct admin interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • https-redirection/trunk/https-redirection.php

    r2198540 r2198551  
    111111
    112112    if ( $file == $this_plugin ) {
    113     $settings_link = '<a href="admin.php?page=https-redirection">' . __( 'Settings', 'https_redirection' ) . '</a>';
     113    $settings_link = '<a href="options-general.php?page=https-redirection">' . __( 'Settings', 'https_redirection' ) . '</a>';
    114114    array_unshift( $links, $settings_link );
    115115    }
     
    120120    $base = plugin_basename( __FILE__ );
    121121    if ( $file == $base ) {
    122     $links[] = '<a href="admin.php?page=https-redirection">' . __( 'Settings', 'https_redirection' ) . '</a>';
     122    $links[] = '<a href="options-general.php?page=https-redirection">' . __( 'Settings', 'https_redirection' ) . '</a>';
    123123    }
    124124    return $links;
Note: See TracChangeset for help on using the changeset viewer.