[wp-trac] [WordPress Trac] #55647: Coding Standards fixes for WP 6.1
WordPress Trac
noreply at wordpress.org
Thu Jul 21 22:43:39 UTC 2022
#55647: Coding Standards fixes for WP 6.1
----------------------------+-------------------------------
Reporter: costdev | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"53756" 53756]:
{{{
#!CommitTicketReference repository="" revision="53756"
Coding Standards: Use `__DIR__` instead of `ABSPATH` in `wp-db.php`.
If the file is included directly outside of WordPress core, `ABSPATH` may
not be defined.
Follow-up to [53749], [53750], [53755].
See #56268, #55647.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55647#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list