Duplicating parameter name, references #13
This commit is contained in:
parent
026e2217f2
commit
2811a1fd5c
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Plugin Name: OpenPhoto for WordPress
|
Plugin Name: OpenPhoto for WordPress
|
||||||
Version: 0.9.4
|
Version: 0.9.4.1
|
||||||
Plugin URI: https://github.com/openphoto/openphoto-wordpress
|
Plugin URI: https://github.com/openphoto/openphoto-wordpress
|
||||||
Author: Randy Hoyt, Randy Jensen
|
Author: Randy Hoyt, Randy Jensen
|
||||||
Author URI: http://cultivatr.com/
|
Author URI: http://cultivatr.com/
|
||||||
|
@ -56,6 +56,7 @@ class WP_OpenPhoto {
|
||||||
if(!empty($m)) $parameters['tags'] = $m;
|
if(!empty($m)) $parameters['tags'] = $m;
|
||||||
if(!empty($pg)) $parameters['page'] = $pg;
|
if(!empty($pg)) $parameters['page'] = $pg;
|
||||||
$parameters['generate'] = 'true';
|
$parameters['generate'] = 'true';
|
||||||
|
$parameters['generated'] = 'true';
|
||||||
$response = $client->get("/photos/list.json", $parameters);
|
$response = $client->get("/photos/list.json", $parameters);
|
||||||
$response = json_decode($response);
|
$response = json_decode($response);
|
||||||
$photos = $response->result;
|
$photos = $response->result;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue