WordPress.org

Plugin Directory

Changeset 1203396


Ignore:
Timestamp:
07/21/15 18:56:25 (18 months ago)
Author:
vladimir.s
Message:

Terms Descriptions v.3.2.2
Bug fix: in setting cur_url variable

Location:
terms-descriptions/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • terms-descriptions/trunk/includes/parsers/td_parser.php

    r1192552 r1203396  
    161161        } 
    162162        if ( $_SERVER[ "SERVER_PORT" ] != "80" ) { 
    163             $this->cur_url = $_SERVER[ "SERVER_NAME" ] . ":" . $_SERVER[ "SERVER_PORT" ] . $_SERVER[ "REQUEST_URI" ]; 
     163            $this->cur_url = trailingslashit( $_SERVER[ "SERVER_NAME" ] . ":" . $_SERVER[ "SERVER_PORT" ] . $_SERVER[ "REQUEST_URI" ] ); 
    164164        } else { 
    165             $this->cur_url = $_SERVER[ "SERVER_NAME" ] . $_SERVER[ "REQUEST_URI" ]; 
     165            $this->cur_url = trailingslashit( $_SERVER[ "SERVER_NAME" ] . $_SERVER[ "REQUEST_URI" ] ); 
    166166        } 
    167         return trailingslashit( $this->cur_url ); 
     167        return $this->cur_url; 
    168168    } 
    169169} 
  • terms-descriptions/trunk/readme.txt

    r1192552 r1203396  
    22Contributors: vladimir.s 
    33Tags: post, page, links, plugin 
    4 Requires at least: 3.9 
     4Requires at least: 4.1 
    55Tested up to: 4.2.2 
    66Stable tag: trunk 
     
    7777== Changelog == 
    7878 
     79= 3.2.2 = 
     80 
     81* Bug fix: in setting cur_url variable 
     82 
    7983= 3.2.1 = 
    8084 
  • terms-descriptions/trunk/terms-descriptions.php

    r1192552 r1203396  
    44Plugin URI: http://www.simplecoding.org/plagin-wordpress-terms-descriptions 
    55Description: This plugin allows you to create list of terms and assign links to them. Plugin automatically replaces terms occurrences in your posts with appropriate links. You can control the number of replacements. After activation you can create terms list on plugin administration page (Tools -> Terms Descriptions). 
    6 Version: 3.2.1 
     6Version: 3.2.2 
    77Author: Vladimir Statsenko 
    88Author URI: http://www.simplecoding.org 
Note: See TracChangeset for help on using the changeset viewer.