Make WordPress Core

Changeset 50372


Ignore:
Timestamp:
02/17/2021 11:46:35 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the type of $widget_id argument in is_active_widget().

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets.php

    r49963 r50372  
    881881 *
    882882 * @param callable|false $callback      Optional. Widget callback to check. Default false.
    883  * @param int|false      $widget_id     Optional. Widget ID. Optional, but needed for checking.
     883 * @param string|false   $widget_id     Optional. Widget ID. Optional, but needed for checking.
    884884 *                                      Default false.
    885885 * @param string|false   $id_base       Optional. The base ID of a widget created by extending WP_Widget.
Note: See TracChangeset for help on using the changeset viewer.