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

disable_comments_options value saved with nested array #152

Open
DevZakariaElkashef opened this issue Jan 9, 2025 · 1 comment
Open

Comments

@DevZakariaElkashef
Copy link

Hi, i have an issue in the disable_comments_options in my options, it suppose to have a key call disabled_post_types has list of my post types, BUT the problem somehow it stores as nested array
i need to know why this happen ?
my disable_comments_options is:

[
'sitewide_settings' => false,
'disabled_post_types' => [
'disabled_post_types' => [
0 => 'post',
1 => 'page',
2 => 'attachment',
],
'remove_everywhere' => true,
'extra_post_types' => false,
'db_version' => 7,
'sitewide_settings' => false,
],
'remove_everywhere' => false,
'extra_post_types' => false,
'db_version' => 7,
]

@abid112
Copy link
Contributor

abid112 commented Jan 14, 2025

Hi there,

We tried to reproduce the issue on our end, but we were unable to replicate it.

Could you please provide us with step-by-step instructions to reproduce this so that we can investigate further and assist you?

Thank you!

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

No branches or pull requests

2 participants