I think part of the reason for China relaxing the conditions for Russian wheat imports was lower than expected wheat crop in China this season.Some regions are using stuff (pesticide?) that's banned in China. But due to recent events they are forgiven for now.
This is not a free pass on Russia and I do not think it has anything to do with war situation.