wordpress-develop/src/wp-includes/widgets
Sergey Biryukov 0b4e2c4604 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@47550 602fd350-edb4-49c9-b593-d223f7449a82
2020-04-05 03:00:44 +00:00
..
class-wp-nav-menu-widget.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +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:05:43 +00:00
class-wp-widget-calendar.php I18N: Correct encoding for wp-includes/widgets/class-wp-widget-calendar.php, accidentally saved in ANSI instead of UTF-8. 2019-06-05 15:08:42 +00:00
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:27:22 +00:00
class-wp-widget-custom-html.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +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:00:44 +00:00
class-wp-widget-media-audio.php Docs: Remove @return void from widget DocBlocks. 2020-01-10 00:28:10 +00:00
class-wp-widget-media-gallery.php Docs: Remove @return void from widget DocBlocks. 2020-01-10 00:28:10 +00:00
class-wp-widget-media-image.php Docs: Remove @return void from widget DocBlocks. 2020-01-10 00:28:10 +00:00
class-wp-widget-media-video.php Widgets: Revert [47307]. 2020-02-18 18:17:53 +00:00
class-wp-widget-media.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-widget-meta.php Accessibility: Remove title attributes from the Meta widget. 2019-08-03 13:27:43 +00:00
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:00:44 +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:27:22 +00:00
class-wp-widget-recent-posts.php Docs: Correct invalid hook docblock placement. 2019-10-27 19:33:12 +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:00:44 +00:00
class-wp-widget-search.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-widget-tag-cloud.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-widget-text.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00