Plugin Directory

Changeset 1728777


Ignore:
Timestamp:
09/12/2017 03:14:33 PM (9 years ago)
Author:
BenDlz
Message:

Fix a client bug at activation (#102752)

Location:
at-internet/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • at-internet/trunk/atinternet-smarttag.php

    r1631784 r1728777  
    22/*
    33 * Plugin Name: AT Internet SmartTag
    4  * Version: 0.1.1
     4 * Version: 0.1.2
    55 * Plugin URI: http://www.atinternet.com/
    66 * Description: AT Internet official extension, allowing website tracking.
  • at-internet/trunk/includes/lib/class-atinternet-smarttag-tracking-tree-structure.php

    r1631751 r1728777  
    209209            case 'custom':
    210210                $tree_structure = array();
    211                 if( !empty( $chapter1 = get_post_meta( $post_id, $this->prefix . 'chapter1', true ) ) ) $this->chapter1 = sanitize_title( $chapter1 );
    212                 if( !empty( $chapter2 = get_post_meta( $post_id, $this->prefix . 'chapter2', true ) ) ) $this->chapter2 = sanitize_title( $chapter2 );
    213                 if( !empty( $chapter3 = get_post_meta( $post_id, $this->prefix . 'chapter3', true ) ) ) $this->chapter3 = sanitize_title( $chapter3 );
     211                $chapter1 = get_post_meta( $post_id, $this->prefix . 'chapter1', true );
     212                $chapter2 = get_post_meta( $post_id, $this->prefix . 'chapter2', true );
     213                $chapter3 = get_post_meta( $post_id, $this->prefix . 'chapter3', true );
     214                if( !empty( $chapter1 ) ) $this->chapter1 = sanitize_title( $chapter1 );
     215                if( !empty( $chapter2 ) ) $this->chapter2 = sanitize_title( $chapter2 );
     216                if( !empty( $chapter3 ) ) $this->chapter3 = sanitize_title( $chapter3 );
    214217                if( !empty( $name = get_post_meta ($post_id, $this->prefix . 'name', true ) ) ) $this->name = sanitize_title( $name );
    215218                break;
  • at-internet/trunk/readme.txt

    r1631784 r1728777  
    1212== Description ==
    1313
    14 AT Internet SmartTag allows you to automatically track your Wordpress website with [AT Internet] (http://atinternet.com "AT Internet") solution.
     14AT Internet SmartTag allows you to automatically track your Wordpress website with [AT Internet](http://atinternet.com "AT Internet") solution.
    1515
    1616== Installation ==
     
    1919
    20201. Download the plugin via WordPress.org
    21 1. Upload the ZIP file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard
    22 1. Activate the plugin through the 'Plugins' menu in WordPress
     212. Upload the ZIP file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard
     223. Activate the plugin through the 'Plugins' menu in WordPress
    2323
    2424== Screenshots ==
     
    3131
    3232== Changelog ==
     33
     34= 0.1.2 =
     35* 2017-09-12
     36* Bug fix
    3337
    3438= 0.1.1 =
Note: See TracChangeset for help on using the changeset viewer.