Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kirki_Helper::compare_values contains/in PHP warning if value doesn't exist in array [fix] #1828

Closed
CaptJiggly opened this issue Mar 11, 2018 · 1 comment

Comments

@CaptJiggly
Copy link

CaptJiggly commented Mar 11, 2018

Issue description:

Everything is working great (The simplifying is much more easy on the eyes as well), but there was one little issue I found (One line was needed to be exact).

array fix

Version used:

(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)

develop-branch

Using theme_mods or options?

N/A

Code to reproduce the issue (config + field(s))

The value/default value being an empty array.

@aristath
Copy link
Contributor

Good catch, I missed that one! 👍
Pushed a fix, should be ok now

aristath added a commit that referenced this issue Mar 17, 2018
* develop: (73 commits)
  fixes #1730
  fixes #1830
  GDPR: Load webfont-loader locally
  Update fonts
  fixes #1834
  Apply WordPress Coding Standards
  Update kirki-helper-class.md
  see #1797
  cleanup unused vars
  See #1807
  Additional fix for #1809
  fixes #1828
  fixes #1808
  fix #1814
  fix #1797
  fixes #1809
  Update sortable.md
  fixes #1787
  update webfonts & grunt
  changelog
  ...

# Conflicts:
#	modules/postmessage/class-kirki-modules-postmessage.php
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

No branches or pull requests

2 participants