Saving the wrong Flickr set when updating a post

  • Problem
  • Updated 4 years ago
With my installation of AutoFocus Pro the flickr_set value wasn't correctly checked in the Choose Flickr Set drop down selection menu. This resulted in always saving the last Flickr set when updating a post. Changing the following in autofocus-post-meta.php resolved the problem:

Change line 161 in autofocuspro/extensions/autofocus-post-meta.php from

ID, 'flickr_set', true ) == (int)$photoset["id"] ) { echo 'selected'; }?>>

to

ID, 'flickr_set', true) == $photoset["id"]) { echo 'selected'; }?>>

I hope this can be included in a future release.

Thanks!
Remco
Photo of Remco RakersRR

Remco Rakers

  • 27 Posts
  • 1 Reply Like
  • undecided

Posted 4 years ago

  • 1
Photo of e7ephunkE

e7ephunk

  • 26 Posts
  • 0 Reply Likes
Hi I tried this...and it doesn't seem to work.

Steps.
Click the check box,
Select the set.
Save draft.

The set reverts back to the first set I created and never saves the set I want.

Thanks for the help!