WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #21218


Ignore:
Timestamp:
07/11/12 14:39:29 (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21218

    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
    • Property Milestone changed from Awaiting Review to
  • Ticket #21218 – Description

    initial v5  
    1 When using plugin_dir_url( __FILE__ ) or plugins_url( __FILE__ ) in a plugin with PHP 5.2.17 the absolute filepath is included in the URL string. In both cases the functions include the absolute filepath before the plugin directory name and after http://host/wp-content/plugins. 
     1When using `plugin_dir_url( __FILE__ )` or `plugins_url( __FILE__ )` in a plugin with PHP 5.2.17 the absolute filepath is included in the URL string. In both cases the functions include the absolute filepath before the plugin directory name and after http://host/wp-content/plugins. 
    22 
    3 for example in PHP 5.2 
    4 http://mydomain.com/wp-content/plugins/my-plugin  
    5 would become  
     3for example in PHP 5.2 [[BR]] 
     4http://mydomain.com/wp-content/plugins/my-plugin [[BR]] 
     5would become [[BR]] 
    66http://mydomain.com/wp-content/plugins/home/fileowner/public_html/wp-content/plugins/my-plugin/ 
    77