Skip to content

Wp 5251 post layout#420

Open
DivyaNarhe411 wants to merge 4 commits intocyberchimps:WP-5251-post-layoutfrom
DivyaNarhe411:WP-5251-post-layout
Open

Wp 5251 post layout#420
DivyaNarhe411 wants to merge 4 commits intocyberchimps:WP-5251-post-layoutfrom
DivyaNarhe411:WP-5251-post-layout

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