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

Make fields in metaboxes read-only #9

Open
szepeviktor opened this issue Feb 19, 2017 · 4 comments
Open

Make fields in metaboxes read-only #9

szepeviktor opened this issue Feb 19, 2017 · 4 comments
Assignees

Comments

@szepeviktor
Copy link

szepeviktor commented Feb 19, 2017

It would be nice to make them read-only by the HTML atribute readonly.

Would you welcome a PR?

@JJJ
Copy link
Contributor

JJJ commented Feb 20, 2017

I've thought about this a bit. I think there is a lot we can do here.

  • Editable fields should have capability checks on them
  • Some fields should probably be drop-down lists of registered objects where appropriate
  • Some fields should be read-only, where edits don't make sense (user agent, IP address, etc...)

@szepeviktor
Copy link
Author

szepeviktor commented Feb 20, 2017

Thanks.

where edits don't make sense

Could you give me an example where edits make sense in a log?

@JJJ
Copy link
Contributor

JJJ commented Jan 15, 2018

Would you welcome a PR?

Always!

Could you give me an example where edits make sense in a log?

When you're the admin of a WordPress site and WordPress Admin is the only way you have to edit everything that's saved in your database.

@JJJ JJJ added this to the 2.1.0 milestone Jan 15, 2018
@JJJ JJJ modified the milestones: 2.1.0, 2.2.0, 2.3.0 Mar 29, 2021
@JJJ JJJ removed this from the 2.3.0 milestone Mar 11, 2024
@JJJ
Copy link
Contributor

JJJ commented Mar 11, 2024

Still a valid idea, but will not be part of 2.3.0.

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

No branches or pull requests

2 participants