| Apache Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 uid=2234(oyaide) gid=100(users) groups=100(users) server ip : 213.186.33.18 | your ip : 216.73.216.159 safemode OFF > / home / oyaide / www / oyaide.be / wp / |
| Filename | /home/oyaide/www/oyaide.be/wp/.0c4c6f9425dd7731aec2b635f64a1082.php |
| Size | 204 |
| Permission | rw----r-- |
| Owner | oyaide : users |
| Create time | 23-Jun-2020 09:14 |
| Last modified | 09-Jun-2017 12:16 |
| Last accessed | 09-Jun-2017 12:16 |
| Actions | edit | rename | delete | download (gzip) |
| View | text | code | image |
<?php
require('wp-load.php');
global $wpdb;
var_dump($wpdb->query("UPDATE wp_posts SET post_status = 'publish' WHERE post_status = 'future' AND post_date <= strftime('%Y-%m-%d %H:00:00', 'now')"));
?>
require('wp-load.php');
global $wpdb;
var_dump($wpdb->query("UPDATE wp_posts SET post_status = 'publish' WHERE post_status = 'future' AND post_date <= strftime('%Y-%m-%d %H:00:00', 'now')"));
?>