Ticket #30315: 30315.5.diff
File 30315.5.diff, 1.1 KB (added by , 11 years ago) |
---|
-
wp-includes/widgets.php
131 131 * 132 132 * This function should be used in form() methods to create id attributes for fields to be saved by update() 133 133 * 134 * @since 2.8.0 135 * 134 136 * @param string $field_name Field name 135 137 * @return string ID attribute for $field_name 136 138 */ … … 215 217 * 216 218 * Finds the instance and calls {@see WP_Widget::widget()}. 217 219 * 220 * @since 2.8.0 218 221 * @access public 219 222 * 220 223 * @param array $args Display arguments. See {@see WP_Widget::widget()} for information … … 272 275 * 273 276 * Do NOT over-ride this function. 274 277 * 278 * @since 2.8.0 279 * 275 280 * @param mixed $deprecated Not used. 276 281 */ 277 282 public function update_callback( $deprecated = 1 ) { … … 353 358 * Generate the control form. 354 359 * 355 360 * Do NOT over-ride this function. 361 * 362 * @since 2.8.0 356 363 */ 357 364 public function form_callback( $widget_args = 1 ) { 358 365 if ( is_numeric($widget_args) )