Make WordPress Core

Ticket #30430: wp-deep-copy-withclass.diff

File wp-deep-copy-withclass.diff, 1.1 KB (added by jamesgol, 2 years ago)

Updated patch with changes from 2/2020

  • wp-includes/class-wp-object-cache.php

    ��
    263263
    264264                if ( is_object( $data ) ) {
    265265                        $data = clone $data;
     266
     267
    266268                }
    267269
    268270                $this->cache[ $group ][ $key ] = $data;
     
    561563                }
    562564                echo '</ul>';
    563565        }
     566
     567
     568
     569
     570
     571
     572
     573
     574
     575
     576
     577
     578
     579
     580
     581
     582
     583
     584
     585
     586
     587
     588
     589
     590
     591
     592
     593
    564594}