Static pages: custom field problem

Creating and modifying plugins.
Post Reply
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Static pages: custom field problem

Post by Don Chambers »

Continuing my abuse of the static page custom fields, I just encountered another problem.

If I create/edit static page "X", then move onto static page "Y", the custom fields shown for "Y" (or any other subsequent static page view) are the values for the first one.

I can create them one at a time, and the proper values are being stored in the table, but when I edit one, even if I do not save anything, then move onto a different static page, the values for that first will be shown.... if I happen to save that latter static page, without having noticed that my custom fields had changed, I will then overwrite the values. It is as if the custom field values for that first static page viewed/edited (in admin mode, not front end) are cached, and carry forward to subsequent page views.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static pages: custom field problem

Post by garvinhicking »

Hi!

Thanks for reporting this, I hopefully just fixed it in 3.78.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Static pages: custom field problem

Post by Don Chambers »

Thanks Garvin - I have tested your modifications on 2 different installs. It seems to be working fine.
=Don=
Post Reply