File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/packages/forms/src/contact-form Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1477,7 +1477,7 @@ public function unread_count() {
1477
1477
* @return int The count of unread feedback entries.
1478
1478
*/
1479
1479
public static function get_unread_count () {
1480
- return (int ) get_option ( 'feedback_unread_count_v2 ' , 0 );
1480
+ return (int ) get_option ( 'jetpack_feedback_unread_count ' , 0 ); // previously defaulted named "feedback_unread_count".
1481
1481
}
1482
1482
1483
1483
/**
@@ -1489,7 +1489,7 @@ public static function get_unread_count() {
1489
1489
*/
1490
1490
public static function recalculate_unread_count () {
1491
1491
$ count = Feedback::get_unread_count ();
1492
- update_option ( 'feedback_unread_count_v2 ' , $ count );
1492
+ update_option ( 'jetpack_feedback_unread_count ' , $ count );
1493
1493
return $ count ;
1494
1494
}
1495
1495
You can’t perform that action at this time.
0 commit comments