Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#55908 new defect (bug)

performing two identical actions in sequence produces different results

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

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
2 years ago

  • Component changed from Cache API to 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.