Make WordPress Core

Opened 7 years ago

Closed 4 years ago

#44583 closed enhancement (fixed)

Invalid comment for wp_ajax_update_widget()

Reported by: burhandodhy's profile burhandodhy Owned by: sergeybiryukov's profile 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 7 years ago.
Update file
44583.patch (360 bytes) - added by burhandodhy 7 years ago.
44583.1.patch (372 bytes) - added by sabernhardt 4 years ago.

Download all attachments as: .zip

Change History (7)

@burhandodhy
7 years ago

Update file

@burhandodhy
7 years ago

#1 @burhandodhy
6 years ago

  • Keywords has-patch added

@sabernhardt
4 years ago

#2 @sabernhardt
4 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
4 years 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
4 years 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.