Make WordPress Core

Ticket #28499: 28499.diff

File 28499.diff, 1.3 KB (added by ericlewis, 12 years ago)
  • wp-includes/link-template.php

    diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
    index 739d6bb..12d74a1 100644
    a b function content_url($path = '') { 
    26262626}
    26272627
    26282628/**
    2629  * Retrieve the url to the plugins directory or to a specific file within that directory.
    2630  * You can hardcode the plugin slug in $path or pass __FILE__ as a second argument to get the correct folder name.
     2629 * Retrieve the url to the plugins directory, or a specific directory under plugins
     2630 * or mu-plugins.
     2631 *
     2632 * When a $plugin is supplied, the directory containing the referenced file will be
     2633 * appended to the base URL.
     2634 *
     2635 * When a $path is supplied, it will be appended to the URL.
    26312636 *
    26322637 * @since 2.6.0
    26332638 *
    2634  * @param string $path Optional. Path relative to the plugins url.
    2635  * @param string $plugin Optional. The plugin file that you want to be relative to - i.e. pass in __FILE__
    2636  * @return string Plugins url link with optional path appended.
     2639 * @param  string $path   Optional. Path appended to the URL.
     2640 * @param  string $plugin Optional. The plugin path that the URL will be relative to.
     2641 *                        Typically this is done by passing `__FILE__`
     2642 * @return string         Plugins url link with optional path appended.
    26372643*/
    26382644function plugins_url($path = '', $plugin = '') {
    26392645