[wp-trac] [WordPress Trac] #29058: Use wp_normalize_path() in plugins_url()

WordPress Trac noreply at wordpress.org
Tue Jul 29 14:35:01 UTC 2014


#29058: Use wp_normalize_path() in plugins_url()
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:
 Severity:  normal          |   Keywords:  needs-patch good-first-bug
  Focuses:                  |
----------------------------+----------------------------------------
 We do a bunch of string replacements in `plugins_url()`, see [28739].

 We can use `wp_normalize_path()` instead (introduced in [27158]), like we
 do in `plugin_basename()` and a few other places.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29058>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list