Fix one_zero visibility

This commit is contained in:
Robin Cornett
2016-07-02 11:28:34 -04:00
parent 9948540e63
commit ab20236fe2
@@ -321,7 +321,7 @@ class Display_Featured_Image_Genesis_Helper {
* @param mixed $new_value Should ideally be a 1 or 0 integer passed in
* @return integer 1 or 0.
*/
protected function one_zero( $new_value ) {
public function one_zero( $new_value ) {
return (int) (bool) $new_value;
}
}