WordPress/wp-includes/widgets
Sergey Biryukov 38676936ba Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved.
This reduces the number of `WordPress.PHP.StrictInArray.MissingTrueStrict` issues from 486 to 50.

Includes minor code layout fixes for better readability.

See #49542.
Built from https://develop.svn.wordpress.org/trunk@47550


git-svn-id: http://core.svn.wordpress.org/trunk@47325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-05 03:02:11 +00:00
..
class-wp-nav-menu-widget.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget-archives.php Coding Standards: Rename `$d` parameter in various date/time functions to `$format` for clarity. 2020-02-14 00:07:07 +00:00
class-wp-widget-calendar.php
class-wp-widget-categories.php Widgets: Create a unique HTML ID for the `<ul>` element of Recent Comments widget if more than one instance is displayed on the page. 2020-02-25 19:29:06 +00:00
class-wp-widget-custom-html.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget-links.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-widget-media-audio.php Docs: Remove `@return void` from widget DocBlocks. 2020-01-10 00:30:05 +00:00
class-wp-widget-media-gallery.php Docs: Remove `@return void` from widget DocBlocks. 2020-01-10 00:30:05 +00:00
class-wp-widget-media-image.php Docs: Remove `@return void` from widget DocBlocks. 2020-01-10 00:30:05 +00:00
class-wp-widget-media-video.php Widgets: Revert [47307]. 2020-02-18 18:19:06 +00:00
class-wp-widget-media.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget-meta.php
class-wp-widget-pages.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-widget-recent-comments.php Widgets: Create a unique HTML ID for the `<ul>` element of Recent Comments widget if more than one instance is displayed on the page. 2020-02-25 19:29:06 +00:00
class-wp-widget-recent-posts.php Docs: Correct invalid hook docblock placement. 2019-10-27 19:35:01 +00:00
class-wp-widget-rss.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-widget-search.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget-tag-cloud.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget-text.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00