Skip to content

Commit

Permalink
Release Verbum with GB Blocks to 30% (#35255)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Grullon <agrullon95@gmail.com>
  • Loading branch information
alshakero and agrullon95 committed Jan 25, 2024
1 parent 76a55b3 commit 4cd528b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Change Verbum Blocks sample size to 30%
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ public function should_load_gutenberg_comments() {
$has_blocks_flag = has_blog_sticker( 'verbum-block-comments', $blog_id );
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
$gutenberg_query_param = isset( $_GET['verbum_gutenberg'] ) ? intval( $_GET['verbum_gutenberg'] ) : null;
// This will release to 10% of sites.
$blog_in_10_percent = $blog_id % 100 >= 90;
// This will release to 30% of sites.
$blog_in_10_percent = $blog_id % 100 >= 70;
// phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$is_proxied = isset( $_SERVER['A8C_PROXIED_REQUEST'] )
? sanitize_text_field( wp_unslash( $_SERVER['A8C_PROXIED_REQUEST'] ) )
Expand Down

0 comments on commit 4cd528b

Please sign in to comment.