WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #50159, comment 23


Ignore:
Timestamp:
05/14/2020 02:45:00 PM (16 months ago)
Author:
afragen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50159, comment 23

    v1 v2  
    3030SimplePie is capable of using several different methods of creating the hash used in the transient. The default  SimplePie `cache_name_function = 'md5'`. Your patch will have the effect of
    3131{{{
    32 $transient = md5( 'file_' . md5( $filename:$extension ) );
     32$transient = 'file_' . md5( md5( $filename:$extension ) ) );
    3333}}}
    3434