Changes between Initial Version and Version 1 of Ticket #43489
- Timestamp:
- 03/07/2018 06:36:13 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43489
- Property Keywords needs-patch added
-
Property
Version
changed from
trunk
to
-
Ticket #43489 – Description
initial v1 7 7 This can lead to the following: 8 8 9 Warning: strpos(): Empty needle in C:\apache\htdocs\hm\wp-includes\plugin.php on line 658. 9 `Warning: strpos(): Empty needle in C:\apache\htdocs\hm\wp-includes\plugin.php on line 658.` 10 10 11 11 This message has the uncanny knack of happening at the most inappropriate times. … … 18 18 19 19 This change will prevent the warning message being issued from plugin_basename()'s test 20 ``` 20 {{{ 21 21 if ( strpos( $file, $realdir ) === 0 ) { 22 ``` 22 }}} 23 23 24 24 and therefore increases the robustness of the system. 25 25 26 26 Bottom line. 27 - realpath()may return false.27 - `realpath()` may return false. 28 28 - This should be catered for. 29 29