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

Account for password protected posts via protected_content feature #2408

Merged
merged 11 commits into from
Dec 3, 2021
Prev Previous commit
Add mapping change to 5.2 + lint on 7.0
  • Loading branch information
felipeelia committed Dec 3, 2021
commit 8e30ded2a4bd6d42fd9aa5247e2d7713919093bf
3 changes: 3 additions & 0 deletions includes/mappings/post/5-2.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@
'post_excerpt' => array(
'type' => 'text',
),
'post_password' => array(
'type' => 'text',
),
'post_content' => array(
'type' => 'text',
),
Expand Down
2 changes: 1 addition & 1 deletion includes/mappings/post/7-0.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
'post_excerpt' => array(
'type' => 'text',
),
'post_password' => array(
'post_password' => array(
'type' => 'text',
),
'post_content' => array(
Expand Down