[wp-trac] [WordPress Trac] #42670: Symlinked plugin makes plugin_basename function return wrong basename
WordPress Trac
noreply at wordpress.org
Mon Oct 3 23:30:57 UTC 2022
#42670: Symlinked plugin makes plugin_basename function return wrong basename
----------------------------------------------------+---------------------
Reporter: sergiienko | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Plugins | Version: 4.9
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch needs-testing | Focuses:
----------------------------------------------------+---------------------
Comment (by ironprogrammer):
In [https://core.trac.wordpress.org/attachment/ticket/42670/42670.2.diff
42670.2.diff], refreshes patch from @brianhenryie:
- Adjust spacing for WPCS standards in `plugin.php`.
- Use `assertSame()` in unit test.
- Add assertion failure message.
- Update test for readability.
Thank you, @brianhenryie!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42670#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list