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
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
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
class-wp-widget-media-gallery.php
class-wp-widget-media-image.php
class-wp-widget-media-video.php Widgets: Revert [47307]. 2020-02-18 18:19:06 +00:00
class-wp-widget-media.php
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
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
class-wp-widget-tag-cloud.php
class-wp-widget-text.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00