暂无描述

crowdsignal.php 815B

123456789101112131415161718192021222324
  1. <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
  2. /**
  3. * Fallback for the Crowdsignal Plugin.
  4. *
  5. * The PollDaddy/Crowdsignal prior to v. 2.033 called Jetpack_Sync as long as the Jetpack class was present. This stub is provided to prevent any fatals for older versions of the plugin.
  6. * This was resolved in 2016, but need to do just a little research before ripping it out.
  7. *
  8. * @see https://github.com/Automattic/crowdsignal-plugin/commit/941fc5758152ebf860a14d1cd0058245e8aed86b
  9. *
  10. * @package automattic/jetpack
  11. */
  12. /**
  13. * Stub of Jetpack_Sync for Crowdsignal.
  14. */
  15. class Jetpack_Sync {
  16. /**
  17. * Stub of sync_options to prevent fatals for Crowdsignal.
  18. */
  19. public static function sync_options() {
  20. _deprecated_function( __METHOD__, 'jetpack-4.2', 'jetpack_options_whitelist filter' );
  21. }
  22. }