WordPress/wp-content/themes/twentyfourteen/inc
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
..
back-compat.php Coding Standards: Remove a one-time $message variable in WordPress version requirement notices for bundled themes. 2021-06-15 15:24:58 +00:00
block-patterns.php Bundled Themes: Remove extra trailing spaces from translatable strings in block patterns. 2021-07-27 11:27:58 +00:00
custom-header.php Bundled Themes: Add / character to <img> tags. 2021-08-04 14:24:02 +00:00
customizer.php Docs: Consistently include an empty line between @since tag and @see, @link, or @global, per the documentation standards. 2020-06-16 21:07:14 +00:00
featured-content.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:26:13 +00:00
template-tags.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00
widgets.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_Widget::update(). 2021-09-09 20:13:57 +00:00