Make WordPress Core


Ignore:
Timestamp:
03/10/2026 09:56:40 AM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct duplicate hook references in various files.

This commit adjusts cross-reference comments where the hook was moved to a different file but the cross-reference was not updated.

Props apermo, mukesh27.
See #64224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r61638 r61878  
    23832383    do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    23842384
    2385     /** This action is documented in wp-admin/widgets.php */
     2385    /** This action is documented in wp-admin/widgets-form.php */
    23862386    do_action( 'sidebar_admin_setup' );
    23872387
     
    24112411        );
    24122412
    2413         /** This action is documented in wp-admin/widgets.php */
     2413        /** This action is documented in wp-admin/widgets-form.php */
    24142414        do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base );
    24152415
     
    24872487    /** This action is documented in wp-admin/includes/ajax-actions.php */
    24882488    do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    2489     /** This action is documented in wp-admin/widgets.php */
     2489    /** This action is documented in wp-admin/widgets-form.php */
    24902490    do_action( 'sidebar_admin_setup' );
    24912491
Note: See TracChangeset for help on using the changeset viewer.