Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#55908 new defect (bug)

performing two identical actions in sequence produces different results

Reported by: xenon615 Owned by:
Priority: normal Milestone: Awaiting Review
Component: Taxonomy Version: 6.0
Severity: normal Keywords:
Cc: Focuses:

Description

Discovered today

<?php
$c1 = get_terms(['taxonomy' => 'product_cat']);
$c2 = get_terms(['taxonomy' => 'product_cat']);

$c1 not equal $c2 ($c2 unlike the $c1 contains empty terms)

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Component Cache API → Taxonomy

Hi there, welcome to WordPress Trac! Thanks for the ticket.

This appears to be the same underlying issue as in #55837 and #55887, could you test and confirm?

Note: See TracTickets for help on using tickets.