Plugin Directory

Changeset 1253241 for querywall


Ignore:
Timestamp:
09/25/2015 09:31:45 AM (11 years ago)
Author:
4ley
Message:

FB link added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • querywall/trunk/querywall.php

    r1252877 r1253241  
    9292    public static function rate( $links, $file ) {
    9393        if ( plugin_basename( __FILE__ ) == $file ) {
    94             $url = 'http://wordpress.org/support/view/plugin-reviews/' . basename( dirname( __FILE__ ) ) . '?rate=5#postform';
    95             $links[] = '<a target="_blank" href="' . $url . '" title="Click here to rate and review this plugin on WordPress.org">Rate this plugin</a>';
     94            $wp_url = 'https://wordpress.org/support/view/plugin-reviews/' . basename( dirname( __FILE__ ) ) . '?rate=5#postform';
     95            $fb_url = 'https://www.facebook.com/QueryWall-Plugn-Play-Firewall-474820996034299/';
     96            $links[] = '<a target="_blank" href="' . $wp_url . '" title="Rate and review QueryWall on WordPress.org">Rate this plugin</a>';
     97            $links[] = '<a target="_blank" href="' . $fb_url . '" title="Visit QueryWall on Facebook">Visit on Facebook</a>';
    9698        }
    9799        return $links;
Note: See TracChangeset for help on using the changeset viewer.