WPIntell

Source evidence

Crashes unsupported blocks

Content Visibility · support · 2022-03-28T05:52:00+00:00

mixedsentiment
highseverity
0.77relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 35 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
shawfactor resolved
So your plugin was crashing some buddypress blocks when rendered in the backend as the attribute was not recognised by the rest api, I manged to get them working by doing this: //allow users to override visibility for members blocks add_filter(‘bp_members_register_blocks’, array($this,’allow_visibility_controls’), 10, 1); public function allow_visibility_controls($args){ foreach ( $args as $key => $value ) { $args[$key]['attributes']['contentVisibilityRules'] = 1; $args[$key]['attributes']['contentVisibility'] = 1; } return $args; } You porobablky have a much better solution though which you can add to your plugin. Hey @shawfactor thanks so much for reporting this. I’ll take a look and report back.

Comments

1 shown
Rich Tape 2022-03-28T15:57:00+00:00

Hey @shawfactor thanks so much for reporting this. I’ll take a look and report back.