Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support additional properties in add/update #292

Open
dshanske opened this issue May 1, 2023 · 2 comments
Open

Support additional properties in add/update #292

dshanske opened this issue May 1, 2023 · 2 comments

Comments

@dshanske
Copy link
Member

dshanske commented May 1, 2023

https://github.com/indieweb/wordpress-micropub/blob/trunk/includes/class-micropub-endpoint.php#L520

@chrisbergr reported dshanske/simple-location#271 but this is actually the fact that the Micropub endpoint only supports two categories for adding or updating properties.

I can't remember why @snarfed and I left it like that, but it seems that we have a use case to fix the limitation.

@chrisbergr
Copy link

@dshanske To understand this correctly: the plugin only allows updates of the values "category" and "syndication" of a post, but because in this case a "photo" is passed, it fails?

If that's the case, I'm surprised I'm bringing the first usecase here :)

@dshanske
Copy link
Member Author

dshanske commented May 5, 2023

Yes, it doesn't do it. I completely forgot we never implemented it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants