Plugin Directory

Changeset 1360604


Ignore:
Timestamp:
02/29/2016 09:38:51 AM (10 years ago)
Author:
aheadzen
Message:

3.0.6

Location:
voter-plugin/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • voter-plugin/trunk/readme.txt

    r1357061 r1360604  
    425425= 3.0.5 =
    426426* author profile role related fix.
     427
     428= 3.0.6 =
     429* https not working  - solved.
  • voter-plugin/trunk/voter.php

    r1357061 r1360604  
    88Text Domain: aheadzen
    99Domain Path: /language
    10 Version: 3.0.5
     10Version: 3.0.6
    1111
    1212Copyright: © 2014-2015 ASK-ORACLE.COM
  • voter-plugin/trunk/voter_functions.php

    r1357061 r1360604  
    10301030    function aheadzen_get_current_page_url()
    10311031    {
    1032         return $redirect_to = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
     1032        if (is_ssl()) {$urlStarter='https://';}else{$urlStarter='http://';}     
     1033        $redirect_to = $urlStarter.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
     1034        return $redirect_to;
    10331035    }
    10341036    /**CLASS END**/
Note: See TracChangeset for help on using the changeset viewer.