Skip to content

Conversation

@ingeniumed
Copy link
Contributor

Description

This will lint the two common modules that were skipped out on, in the previous PR. It's mainly spacing changes really so it's safe to do so and I ensure this won't be ignored in the future.

Steps to Test

  • Use the screen options on the dashboard to enable/disable edit flow widgets
  • Use the help screen to ensure everything renders correctly
  • Preview posts with custom statuses

@ingeniumed ingeniumed requested a review from hanifn July 1, 2024 03:03
@ingeniumed ingeniumed self-assigned this Jul 1, 2024
Copy link
Contributor

@hanifn hanifn left a comment

Choose a reason for hiding this comment

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

Looks good. Just have a non-blocking question.

$url = trailingslashit(get_permalink()) . user_trailingslashit("$wp_rewrite->pagination_base/" . $i, 'single_paged');
else
$url = trailingslashit(get_permalink()) . user_trailingslashit($i, 'single_paged');
} else if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_on_front' ) == $post->ID ) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Have we ever decided between else if vs elseif? Because I think there have been a PR or 2 before this where we've changed else if to elseif. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't think so, though I'm not pedantic about that. I've always been used to writing else if hence why I stuck with it

@ingeniumed ingeniumed merged commit f994dd5 into develop Jul 2, 2024
@ingeniumed ingeniumed deleted the lint/remaining-php-code branch July 2, 2024 06:11
@GaryJones GaryJones added this to the Next patch milestone Dec 9, 2025
@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants