#41912 closed defect (bug) (duplicate)
PHPDoc in JSCode
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.8.1 |
| Component: | Login and Registration | Keywords: | |
| Focuses: | javascript, administration | Cc: |
Description
Found while troubleshooting wp-login.php issues.
At lines 967-973,
PHP doc comment for filter enable_login_autofocus copy/pasted outside php tags.
/** * Filters whether to print the call to `wp_attempt_focus()` on the login screen. * * @since 4.8.0 * * @param bool $print Whether to print the function call. Default true. */
Itself harmless as /* ... */ is also multiline comment in JavaScript, but is it place for it?
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @Butuzov, welcome to WordPress Trac!
Thanks for the report, this was already fixed in #41176.