Skip to content

Commit 27a6524

Browse files
committed
Forgot a if statement.
1 parent 3483a7c commit 27a6524

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ReduxCore/framework.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,6 +2590,10 @@ public function _validate_values( $plugin_options, $options, $sections ) {
25902590
}
25912591

25922592
if( isset( $field['validate'] ) ) {
2593+
// Shim for deleted validation field
2594+
if ($field['validate'] == "colorrgba") {
2595+
$field['validate'] = "color_rgba";
2596+
}
25932597
$validate = 'Redux_Validation_' . $field['validate'];
25942598

25952599
if( !class_exists( $validate ) ) {

0 commit comments

Comments
 (0)