Make sure $meta_box['use_with_theme'] is checked for === true #3

Merged
merged 1 commit into from Feb 21, 2012

Conversation

Projects
None yet
2 participants
@blocka
Contributor

blocka commented Feb 21, 2012

Otherwise the third branch of this if statement will never run, because anything other than a falsy value is going to evaluate to true.

Making sure $meta_box['use_with_theme'] is actually true and false.
Otherwise the third branch of this if statement will never run, because anything other than a falsy value is going to evaluate to true.

bainternet added a commit that referenced this pull request Feb 21, 2012

Merge pull request #3 from blocka/master
Make sure $meta_box['use_with_theme'] is checked for === true

thanks for that :)

@bainternet bainternet merged commit 6e3b647 into bainternet:master Feb 21, 2012

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