Plugin Directory

Changeset 585495


Ignore:
Timestamp:
08/14/2012 07:24:33 PM (14 years ago)
Author:
itsalaska
Message:

Version 1.1:

User may now specify relative links such as "/" to allow support for multiple domain names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • facebook-wall-widget/tags/1.1/facebook-wall.php

    r585489 r585495  
    44Plugin URI: http://plugins.svn.wordpress.org/facebook-wall-widget/
    55Description: Provides a widget to insert Facebook wall iFrames in any widget area.
    6 Version: 1.0
     6Version: 1.1
    77Author: ITS Alaska
    88Author URI: http://www.itscanfixthat.com/
     
    4343        $data = get_option('its_facebook_wall');
    4444        $page = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    45         if($page==$data['page']){
     45        // Patched by daniel@itsalaska.com
     46        // Allows user to specify relative link to support multiple domain names
     47        if($page==$data['page'] || $_SERVER['REQUEST_URI']==$data['page']){
    4648            echo $args['before_widget'];
    4749            ?>
Note: See TracChangeset for help on using the changeset viewer.