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

Pods 3.2.8 #7347

Open
wants to merge 49 commits into
base: main
Choose a base branch
from
Open

Pods 3.2.8 #7347

wants to merge 49 commits into from

Conversation

PodsBot
Copy link
Collaborator

@PodsBot PodsBot commented Aug 31, 2024

Automated changes by create-pull-request GitHub action

Copy link

what-the-diff bot commented Aug 31, 2024

PR Summary

  • Updated Coding Standards
    The former coding standards used in the project, TribalScents, were replaced with the StellarWP standard. As part of this change, some rules were also excluded.

  • Changed dependencies
    The project no longer depends on "the-events-calendar/coding-standards". Instead, it now utilizes "stellarwp/coding-standards".

  • Improved Functionality in 'general.php'
    The pods_shortcode_run function has been updated to increase its reliability when assigning variables and checking conditions.

  • Version Upgrade
    The plugin, as well as the version in the package.json file and the stable tag version in the readme.txt, were all upgraded from 3.2.7 to 3.2.8-a-1.

  • Added Content Formatting Option in 'Base.php'
    A method, should_autop, was implemented to decide whether the wpautop (a function that automatically adds line breaks and paragraph tags to text) should be applied to block content output.

  • Enhanced Content Rendering in 'Field.php', 'Item_List.php', and 'Related_Item_List.php'
    The render method in these files now calls the previously mentioned should_autop method when determining how to format the content.

Copy link
Collaborator Author

@PodsBot PodsBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

phpcs

[phpcs] reported by reviewdog 🐶
PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
Public method name "Base::should_autop" is not in camel caps format

