Changeset 764


Ignore:
Timestamp:
12/16/12 07:53:04 (23 months ago)
Author:
ofer
Message:

Whoops, missed the settings links on the plugins page

Location:
trunk/WordPress/plugin/transposh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/core/constants.php

    r750 r764  
    171171//Define segment id prefix, will be included in span tag. also used as class identifier 
    172172define('SPAN_PREFIX', 'tr_'); 
    173  
    174 //The name of our admin page 
    175 define('TRANSPOSH_ADMIN_PAGE_NAME', 'transposh'); 
    176173 
    177174//Our text domain 
  • trunk/WordPress/plugin/transposh/transposh.php

    r755 r764  
    44  Plugin Name: Transposh Translation Filter 
    55  Plugin URI: http://transposh.org/ 
    6   Description: Translation filter for WordPress, After enabling please set languages at the <a href="options-general.php?page=transposh">the options page</a> Want to help? visit our development site at <a href="http://trac.transposh.org/">trac.transposh.org</a>. 
     6  Description: Translation filter for WordPress, After enabling please set languages at the <a href="admin.php?page=tp_main">the options page</a> Want to help? visit our development site at <a href="http://trac.transposh.org/">trac.transposh.org</a>. 
    77  Author: Team Transposh 
    88  Version: %VERSION% 
     
    580580        unset($wp->query_vars[LANG_PARAM]); 
    581581        unset($wp->query_vars[EDIT_PARAM]); 
    582         tp_logger("edit mode: " . ($this->edit_mode) ? 'enabled' : 'disabled', 2); 
     582        tp_logger("edit mode: " . (($this->edit_mode) ? 'enabled' : 'disabled'), 2); 
    583583    } 
    584584 
     
    919919    function plugin_action_links($links) { 
    920920        tp_logger('in plugin action', 5); 
    921         return array_merge(array('<a href="' . admin_url('options-general.php?page=' . TRANSPOSH_ADMIN_PAGE_NAME) . '">' . __('Settings') . '</a>'), $links); 
     921        return array_merge(array('<a href="' . admin_url('admin.php?page=tp_main') . '">' . __('Settings') . '</a>'), $links); 
    922922    } 
    923923 
Note: See TracChangeset for help on using the changeset viewer.