Plugin Directory

Changeset 502015


Ignore:
Timestamp:
02/08/2012 03:12:36 AM (14 years ago)
Author:
Codevendor
Message:
 
Location:
token-manager/trunk
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • token-manager/trunk/json.php

    r501768 r502015  
    3333
    3434    // Create custom vars
    35     $siteid = $current_site->id;
     35    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    3636    $blogid = $blog_id;
    3737   
     
    105105
    106106    // Create custom vars
    107     $siteid = $current_site->id;
     107    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    108108    $blogid = $blog_id;
    109109   
     
    153153
    154154    // Create custom vars
    155     $siteid = $current_site->id;
     155    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    156156    $blogid = $blog_id;
    157157   
     
    182182
    183183    // Create custom vars
    184     $siteid = $current_site->id;
     184    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    185185    $blogid = $blog_id;
    186186   
  • token-manager/trunk/readme.txt

    r501827 r502015  
    77Requires at least: 3.0
    88Tested up to: 3.3.1
    9 Stable tag: 0.2
     9Stable tag: 0.2.1
    1010
    1111The Token Manager allows web developers to program PHP, HTML, CSS and JavaScript into tokens that can be used throughout WordPress.
     
    2424PHP and token errors are handled by the Token Manager and can be displayed by turning on custom settings in the manager. This gives developers the full control to know where errors are occurring within their token code. The error setting can also be turned off for live sites. This protects you from displaying error information on public sites. All errors that occur in the tokens, unless fatal, will not stop the webpage from being displayed. So feel free to code your ideas without worring about errors halting WordPress.
    2525
    26 **Token Manager (Standard) Features**
     26= Token Manager (Standard) Features =
    2727* Dynamic Processes PHP, HTML, CSS, JS
    2828* Token Management, Add, Edit, Delete
     
    3737* Error Handling on Webpage, PHP and Tokens
    3838
    39 **Token Manager (Professional) Features**
     39= Token Manager (Professional) Features =
    4040* Everything from Above... Plus+
    4141* Code Versioning
     
    4545* Error Handling in Admin, Email Forwards
    4646
    47 **Future Enhancements For Both**
     47= Future Enhancements For Both =
    4848* Code Optimization
    4949* WordPress Token Injection Menus
     
    5757
    5858= WordPress Standard Installation =
    59 1. Upload the contents of 'tokenmanager' to '/wp-content/plugins/tokenmanager' within your WordPress.
     591. Upload the contents of 'token-manager' to '/wp-content/plugins/token-manager' within your WordPress.
    60602. Activate the plugin through the 'Plugins' menu in the WordPress Admin
    61613. Visit the Token Manager Settings Page and turn on the features you desire.
     
    6767
    6868= WordPress MultiSite Installation =
    69 1. Upload the contents of 'tokenmanager' to '/wp-content/plugins/tokenmanager' within your WordPress.
     691. Upload the contents of 'token-manager' to '/wp-content/plugins/token-manager' within your WordPress.
    70702. Network activate the plugin through the 'Plugins' menu in the WordPress Network Admin.
    71713. Visit a desired network site or blog dashboard.
     
    146146== Changelog ==
    147147
     148= 0.2.1 =
     149* Cleaned Up PHP Error Notices and Changed plugin name from 'token manager' to 'token-manager' because wordpress zip program packs it that way causing my code to break down. Cleaned up readme file also. Submitted icons folder into svn.
     150
    148151= 0.2 =
    149152* Added changes to tokenmanager.php for role capabilities from 'Admin' to 'activate_plugins'. This allows plugin to work for single installs as well as multi-site.
  • token-manager/trunk/settings.php

    r501768 r502015  
    2424
    2525    // Create custom vars
    26     $siteid = $current_site->id;
     26    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    2727    $blogid = $blog_id;
    2828
  • token-manager/trunk/tokenadd.php

    r501768 r502015  
    5252
    5353    // Create custom vars
    54     $siteid = $current_site->id;
     54    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    5555    $blogid = $blog_id;
    5656
     
    132132
    133133    // Create custom vars
    134     $siteid = $current_site->id;
     134    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    135135    $blogid = $blog_id;
    136136   
  • token-manager/trunk/tokenedit.php

    r501768 r502015  
    5151
    5252    // Create custom vars
    53     $siteid = $current_site->id;
     53    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    5454    $blogid = $blog_id;
    5555 
     
    145145
    146146    // Create custom vars
    147     $siteid = $current_site->id;
     147    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    148148    $blogid = $blog_id;
    149149   
  • token-manager/trunk/tokens.php

    r501768 r502015  
    4545
    4646    // Create custom vars
    47     $siteid = $current_site->id;
     47    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    4848    $blogid = $blog_id;
    4949
     
    6565
    6666    // Create custom vars
    67     $siteid = $current_site->id;
     67    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    6868    $blogid = $blog_id;
    6969
  • token-manager/trunk/typeadd.php

    r501768 r502015  
    4545
    4646    // Create custom vars
    47     $siteid = $current_site->id;
     47    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    4848    $blogid = $blog_id;
    4949 
  • token-manager/trunk/typeedit.php

    r501768 r502015  
    4848
    4949    // Create custom vars
    50     $siteid = $current_site->id;
     50    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    5151    $blogid = $blog_id;
    5252 
  • token-manager/trunk/types.php

    r501768 r502015  
    4141
    4242    // Create custom vars
    43     $siteid = $current_site->id;
     43    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    4444    $blogid = $blog_id;
    4545
     
    9494
    9595    // Create custom vars
    96     $siteid = $current_site->id;
     96    $siteid = (isset($current_site) && isset($current_site->id)) ? $current_site->id : '0';
    9797    $blogid = $blog_id; 
    9898   
Note: See TracChangeset for help on using the changeset viewer.