[wp-trac] [WordPress Trac] #59731: Count function inside of the loop not allowed as per phpcs rules
WordPress Trac
noreply at wordpress.org
Wed Oct 25 12:18:37 UTC 2023
#59731: Count function inside of the loop not allowed as per phpcs rules
-------------------------+-------------------------------------------------
Reporter: mihirdev21 | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch | Focuses: coding-standards, php-
| compatibility
-------------------------+-------------------------------------------------
Changes (by mihirdev21):
* status: new => closed
* resolution: => invalid
Comment:
Replying to [comment:2 SergeyBiryukov]:
> Hi there, welcome to WordPress Trac! Thanks for the ticket.
>
> Please note that `wp-includes/rss.php` is a former external library
(MagpieRSS). It does not follow the WordPress coding standards, which is
why it is [source:tags/6.3.2/phpcs.xml.dist?marks=124#L113 excluded from
PHPCS checks].
Hello there @SergeyBiryukov
got it...thank you so much for the quick reply! Have a great rest of the
day! : )
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59731#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list