WordPress/wp-content/themes
hellofromTonya 68e0c5e520 Code Modernization: Fix parameter name mismatches for parent/child classes in WP_Widget::update().
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.
Built from https://develop.svn.wordpress.org/trunk@51789


git-svn-id: http://core.svn.wordpress.org/trunk@51396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-09 20:13:57 +00:00
..
twentyeleven Bundled Themes: Version Bump 2010, 2011 and 2012. 2021-07-26 03:15:00 +00:00
twentyfifteen Bundled Themes: Bump bundled theme versions for WordPress 5.8. 2021-07-18 23:05:00 +00:00
twentyfourteen Code Modernization: Fix parameter name mismatches for parent/child classes in WP_Widget::update(). 2021-09-09 20:13:57 +00:00
twentynineteen Docs: Synchronize documentation for wp_get_attachment_image_attributes filter callbacks in bundled themes: 2021-08-12 19:30:57 +00:00
twentyseventeen Twenty Seventeen: Add support for wa.me links in Social Links menu. 2021-08-16 12:51:01 +00:00
twentysixteen Docs: Synchronize documentation for wp_get_attachment_image_attributes filter callbacks in bundled themes: 2021-08-12 19:30:57 +00:00
twentyten Bundled Themes: Remove redundant semicolons after closing curly brackets. 2021-08-05 13:25:58 +00:00
twentythirteen Twenty Thirteen: Correct indentation in image.php template. 2021-08-05 14:38:57 +00:00
twentytwelve Bundled Themes: Version Bump 2010, 2011 and 2012. 2021-07-26 03:15:00 +00:00
twentytwenty Code Modernization: Fix last parameter name mismatches for parent/child classes in Walker::start_el(). 2021-09-09 12:39:59 +00:00
twentytwentyone Coding Standards: Use static closures when not using $this. 2021-08-26 12:59:02 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00