Changeset 941326
- Timestamp:
- 07/01/2014 03:09:36 AM (12 years ago)
- Location:
- wp-flickr-embed/trunk
- Files:
-
- 2 edited
-
include/class.constants.php (modified) (1 diff)
-
wp-flickr-embed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-flickr-embed/trunk/include/class.constants.php
r714899 r941326 2 2 3 3 interface WPFlickrEmbed_Constants { 4 const FLICKR_API_URI = 'http://api.flickr.com/services/rest/?';5 4 const FLICKR_API_KEY = '3f02754ebb3a1fb2d79f62200d3744e0'; 6 5 const FLICKR_SECRET = '4af3a6dcd49af4a7'; -
wp-flickr-embed/trunk/wp-flickr-embed.php
r718405 r941326 156 156 157 157 // 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 )); 159 161 160 162 header("Content-type: application/json"); … … 235 237 236 238 237 public function getFlickrApiUrl() {238 return WpFlickrEmbed_Flickr::API_ENDPOINT;239 }240 241 242 239 public function getSignRequestApiUrl() { 243 240 return sprintf('%s?%s=', trailingslashit($this->getSiteHomeUrl()), self::SIGN_URL_PARAM_NAME);
Note: See TracChangeset
for help on using the changeset viewer.