Change basic settings of comment options

I don’t understand arguments over nuances about what a CMS is. WP and CP are systems that manage content. So they are CMSs by definition. Some of you might argue that others do it differently or better, but that’s irrelevant to this point.

As a CMS, having comments on by default is bizarre. We should actually have everything possible off by default, so the site owner can then turn on what they need. That’s really the whole basis of the idea of core plugins. So this petition gets my vote.

5 Likes

OK. I’m starting to get a feeling of support on this one. I have a PR ready to go so will submit it and see where it goes from there.

Thanks for comments everyone. :+1:

I’ll add a bit more perspective. There is a petition with decent support to remove the commenting system from the core into a core plugin. That should be the ultimate goal, I think.

I’m fine with that as an ultimate goal. I just see this an an “interim measure”. :wink:

Also I assume that would be in v2 and it may be that some users prefer/need to stay with v1?

No, that will be in later versions. Some work was done on core plugins, but not on the commenting system. Core plugins for v2 are still up in the air for now.

1 Like

I agree with Joy on this. If we disable comments by default, we need to give users an ability to enable them during installation process.

@anon71687268 how hard would it be to include a checkbox to enable comments on the installation screen? Something like this:

I haven’t looked at that code in 3 years. :laughing: It was a mishmash of PHP/HTML and it wreaked havoc on my IDE and it wasn’t fun code to work on. And, IIRC, there were no tests for that code, so, it took a whole lot of tedious manual testing, thoughts, and prayers to get it done. I’m sure it wouldn’t be a huge effort, if someone wanted to take it on.

1 Like

Sorry, I’m not understanding why. What’s the difference between ticking a box on installation, and ticking it later in settings? There are a whole heap of other settings that need to be configured as well. Membership, file upload arrangements, homepage settings, the week starting day, etc. Why is this one different?

Or is there something else that happens on setup that relates to comments being enabled?

2 Likes

This is different behavior from WordPress. But I can be wrong, just my 2 cents.

That’s fine - always happy to get 2c from you. I have actually submitted the PR now so I guess the debate will continue over there. I don’t mind at all if someone wants to add that step into the installation process but @anon71687268 isn’t exactly doing the hard-sell on taking on the job. :laughing:

2 Likes

So, I did a thing :grin: I wanted to see if I can do it and it looks like I was able to add a checkbox to the installation screen and it works. Checking the box enables comments, leaving it empty keeps comments disabled. I followed search engine visibility checkbox and its implementation.

Changes to wp-admin/install.php and wp-admin/includes/upgrade.php. Do make the change to schema.php file to close comments by default. Hopefully, an actual expert can confirm if it’s right. Note, I didn’t add @param to the comments.

It’s 3am here. I wouldn’t be surprised if I’m dreaming.

3 Likes

I agree it makes sense to disable comments by default for new installations.

I don’t see the need to add a new checkbox to the installation screen for this. I don’t think it’s important enough to justify requiring people to make yet another decision before getting the site up and running.

(On a separate topic, I would also say the same for the “Allow search engines to index this site” checkbox during installation, because I don’t know a great reason for this to appear during installation either, but that one has already been there for years.)

5 Likes

IMO, we need to embrace things like this, rather than trying to mold everything after WordPress and The WordPress Way. :slight_smile:

3 Likes

Yes, v2 and up. Version 1 is supposed to be drop-in replacement. Adding new stuff doesn’t change existing behavior, but modifying existing features does. That deviates from “instantly familiar” tagline.

I would argue that “instantly familiar” is not the same as “exactly identical.”

3 Likes

I never said we shouldn’t make changes. We just need to be careful makings changes to v1 and ensure we’re not confusing or frustrating users.

I know. Of course, it can’t be ignored that those who have been confused and frustrated are the ones wondering why comments are enabled by default. :wink:

3 Likes

To me the biggest pain for comments on by default is that, if you for get to turn them off before you create a site, is that images can get spam comments not just posts, and you then need to go to every image to turn them off. So for me off by default and be able to turn on on a per page/post basis.

1 Like