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

Wp 5251 post layout #420

Open
wants to merge 4 commits into
base: WP-5251-post-layout
Choose a base branch
from

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

@@ -197,12 +194,27 @@ function responsive_layout_meta_box() {
<select name="_responsive_layout">
<?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