fgilio
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Redirection not cleaning logsOnce I erased +2GB worth of logs from the database. No, it’s not a typo.
Forum: Plugins
In reply to: [WP REST API (WP API)] regex for routesGood question!
Hi guys! Is there anything I can do about this?
Forum: Plugins
In reply to: [Sunny] Lots of PHP NoticesHi Tang, any news about this?
Forum: Plugins
In reply to: [Contact Form 7] Bug report with preg_match – email validationI’m dealing with this wight now…
Apparently there is also an issue with PHP 5.5.25, as stated here: https://github.com/PHPMailer/PHPMailer/issues/429
Forum: Fixing WordPress
In reply to: do_pings cron bloating my databaseI have the same problem. And also with “wpseo_ping_search_engines”
Forum: Plugins
In reply to: [Admin Menu Manager] Feature Suggestion: Export and ImportHi Pascal, thanks for taking your time. I’ll continue this in the GitHub issue.
I’m having a similar problem.
Forum: Plugins
In reply to: [Busted!] url rewriting instead of query stringIt’d be nice!
Forum: Plugins
In reply to: [Sunny] Postboxes not expanding or collapsing on click outside of SunnyI’d be great
Forum: Plugins
In reply to: [Stream] Logs everything 6 hours agoSincerely, I don’t really know why date_default_timezone_set() was there in the first place… since the Timezone field under Settings > General was, and has always been, ok.
I do remember that we where having some problems when echoing the post publish time. But maybe it was because of another plugin we ended up removing, which were quite a few.Anyway, thank you very much for helping us solve this problem! Even when it was not because of Stream.
Forum: Plugins
In reply to: [Stream] Logs everything 6 hours agoHi Frankie!
I’ve been with little time lately, so haven’t had the opportunity to test it all. Thank you for further investigating this.
I think I’ve found the problem, but don’t know how to fix it. Web have this in our functions.php:
date_default_timezone_set('America/Argentina/Buenos_Aires'); setlocale(LC_TIME, "es_ES");
So yeah, ‘date_default_timezone_set(‘America/Argentina/Buenos_Aires’);’ is what makes Stream time travel.
We are using that so that we can echo the post time like this:
<time class="post_time" datetime="<?php the_time('Y-m-d H:i'); ?>"><?php the_time('j M'); ?> <?php the_time('g.i'); ?></time>
Now I think we are doing things quite wrong…
Should we use somethink like ‘get_post_time(‘Y-m-d H:i’);’, ‘get_post_time(‘j M’);’ and ‘get_post_time(‘g.i’);’ and remove that line from functions.php?Honestly, I’m new to get_post_time() and don’t really know if it’s what we need. I’m testing it right now.
Thanks,
FGForum: Plugins
In reply to: [WordPress Popular Posts] Feature Request: Time range in hoursThanks!
Forum: Plugins
In reply to: [Custom Upload Folders Plus] Feature Request: Uploads by day/weekWell.. I meant month-number, not week-number. Sorry, my bad.
Aaaand yes, the second example is how WP manages it right now. Which with lots of files feels like Sparta.
Forum: Plugins
In reply to: [Custom Upload Folders Plus] Feature Request: Uploads by day/weekYes, or it could be something like this:
Today’s date is: 29-03-2015
So: dev.yoursite.com/wp-content/uploads/2015/03/29/
AKA: dev.yoursite.com/wp-content/uploads/%year-number%/%week-number%/%day-number%/Or just:
So: dev.yoursite.com/wp-content/uploads/2015/03/
AKA: dev.yoursite.com/wp-content/uploads/%year-number%/%week-number%/I really think this should be included in core. Can’t see a reason against it. The folder structure would be immensely cleaner than current huge files clutter.
FG