Skip to content

Check if $loop_orderby is set#53

Open
enderandpeter wants to merge 1 commit into
potch:masterfrom
enderandpeter:loop-orderby-isset
Open

Check if $loop_orderby is set#53
enderandpeter wants to merge 1 commit into
potch:masterfrom
enderandpeter:loop-orderby-isset

Conversation

@enderandpeter
Copy link
Copy Markdown

In functions.php line 974, the if statement that checks for the truthiness of $loop_orderby should use isset. Without this, an error appears in debug mode:
loop_orderby_error

Using isset is the less error-inducing way of checking if a variable is defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant