Create a new object of the RTMediaQuery class for every shortcode function.
In the older version, the shortcode render function used the same RTMediaQuery object for every shortcode which produces the wrong query for liked media and gave the older result.
Now, for every shortcode render, there is a new RTMediaQuery object to fix this.
Fix the liked media bug in the shortcode
Note
Please also check this PR first
Related issues
Related PRs