Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#44583 closed enhancement (fixed)

Invalid comment for wp_ajax_update_widget()

Reported by: burhandodhy Owned by: SergeyBiryukov
Priority: normal Milestone: 5.6
Component: Widgets Version: 4.9.7
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

In ajax-actions.php, For the function

wp_ajax_update_widget()

following comment is used "Ajax handler for saving a widget." whereas it should be "Ajax handler for updating a widget." because this function is been used for updating the widget not to save the widget.

Attachments (3)

ajax-actions.php (132.1 KB ) - added by burhandodhy 8 years ago.
Update file
44583.patch (360 bytes ) - added by burhandodhy 8 years ago.
44583.1.patch (372 bytes ) - added by sabernhardt 6 years ago.

Download all attachments as: .zip

Change History (7)

@burhandodhy
8 years ago

Update file

@burhandodhy
8 years ago

#1 @burhandodhy
8 years ago

  • Keywords has-patch added

@sabernhardt
6 years ago

#2 @sabernhardt
6 years ago

  • Focuses docs added

@burhandodhy Thanks for the patch!

Yours applied to the src directory, but I re-saved it from the root.

#3 @SergeyBiryukov
6 years ago

  • Component GeneralWidgets
  • Milestone Awaiting Review5.6
  • Owner set to SergeyBiryukov
  • Status newreviewing

#4 @SergeyBiryukov
6 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 49071:

Docs: Correct description for wp_ajax_update_widget().

Follow-up to [28355].

Props burhandodhy, sabernhardt.
Fixes #44583.

Note: See TracTickets for help on using tickets.