Files
wordpress-develop/src/wp-includes/class-wp-widget.php
Sergey Biryukov 794a136dd2 Coding Standards: Simplify the logic in WP_Widget::get_field_name() and ::get_field_id().
Includes minor code layout fixes for better readability.

Follow-up to [41292], [50953], [50961].

Props 5ubliminal, solarissmoke, tamlyn, jdgrimes, jorbin, stevenkword, drebbits.web, westonruter, jipmoors, justinahinon, helen, lukecarbis, Mte90, hellofromTonya, SergeyBiryukov.
See #16773, #52627.

git-svn-id: https://develop.svn.wordpress.org/trunk@51070 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-04 10:46:22 +00:00

18 KiB