Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50159, comment 17


Ignore:
Timestamp:
05/14/2020 03:08:38 PM (5 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50159, comment 17

    initial v1  
    55
    66Are you using SimplePie cache for what looks like a sensitive feed (https://wordpress.org/news/category/development/feed/) ?
    7 
    8 
    9 
    10 Replying to [comment:14 arena]:
    11 > Yes, i have noticed that too. This is a replication of the samples provided by SimplePie.
    12 >
    13 > This transient has a 12 hours lifetime by default and if deprecated will be erased by appropriate wp-cron job 'delete_expired_transients'.
    14 >
    15 > I also changed some class names and added 2 new files
    16 >
    17 > Replying to [comment:12 afragen]:
    18 > > You have also changed the transient names.
    19 > >
    20 > >
    21 > > {{{
    22 > > 54                          $this->name     = 'feed_' . $filename;
    23 > > 55                          $this->mod_name = 'feed_mod_' . $filename;
    24 > > }}}
    25 > >
    26 > > to
    27 > >
    28 > >
    29 > > {{{
    30 > >
    31 > > 54                  $this->name     = 'feed_' . md5( "$filename:$extension" );
    32 > > 55                  $this->mod_name = 'feed_mod_' . md5( "$filename:$extension" );
    33 > >
    34 > > }}}
    35 > >
    36 > > This particular item will cause an issue for me.
    37 > > https://github.com/afragen/wordpress-beta-tester/blob/develop/src/WPBT/WPBT_Beta_RC.php#L520-L522