Skip to content

Conversation

@DivyaNarhe411
Copy link
Contributor

PR Request Template

Common Checks

  • No PHPCS issues related to the files in the PR
  • Self-testing is done
  • Appropriate comments are added in the code
  • There are no error_log statements
  • There are no unnecessary console log statements
  • Changelog is updated if required
  • Version no is updated if required
  • All best practices are followed, and code doesn't contain any deprecated code/methods
  • There are no console errors due to your code

<?php foreach ( $valid_layouts as $slug => $name ) { ?>
<?php $selected = selected( $layout, $slug, false ); ?>
<option value="<?php echo esc_html( $slug ); ?>" <?php echo esc_html( $selected ); ?>><?php echo esc_html( $name ); ?></option>
<<option value="<?php echo esc_html( $slug ); ?>" <?php echo wp_kses_post( $selected ); ?>><?php echo esc_html( $name ); ?></option>
Copy link
Contributor

Choose a reason for hiding this comment

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

double <<

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

Successfully merging this pull request may close these issues.

2 participants