mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
In each child class, renames the parameter to match the parent's method signature. Why? PHP 8 introduces the ability to pass named arguments to function/method calls. This means the child and parent method signatures (i.e. parameter names) need to match. Adds @since to clearly specify why the change happened. Replaces the original with the variable name with within each method. Why? The new name is more specific and descriptive, which improves readability. Follow-up to [10782], [25090], [26556], [40640]. Props jrf, hellofromTonya, sergeybiryukov, azaozz, desrosj, johnbillion. See #51553. git-svn-id: https://develop.svn.wordpress.org/trunk@51789 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| class-wp-nav-menu-widget.php | ||
| class-wp-widget-archives.php | ||
| class-wp-widget-block.php | ||
| class-wp-widget-calendar.php | ||
| class-wp-widget-categories.php | ||
| class-wp-widget-custom-html.php | ||
| class-wp-widget-links.php | ||
| class-wp-widget-media-audio.php | ||
| class-wp-widget-media-gallery.php | ||
| class-wp-widget-media-image.php | ||
| class-wp-widget-media-video.php | ||
| class-wp-widget-media.php | ||
| class-wp-widget-meta.php | ||
| class-wp-widget-pages.php | ||
| class-wp-widget-recent-comments.php | ||
| class-wp-widget-recent-posts.php | ||
| class-wp-widget-rss.php | ||
| class-wp-widget-search.php | ||
| class-wp-widget-tag-cloud.php | ||
| class-wp-widget-text.php | ||