WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 5 months ago

#44583 closed enhancement (fixed)

Invalid comment for wp_ajax_update_widget()

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

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 3 years ago.
Update file
44583.patch (360 bytes) - added by burhandodhy 3 years ago.
44583.1.patch (372 bytes) - added by sabernhardt 5 months ago.

Download all attachments as: .zip

Change History (7)

@burhandodhy
3 years ago

Update file

@burhandodhy
3 years ago

#1 @burhandodhy
2 years ago

  • Keywords has-patch added

#2 @sabernhardt
5 months 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
5 months ago

  • Component changed from General to Widgets
  • Milestone changed from Awaiting Review to 5.6
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#4 @SergeyBiryukov
5 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

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.