You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The orderby parameter is sanitized with sanitize_key() which ensures it's a lowercase string with no spaces. This prevents users from specifying multiple orderby parameters (see here).
We should convert this to an array (explode spaces) and sanitize the parts, so something like [display-posts orderby="menu_order title"] works.
The text was updated successfully, but these errors were encountered:
The
orderby
parameter is sanitized withsanitize_key()
which ensures it's a lowercase string with no spaces. This prevents users from specifying multiple orderby parameters (see here).We should convert this to an array (explode spaces) and sanitize the parts, so something like
[display-posts orderby="menu_order title"]
works.The text was updated successfully, but these errors were encountered: