Completed
Push — update/jpo-enable-widgets-no-l... ( 2af3e1 )
by
unknown
08:15
created
_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -1131,6 +1131,9 @@  discard block
 block discarded – undo
1131 1131
 		return false;
1132 1132
 	}
1133 1133
 
1134
+	/**
1135
+	 * @param string $widget_id
1136
+	 */
1134 1137
 	static function insert_widget_in_sidebar( $widget_id, $widget_options, $sidebar ) {
1135 1138
 		// Retrieve sidebars, widgets and their instances
1136 1139
 		$sidebars_widgets = get_option( 'sidebars_widgets', array() );
@@ -1150,6 +1153,9 @@  discard block
 block discarded – undo
1150 1153
 		update_option( 'widget_' . $widget_id, $widget_instances );
1151 1154
 	}
1152 1155
 
1156
+	/**
1157
+	 * @param string $widget_id
1158
+	 */
1153 1159
 	static function update_widget_in_sidebar( $widget_id, $widget_options, $sidebar ) {
1154 1160
 		// Retrieve sidebars, widgets and their instances
1155 1161
 		$sidebars_widgets = get_option( 'sidebars_widgets', array() );
Please login to merge, or discard this patch.