Adding comment about duplicate generate[d] parameter
This commit is contained in:
parent
62bd3190fb
commit
77ffb23f8a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/*
|
||||
Plugin Name: OpenPhoto for WordPress
|
||||
Version: %VERSION_NUMBER%
|
||||
Version: %VERSION_NUMBER%
|
||||
Plugin URI: https://github.com/openphoto/openphoto-wordpress
|
||||
Author: Randy Hoyt, Randy Jensen
|
||||
Author URI: http://amesburyweb.com/
|
||||
|
@ -61,7 +61,7 @@ class WP_OpenPhoto {
|
|||
if(!empty($m)) $parameters['tags'] = $m;
|
||||
if(!empty($pg)) $parameters['page'] = $pg;
|
||||
$parameters['generate'] = 'true';
|
||||
$parameters['generated'] = 'true';
|
||||
$parameters['generated'] = 'true'; // TODO: This parameter should not be needed and can be removed.
|
||||
$response = $client->get("/photos/list.json", $parameters);
|
||||
$response = json_decode($response);
|
||||
$photos = $response->result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue