justintadlock / custom-content-portfolio

A portfolio plugin.
GNU General Public License v2.0
99 stars 23 forks source link

url meta not saved #9

Closed samikeijonen closed 9 years ago

samikeijonen commented 9 years ago

I noticed weird issue on 1.0.0 branch. The project url meta is somehow not saved in database. The weird thing is that in multisite setup it did save but not basic setups.

justintadlock commented 9 years ago

I just rewrote the meta box code. Can you test this commit? https://github.com/justintadlock/custom-content-portfolio/commit/c9e7f671690c5055fab8daee41dd66585a5cf8c0

samikeijonen commented 9 years ago

I'll test it today.

samikeijonen commented 9 years ago

get_preview_post_link() is probably a new function for 4.4 but other than that it's working great.

justintadlock commented 9 years ago

Oops! Good catch on that function. I was just copying/pasting from core on the post updated messages. Yep, it's for 4.4: https://core.trac.wordpress.org/changeset/34170 I'll throw in a back-compat check.

Closing since this issue is now fixed.

samikeijonen commented 9 years ago

Thanks!