-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
Pods 3.2.7.1 #7365
Pods 3.2.7.1 #7365
Conversation
PR Summary
|
@@ -2038,7 +2038,7 @@ public function get_callouts() { | |||
|
|||
// Handle callouts logic. | |||
$callouts['access_rights'] = ! isset( $callouts['access_rights'] ) || $callouts['access_rights'] ? 1 : 0; | |||
$callouts['friends_2023_docs'] = ! isset( $callouts['friends_2023_docs'] ) || $callouts['friends_2023_docs'] || $force_callouts ? 1 : 0; | |||
$callouts['friends_2024_docs'] = ! isset( $callouts['friends_2024_docs'] ) || $callouts['friends_2024_docs'] || $force_callouts ? 1 : 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[phpcs] reported by reviewdog 🐶Squiz.PHP.DisallowInlineIf.Found
Inline IF statements are not allowed
@@ -17,7 +17,7 @@ | |||
<div class="pods-field__container pods-field-option <?php echo esc_attr( $row_classes ); ?>" | |||
style="<?php echo esc_attr( 'hidden' == $field['type'] ? 'display:none;' : '' ); ?>"> | |||
<?php if ( 'heading' === $field['type'] ) : ?> | |||
<?php $heading_tag = pods_v( $field['type'] . '_tag', $field, isset( $heading_tag ) ? $heading_tag : 'h2', true ); ?> | |||
<?php $heading_tag = PodsField_Heading::get_heading_tag( $field, 'h2' ); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[phpcs] reported by reviewdog 🐶WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$heading_tag".
@@ -17,7 +17,7 @@ | |||
<li class="pods-field__container pods-field-option <?php echo esc_attr( $row_classes ); ?>" | |||
style="<?php echo esc_attr( 'hidden' == $field['type'] ? 'display:none;' : '' ); ?>"> | |||
<?php if ( 'heading' === $field['type'] ) : ?> | |||
<?php $heading_tag = pods_v( $field['type'] . '_tag', $field, isset( $heading_tag ) ? $heading_tag : 'h2', true ); ?> | |||
<?php $heading_tag = PodsField_Heading::get_heading_tag( $field, 'h2' ); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[phpcs] reported by reviewdog 🐶WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$heading_tag".
@@ -16,7 +16,7 @@ | |||
?> | |||
<div class="pods-field__container pods-field-option" style="<?php echo esc_attr( 'hidden' == $field['type'] ? 'display:none;' : '' ); ?>"> | |||
<?php if ( 'heading' === $field['type'] ) : ?> | |||
<?php $heading_tag = pods_v( $field['type'] . '_tag', $field, isset( $heading_tag ) ? $heading_tag : 'h2', true ); ?> | |||
<?php $heading_tag = PodsField_Heading::get_heading_tag( $field, 'h2' ); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[phpcs] reported by reviewdog 🐶WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$heading_tag".
@@ -18,7 +18,7 @@ | |||
<tr valign="top" class="pods-field__container pods-field-option <?php echo esc_attr( $row_classes ); ?>" | |||
style="<?php echo esc_attr( 'hidden' == $field['type'] ? 'display:none;' : '' ); ?>"> | |||
<?php if ( 'heading' === $field['type'] ) : ?> | |||
<?php $heading_tag = pods_v( $field['type'] . '_tag', $field, isset( $heading_tag ) ? $heading_tag : 'h2', true ); ?> | |||
<?php $heading_tag = PodsField_Heading::get_heading_tag( $field, 'h2' ); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[phpcs] reported by reviewdog 🐶WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$heading_tag".
Automated changes by create-pull-request GitHub action