HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/zaklada/wp-content/plugins/wordpress-seo/src/deprecated/admin/class-social-admin.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

/**
 * This class adds the Social tab to the Yoast SEO metabox and makes sure the settings are saved.
 *
 * @deprecated 14.6
 *
 * @codeCoverageIgnore
 */
class WPSEO_Social_Admin extends WPSEO_Metabox {

	/**
	 * Class constructor.
	 *
	 * @deprecated 14.6
	 *
	 * @codeCoverageIgnore
	 */
	public function __construct() {
		_deprecated_function( __METHOD__, 'WPSEO 14.6' );
	}

	/**
	 * Translate text strings for use in the meta box.
	 *
	 * IMPORTANT: if you want to add a new string (option) somewhere, make sure you add that array key to
	 * the main meta box definition array in the class WPSEO_Meta() as well!!!!
	 *
	 * @deprecated 14.6
	 *
	 * @codeCoverageIgnore
	 */
	public static function translate_meta_boxes() {
		_deprecated_function( __METHOD__, 'WPSEO 14.6' );
	}

	/**
	 * Returns the metabox section for the social settings.
	 *
	 * @deprecated 14.6
	 *
	 * @codeCoverageIgnore
	 *
	 * @return WPSEO_Metabox_Collapsibles_Sections
	 */
	public function get_meta_section() {
		_deprecated_function( __METHOD__, 'WPSEO 14.6' );

		return null;
	}

	/**
	 * Returns the Upgrade to Premium notice.
	 *
	 * @deprecated 14.6
	 *
	 * @codeCoverageIgnore
	 *
	 * @param string $network The social network.
	 *
	 * @return string The notice HTML on the free version, empty string on premium.
	 */
	public function get_premium_notice( $network ) {
		_deprecated_function( __METHOD__, 'WPSEO 14.6' );

		return 'class_social_admin';
	}

	/**
	 * Filter over the meta boxes to save, this function adds the Social meta boxes.
	 *
	 * @deprecated 14.6
	 *
	 * @codeCoverageIgnore
	 *
	 * @param array $field_defs Array of metaboxes to save.
	 *
	 * @return array
	 */
	public function save_meta_boxes( $field_defs ) {
		_deprecated_function( __METHOD__, 'WPSEO 14.6' );

		return [];
	}

	/**
	 * This method will compare opengraph fields with the posted values.
	 *
	 * When fields are changed, the facebook cache will be purged.
	 *
	 * @deprecated 14.6
	 *
	 * @codeCoverageIgnore
	 *
	 * @param WP_Post $post Post instance.
	 */
	public function og_data_compare( $post ) {
		_deprecated_function( __METHOD__, 'WPSEO 14.6' );
	}
}