Title: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
Last modified: May 9, 2021

---

# wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php

 *  Resolved [gopa4](https://wordpress.org/support/users/gopa4/)
 * (@gopa4)
 * [5 years ago](https://wordpress.org/support/topic/wp-includes-rest-api-endpoints-class-wp-rest-posts-controller-php/)
 * Hello,
 * According to my scan is this file changed (I did not change it or maybe one of
   my plugins did? Is it possible?)
    wp-includes/rest-api/endpoints/class-wp-rest-
   posts-controller.php
 * Please [this screenshot](https://www.dropbox.com/s/npjqcddljtb2joi/class-wp-rest-posts-controller-php.png?dl=0)
 * I have found [this development code](https://github.com/WordPress/WordPress/blob/master/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php)
 * Is this a problem?
    I am still on WP 5.6.2
 * PS: There were [83 files](https://www.dropbox.com/s/q67ty686gsllzlf/Schermafbeelding%202021-05-09%20om%2020.08.05.png?dl=0)
   changed.
 * Was my website hacked? I successfully prepared all of them.
    Please your advice.
 * Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [WFAdam](https://wordpress.org/support/users/wfadam/)
 * (@wfadam)
 * [5 years ago](https://wordpress.org/support/topic/wp-includes-rest-api-endpoints-class-wp-rest-posts-controller-php/#post-14421897)
 * Hello [@gopa4](https://wordpress.org/support/users/gopa4/) and thanks for reaching
   out to us!
 * Thanks for providing all the information in your post!
 * If you’re still seeing WP 5.6.2 in the UI, the site was probably updated to 5.7
   and rolled back, but didn’t get done completely. Some hosts have done this in
   the past too if the site owner didn’t do it themselves. (Note in the second screenshot,
   there’s a line saying since 5.7.1 — meaning that line was added in 5.7.1.)
 * It might also be done by the host patching your 5.6.2 with security and/or bug
   fixes from a future version — it would be weird to update that many js files 
   at once though.
 * The JS changes look normal to me though.
 * Thanks again!
 *  [Piskatje](https://wordpress.org/support/users/piska/)
 * (@piska)
 * [5 years ago](https://wordpress.org/support/topic/wp-includes-rest-api-endpoints-class-wp-rest-posts-controller-php/#post-14425405)
 * Thank you!!!
 *  Thread Starter [gopa4](https://wordpress.org/support/users/gopa4/)
 * (@gopa4)
 * [5 years ago](https://wordpress.org/support/topic/wp-includes-rest-api-endpoints-class-wp-rest-posts-controller-php/#post-14433305)
 * [@wfadam](https://wordpress.org/support/users/wfadam/) Thank you!!!!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php’ is
closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [gopa4](https://wordpress.org/support/users/gopa4/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/wp-includes-rest-api-endpoints-class-wp-rest-posts-controller-php/#post-14433305)
 * Status: resolved