Skip to content

Commit 6b72ae0

Browse files
Remove wp-admin warning for Writing/Discussion settings (#35241)
* Remove wp-admin warning for Writing/Discussion settings * changelog
1 parent 40ce1c3 commit 6b72ae0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: other
3+
4+
Remove the dotcom warning for wp-admin in Writing and Discussion settings page

projects/plugins/jetpack/modules/masterbar/admin-menu/class-atomic-admin-menu.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,8 @@ public function add_settings_page_notice() {
494494

495495
// Show the notice for the following screens and map them to the Calypso page.
496496
$screen_map = array(
497-
'options-general' => 'general',
498-
'options-writing' => 'writing',
499-
'options-reading' => 'reading',
500-
'options-discussion' => 'discussion',
497+
'options-general' => 'general',
498+
'options-reading' => 'reading',
501499
);
502500

503501
$mapped_screen = isset( $screen_map[ $current_screen->id ] )

0 commit comments

Comments
 (0)