[wp-trac] [WordPress Trac] #28499: plugins_url() documentation doesn't mention it works for mu-plugins
WordPress Trac
noreply at wordpress.org
Wed Jun 11 04:00:44 UTC 2014
#28499: plugins_url() documentation doesn't mention it works for mu-plugins
-------------------------------------+-------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Plugins | Version: 2.8
Severity: normal | Resolution:
Keywords: needs-codex needs-patch | Focuses: docs
-------------------------------------+-------------------
Changes (by DrewAPicture):
* keywords: needs-codex has-patch => needs-codex needs-patch
* milestone: Awaiting Review => 4.0
Comment:
Hi, thanks for the patch. I've been playing around a little with the
language and can't quite decide how to approach it.
I think the short description is fine as-is (well, besides capitalizing
'URL'). The mu-plugins directory only comes into play when `$plugin` is
supplied, so that information is best reflected in the long description.
I'd like to see the additional information about `$plugin` and `$path`
(excluding the mu-plugins info above) live within the parameter
descriptions instead of in the long description. Also, it's unclear
whether `$path` is appended to the end of the combined base + plugin URL,
or after the base but before the plugin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28499#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list