Plugin Directory

Changeset 941326


Ignore:
Timestamp:
07/01/2014 03:09:36 AM (12 years ago)
Author:
randomaniac
Message:
Location:
wp-flickr-embed/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-flickr-embed/trunk/include/class.constants.php

    r714899 r941326  
    22
    33interface WPFlickrEmbed_Constants {
    4     const FLICKR_API_URI = 'http://api.flickr.com/services/rest/?';
    54    const FLICKR_API_KEY = '3f02754ebb3a1fb2d79f62200d3744e0';
    65    const FLICKR_SECRET = '4af3a6dcd49af4a7';
  • wp-flickr-embed/trunk/wp-flickr-embed.php

    r718405 r941326  
    156156
    157157                // get signed call
    158                 $ret = $this->flickrAPI->getSignedUrlParams($json->method, get_object_vars($json));
     158                $ret = $this->flickrAPI->getSignedUrlParams($json->method, get_object_vars($json), array(
     159                    'use_secure_api' => TRUE
     160                ));
    159161
    160162                header("Content-type: application/json");
     
    235237
    236238
    237     public function getFlickrApiUrl() {
    238         return WpFlickrEmbed_Flickr::API_ENDPOINT;
    239     }
    240 
    241 
    242239    public function getSignRequestApiUrl() {
    243240        return sprintf('%s?%s=', trailingslashit($this->getSiteHomeUrl()), self::SIGN_URL_PARAM_NAME);
Note: See TracChangeset for help on using the changeset viewer.