public function should_autop( $content, array $attributes = [] ): bool {


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionDeclaration.BraceOnSameLine
Opening brace should be on a new line

public function should_autop( $content, array $attributes = [] ): bool {


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

$should_autop = (


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

is_string( $content )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<div' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<ul' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<ol' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<h' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<p' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* Allow filtering whether to apply wpautop to the block content output.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* This is used for things like Field block render or List block render of the no items found message.


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 110 characters

* This is used for things like Field block render or List block render of the no items found message.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @since TBD


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @param bool $should_autop Whether to apply wpautop to the block content output.


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 98 characters

* @param bool $should_autop Whether to apply wpautop to the block content output.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @param string|mixed $content The content to determine whether to autop.


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 87 characters

* @param string|mixed $content The content to determine whether to autop.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @param array $attributes The Pods render attributes that will be used.


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 90 characters

* @param array $attributes The Pods render attributes that will be used.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

return (bool) apply_filters( 'pods_blocks_should_autop', $should_autop, $content, $attributes );


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 104 characters

return (bool) apply_filters( 'pods_blocks_should_autop', $should_autop, $content, $attributes );


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

if ( $this->should_autop( $content, $attributes ) ) {


[phpcs] reported by reviewdog 🐶
PEAR.ControlStructures.MultiLineCondition.SpacingAfterOpenBrace
First condition of a multi-line IF statement must directly follow the opening parenthesis

if ( $this->should_autop( $content, $attributes ) ) {


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
PEAR.ControlStructures.MultiLineCondition.SpacingAfterOpenBrace
First condition of a multi-line IF statement must directly follow the opening parenthesis

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 103 characters

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 88 characters

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
PEAR.ControlStructures.MultiLineCondition.SpacingAfterOpenBrace
First condition of a multi-line IF statement must directly follow the opening parenthesis

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 103 characters

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.TooLong
Line exceeds 85 characters; contains 88 characters

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

Copy link
Collaborator Author

@PodsBot PodsBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

phpcs

[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

$should_autop = (


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

is_string( $content )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<div' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<ul' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<ol' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<h' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

&& false === strpos( $content, '<p' )


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* Allow filtering whether to apply wpautop to the block content output.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* This is used for things like Field block render or List block render of the no items found message.


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.MaxExceeded
Line exceeds maximum limit of 100 characters; contains 110 characters

* This is used for things like Field block render or List block render of the no items found message.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @since TBD


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @param bool $should_autop Whether to apply wpautop to the block content output.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @param string|mixed $content The content to determine whether to autop.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

* @param array $attributes The Pods render attributes that will be used.


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

return (bool) apply_filters( 'pods_blocks_should_autop', $should_autop, $content, $attributes );


[phpcs] reported by reviewdog 🐶
Generic.Formatting.NoSpaceAfterCast.SpaceFound
A cast statement must not be followed by a space

return (bool) apply_filters( 'pods_blocks_should_autop', $should_autop, $content, $attributes );


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.MaxExceeded
Line exceeds maximum limit of 100 characters; contains 104 characters

return (bool) apply_filters( 'pods_blocks_should_autop', $should_autop, $content, $attributes );


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

if ( $this->should_autop( $content, $attributes ) ) {


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.MaxExceeded
Line exceeds maximum limit of 100 characters; contains 103 characters

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.Files.LineLength.MaxExceeded
Line exceeds maximum limit of 100 characters; contains 103 characters

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowTabIndent.TabsUsed
Spaces must be used to indent lines; tabs are not allowed

@sc0ttkclark sc0ttkclark marked this pull request as ready for review August 31, 2024 02:24
@sc0ttkclark sc0ttkclark marked this pull request as draft August 31, 2024 02:24
@pods-framework pods-framework deleted a comment from PodsBot Aug 31, 2024
Copy link
Collaborator Author

@PodsBot PodsBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

phpcs

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
Space after opening parenthesis of function call prohibited

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
Expected 0 spaces before closing parenthesis; 1 found

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
Space after opening parenthesis of function call prohibited

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
Expected 0 spaces before closing parenthesis; 1 found

if ( ! empty( $attributes['not_found'] ) && $this->should_autop( $attributes['not_found'] ) ) {


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
Space after opening parenthesis of function call prohibited

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
Expected 0 spaces before closing parenthesis; 1 found

$attributes['not_found'] = wpautop( $attributes['not_found'], $attributes );

<?php echo( $submit_from_linked ? 'class="hidden"' : '' ); ?>>
<h2 class="pods-wizard-one-click-actions-heading"><?php esc_html_e( 'One-Click Extend', 'pods' ); ?></h2>
<ul class="pods-wizard-one-click-actions">
<?php foreach ( $quick_actions as $quick_action_key => $quick_action ) : ?>
Copy link
Collaborator Author

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: "$quick_action_key".

<?php echo( $submit_from_linked ? 'class="hidden"' : '' ); ?>>
<h2 class="pods-wizard-one-click-actions-heading"><?php esc_html_e( 'One-Click Extend', 'pods' ); ?></h2>
<ul class="pods-wizard-one-click-actions">
<?php foreach ( $quick_actions as $quick_action_key => $quick_action ) : ?>
Copy link
Collaborator Author

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: "$quick_action".

Copy link
Collaborator Author

@PodsBot PodsBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

phpcs

[phpcs] reported by reviewdog 🐶
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'.

echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [


[phpcs] reported by reviewdog 🐶
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'.

echo PodsForm::field( 'role_name', pods_v( 'role_name', 'post' ), 'slug', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line

echo PodsForm::field( 'role_name', pods_v( 'role_name', 'post' ), 'slug', [


[phpcs] reported by reviewdog 🐶
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'.

echo PodsForm::field( 'role_name', pods_v( 'role_name', 'post' ), 'slug', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_name', pods_v( 'role_name', 'post' ), 'slug', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_name', pods_v( 'role_name', 'post' ), 'slug', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_name', pods_v( 'role_name', 'post' ), 'slug', [


[phpcs] reported by reviewdog 🐶
Squiz.PHP.EmbeddedPhp.ContentAfterOpen
Opening PHP tag must be on a line by itself

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'.

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$capability'.

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'.

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [


[phpcs] reported by reviewdog 🐶
StellarWP.XSS.EscapeOutput.OutputNotEscaped
Expected next thing to be an escaping function (see Codex for 'Data Validation'), not '$obj'

echo $obj->message( wp_kses_post( $message ) );


[phpcs] reported by reviewdog 🐶
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'.

echo $obj->message( wp_kses_post( $message ) );


[phpcs] reported by reviewdog 🐶
WordPressVIPMinimum.Security.ProperEscapingFunction.htmlAttrNotByEscHTML
Wrong escaping function. HTML attributes should be escaped by esc_attr(), not by esc_html_e().

<input type="submit" name="publish" id="publish" class="button-primary" value="<?php esc_html_e( 'Save', 'pods' ); ?>" accesskey="p" />


[phpcs] reported by reviewdog 🐶
Squiz.Strings.EchoedStrings.HasBracket
Echoed strings should not be bracketed

<div class="pods-wizard-option<?php echo ( ! empty( $quick_actions ) ? ' pods-wizard-option-with-secondary' : '' ); ?>">


[phpcs] reported by reviewdog 🐶
StellarWP.XSS.EscapeOutput.OutputNotEscaped
Expected next thing to be an escaping function (see Codex for 'Data Validation'), not '!'

<div class="pods-wizard-option<?php echo ( ! empty( $quick_actions ) ? ' pods-wizard-option-with-secondary' : '' ); ?>">


[phpcs] reported by reviewdog 🐶
Squiz.PHP.DisallowInlineIf.Found
Inline IF statements are not allowed

<div class="pods-wizard-option<?php echo ( ! empty( $quick_actions ) ? ' pods-wizard-option-with-secondary' : '' ); ?>">


[phpcs] reported by reviewdog 🐶
Squiz.Strings.EchoedStrings.HasBracket
Echoed strings should not be bracketed

<?php echo ( $submit_from_linked ? 'class="hidden"' : '' ); ?>>


[phpcs] reported by reviewdog 🐶
StellarWP.XSS.EscapeOutput.OutputNotEscaped
Expected next thing to be an escaping function (see Codex for 'Data Validation'), not '$submit_from_linked'

<?php echo ( $submit_from_linked ? 'class="hidden"' : '' ); ?>>


[phpcs] reported by reviewdog 🐶
Squiz.PHP.DisallowInlineIf.Found
Inline IF statements are not allowed

<?php echo ( $submit_from_linked ? 'class="hidden"' : '' ); ?>>

<ul>
<?php
foreach ( $post_types as $post_type ) {
$post_type_name = pods_var_raw( 'name', $post_type );
$post_type_label = pods_var_raw( 'label', $post_type, ucwords( str_replace( '_', ' ', $post_type_name ) ) );
$post_type_name = pods_v( 'name', $post_type );
Copy link
Collaborator Author

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: "$post_type_name".

$post_type_name = pods_var_raw( 'name', $post_type );
$post_type_label = pods_var_raw( 'label', $post_type, ucwords( str_replace( '_', ' ', $post_type_name ) ) );
$post_type_name = pods_v( 'name', $post_type );
$post_type_label = pods_v( 'label', $post_type, ucwords( str_replace( '_', ' ', $post_type_name ) ) );
Copy link
Collaborator Author

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: "$post_type_label".

?>
<li>
<div class="pods-field pods-boolean">
<?php
echo PodsForm::field( 'post_type[' . $post_type_name . ']', pods_var_raw( 'post_type[' . $post_type_name . ']', 'post', true ), 'boolean', [
echo PodsForm::field( 'post_type[' . $post_type_name . ']', pods_v( 'post_type[' . $post_type_name . ']', 'post', true ), 'boolean', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'.

?>
<li>
<div class="pods-field pods-boolean">
<?php
echo PodsForm::field( 'post_type[' . $post_type_name . ']', pods_var_raw( 'post_type[' . $post_type_name . ']', 'post', true ), 'boolean', [
echo PodsForm::field( 'post_type[' . $post_type_name . ']', pods_v( 'post_type[' . $post_type_name . ']', 'post', true ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line

?>
<li>
<div class="pods-field pods-boolean">
<?php
echo PodsForm::field( 'post_type[' . $post_type_name . ']', pods_var_raw( 'post_type[' . $post_type_name . ']', 'post', true ), 'boolean', [
echo PodsForm::field( 'post_type[' . $post_type_name . ']', pods_v( 'post_type[' . $post_type_name . ']', 'post', true ), 'boolean', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$post_type_name'.

?>
<li>
<?php
echo PodsForm::field( 'taxonomy[' . $taxonomy_name . ']', pods_var_raw( 'taxonomy[' . $taxonomy_name . ']', 'post', true ), 'boolean', [
echo PodsForm::field( 'taxonomy[' . $taxonomy_name . ']', pods_v( 'taxonomy[' . $taxonomy_name . ']', 'post', true ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

@@ -321,9 +325,9 @@

$capabilities = $this->get_capabilities();

$params->capabilities = (array) pods_var_raw( 'capabilities', $params, array() );
$params->capabilities = (array) pods_v( 'capabilities', $params, array() );
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.Arrays.DisallowLongArraySyntax.Found
Short array syntax must be used to define arrays


$params->custom_capabilities = (array) pods_var_raw( 'custom_capabilities', $params, array() );
$params->custom_capabilities = (array) pods_v( 'custom_capabilities', $params, array() );
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
Generic.Arrays.DisallowLongArraySyntax.Found
Short array syntax must be used to define arrays

echo PodsForm::field( 'role_label', pods_var_raw( 'role_label', 'post' ), 'text', [
'class' => 'pods-validate pods-validate-required',
'disable_dfv' => true,
echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'.

echo PodsForm::field( 'role_label', pods_var_raw( 'role_label', 'post' ), 'text', [
'class' => 'pods-validate pods-validate-required',
'disable_dfv' => true,
echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line

echo PodsForm::field( 'role_label', pods_var_raw( 'role_label', 'post' ), 'text', [
'class' => 'pods-validate pods-validate-required',
'disable_dfv' => true,
echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'.

echo PodsForm::field( 'role_label', pods_var_raw( 'role_label', 'post' ), 'text', [
'class' => 'pods-validate pods-validate-required',
'disable_dfv' => true,
echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_label', pods_var_raw( 'role_label', 'post' ), 'text', [
'class' => 'pods-validate pods-validate-required',
'disable_dfv' => true,
echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

echo PodsForm::field( 'role_label', pods_var_raw( 'role_label', 'post' ), 'text', [
'class' => 'pods-validate pods-validate-required',
'disable_dfv' => true,
echo PodsForm::field( 'role_label', pods_v( 'role_label', 'post' ), 'text', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

'attributes' => [ 'data-sluggable' => 'role_label' ],
'class' => 'pods-validate pods-validate-required pods-slugged-lower',
'disable_dfv' => true,
echo PodsForm::field( 'role_name', pods_v( 'role_name', 'post' ), 'slug', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'.

@@ -90,7 +88,7 @@
$zebra = ( ! $zebra );
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

@@ -90,7 +88,7 @@
$zebra = ( ! $zebra );
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
<?php echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

@@ -21,11 +21,11 @@

$message = sprintf( __( '<strong>Success!</strong> %1$s %2$s successfully.', 'pods' ), $obj->item, $action );

echo $obj->message( $message );
echo $obj->message( wp_kses_post( $message ) );
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
StellarWP.XSS.EscapeOutput.OutputNotEscaped
Expected next thing to be an escaping function (see Codex for 'Data Validation'), not '$obj'

@@ -21,11 +21,11 @@

$message = sprintf( __( '<strong>Success!</strong> %1$s %2$s successfully.', 'pods' ), $obj->item, $action );

echo $obj->message( $message );
echo $obj->message( wp_kses_post( $message ) );
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'.


<div class="inside">
<div class="submitbox" id="submitpost">
<div id="minor-publishing">
<div id="major-publishing-actions">
<div id="publishing-action">
<img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
<input type="submit" name="publish" id="publish" class="button-primary" value="<?php _e( 'Save', 'pods' ); ?>" accesskey="p" />
<input type="submit" name="publish" id="publish" class="button-primary" value="<?php esc_html_e( 'Save', 'pods' ); ?>" accesskey="p" />
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
WordPressVIPMinimum.Security.ProperEscapingFunction.htmlAttrNotByEscHTML
Wrong escaping function. HTML attributes should be escaped by esc_attr(), not by esc_html_e().

ui/js/jquery.pods.js Fixed Show fixed Hide fixed
ui/js/jquery.pods.js Fixed Show fixed Hide fixed
ui/js/jquery.pods.js Fixed Show fixed Hide fixed
ui/js/jquery.pods.js Fixed Show fixed Hide fixed
ui/js/jquery.pods.js Fixed Show fixed Hide fixed
ui/js/jquery.pods.js Dismissed Show dismissed Hide dismissed
ui/js/jquery.pods.js Dismissed Show dismissed Hide dismissed
@@ -99,7 +99,7 @@
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'.

@@ -99,7 +99,7 @@
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
Opening parenthesis of a multi-line function call must be the last content on the line

@@ -99,7 +99,7 @@
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$capability'.

@@ -99,7 +99,7 @@
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

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.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'.

@@ -99,7 +99,7 @@
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

@@ -99,7 +99,7 @@
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

@@ -99,7 +99,7 @@
?>
<li class="pods-zebra-<?php echo esc_attr( $class ); ?>" data-capability="<?php echo esc_attr( $capability ); ?>">
<?php
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_var_raw( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
echo PodsForm::field( 'capabilities[' . $capability . ']', pods_v( 'capabilities[' . $capability . ']', 'post', $checked ), 'boolean', [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.MultipleArguments
Only one argument is allowed per line in a multi-line function call

</a>
</div>

<div class="pods-wizard-option">
<div class="pods-wizard-option<?php echo ! empty( $quick_actions ) ? ' pods-wizard-option-with-secondary' : ''; ?>">
Copy link
Collaborator Author

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


<?php if ( ! empty( $quick_actions ) ) : ?>
<div id="pods-wizard-quick-actions"
<?php echo $submit_from_linked ? 'class="hidden"' : ''; ?>>
Copy link
Collaborator Author

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

@@ -569,6 +567,14 @@
</div>
</div>
</div>

<div id="pods-wizard-quick-actions-saving-in-progress"
<?php echo ! $submit_from_linked ? 'class="hidden"' : ''; ?>>
Copy link
Collaborator Author

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

@sc0ttkclark sc0ttkclark marked this pull request as ready for review September 14, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants