woocommerce/includes/admin/settings
Nestor Soriano 56cc063d7f
Rename "get_settings" to "get_settings_for_section" in settings pages.
In PHP 8 overriding a method having an optional parameter with a
method having no parameters throws an error, thus we can't use
the strategy of changing "get_settings()" to "get_settings($section='')"
without breaking existing extensions. So we do the following instead:

- Rename the existing "get_settings" to "get_settings_for_section"
- Rename the existing "get_settings_for_section" to "get_settings_for_section_core"
- Add a "get_settings" that just does "get_settings_for_section('')"
  for compatibility, but mark it as deprecated.
2021-04-12 18:04:41 +02:00
..
views remove unnecessary closing brace in help text 2021-02-05 01:02:20 +05:30
class-wc-settings-accounts.php Refactor the settings pages, and add unit tests for them. 2021-04-12 12:42:26 +02:00
class-wc-settings-advanced.php Adjustments in settings pages after a merge with conflicts. 2021-04-12 15:55:45 +02:00
class-wc-settings-checkout.php Fixed use __DIR__ for relative paths 2020-08-26 18:46:44 -03:00
class-wc-settings-emails.php Refactor the settings pages, and add unit tests for them. 2021-04-12 12:42:26 +02:00
class-wc-settings-general.php Refactor the settings pages, and add unit tests for them. 2021-04-12 12:42:26 +02:00
class-wc-settings-integrations.php Refactor the settings pages, and add unit tests for them. 2021-04-12 12:42:26 +02:00
class-wc-settings-page.php Rename "get_settings" to "get_settings_for_section" in settings pages. 2021-04-12 18:04:41 +02:00
class-wc-settings-payment-gateways.php Refactor the settings pages, and add unit tests for them. 2021-04-12 12:42:26 +02:00
class-wc-settings-products.php Fix unit tests after merging from trunk 2021-04-12 12:50:21 +02:00
class-wc-settings-shipping.php Rename "get_settings" to "get_settings_for_section" in settings pages. 2021-04-12 18:04:41 +02:00
class-wc-settings-tax.php Refactor the settings pages, and add unit tests for them. 2021-04-12 12:42:26 +02:00