Title: megabulk2's Replies | WordPress.org

---

# megabulk2

  [  ](https://wordpress.org/support/users/megabulk2/)

 *   [Profile](https://wordpress.org/support/users/megabulk2/)
 *   [Topics Started](https://wordpress.org/support/users/megabulk2/topics/)
 *   [Replies Created](https://wordpress.org/support/users/megabulk2/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/megabulk2/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/megabulk2/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/megabulk2/engagements/)
 *   [Favorites](https://wordpress.org/support/users/megabulk2/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ActivityPub] How to remove inline CSS added to header](https://wordpress.org/support/topic/how-to-remove-inline-css-added-to-header/)
 *  [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/how-to-remove-inline-css-added-to-header/#post-17696620)
 * [@rghedin](https://wordpress.org/support/users/rghedin/) perfect, thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ActivityPub] How to remove inline CSS added to header](https://wordpress.org/support/topic/how-to-remove-inline-css-added-to-header/)
 *  [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/how-to-remove-inline-css-added-to-header/#post-17696259)
 * [@jeherve](https://wordpress.org/support/users/jeherve/) unfortunately that’s
   not working for me.
 * Activityhub puts CSS with ids “activitypub-followers-style-inline-css” and “activitypub-
   follow-me-style-inline-css” into the header and I can’t see how to disable them.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fluid Video Embeds] Does Fluid Video Embeds have any problems with Vimeo Pro?](https://wordpress.org/support/topic/does-fluid-video-embeds-have-any-problems-with-vimeo-pro/)
 *  [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/does-fluid-video-embeds-have-any-problems-with-vimeo-pro/#post-4230627)
 * It seems to me that Vimeo Pro is not returning values from the get_video_meta_from_url
   function. This line “$response = $this->cache_read( $cache_key );” returns a 
   404 not found. (I’m calling do_shortcode(‘[fve]https://vimeo.com/xxxxxxx{/fve]’)
   manually. Maybe that has something to do with it.) Thus the aspect ratio doesn’t
   get calculated correctly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Types Order] [Plugin: Post Types Order] Excluding galleries from post types order](https://wordpress.org/support/topic/plugin-post-types-order-excluding-galleries-from-post-types-order/)
 *  [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-types-order-excluding-galleries-from-post-types-order/#post-2926871)
 * Thanks for the solution, klas_e! That was driving me a little nuts.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[plugin: Subscribe2] Digest sent at UTC time, not at local blog time](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/)
 *  Thread Starter [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/#post-2159477)
 * Great, thanks much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[plugin: Subscribe2] Digest sent at UTC time, not at local blog time](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/)
 *  Thread Starter [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/#post-2159464)
 * Yes, `get_option('timezone_string')` returns “America/New_York”, which is correct
   for me. I also think that setting the correct timezone will allow PHP to try 
   to figure out whether Daylight Savings Time is in effect, so maybe that kills
   two birds. Great!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[plugin: Subscribe2] Digest sent at UTC time, not at local blog time](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/)
 *  Thread Starter [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/#post-2159463)
 * Ah, figured it out, I think. Your code is using `mktime($_POST['hour'], 0, 0,
   date('m', $time), date('d', $time), date('Y', $time));`
 * On my server, `date_default_timezone_get()` yields “UTC”
    `ini_get('date.timezone')`
   yields “America/Boise” (maybe that’s where the server’s located)
 * I’m pretty sure that you’ll need to set the timezone before calling mktime, with
   this: [http://www.php.net/manual/en/function.date-default-timezone-set.php](http://www.php.net/manual/en/function.date-default-timezone-set.php)
 * It looks like this code is what you need: [http://wordpress.stackexchange.com/questions/8400/how-to-get-wordpress-time-zone-setting](http://wordpress.stackexchange.com/questions/8400/how-to-get-wordpress-time-zone-setting)
 * So before calling mktime, I think you can just use `date_default_timezone_set(
   get_option('timezone_string'))`
 * I will give it a shot.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[plugin: Subscribe2] Digest sent at UTC time, not at local blog time](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/)
 *  Thread Starter [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/#post-2159462)
 * I think the problem is twofold. One’s that the scheduler isn’t respecting DST(
   and thanks for filing the bug report with WordPress).
 * The other is that your plugin is sending out the digest at UTC time, and not 
   at the blog time. I set your plugin to send out the digest at 5PM EST, and it
   gets sent out at 1PM EST, which is 5PM UTC. Then I set the plugin to send out
   the digest at 2PM EST, and it got sent out at 10AM EST, which is 2PM UTC.
 * See what I mean? I’m unsure whether this problem is with your plugin, or with
   WordPress, or with the server where my blog is hosted. I’ll keep playing with
   it and see if I can figure it out.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[plugin: Subscribe2] Digest sent at UTC time, not at local blog time](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/)
 *  Thread Starter [megabulk2](https://wordpress.org/support/users/megabulk2/)
 * (@megabulk2)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-subscribe2-digest-sent-at-utc-time-not-at-local-blog-time/#post-2159253)
 * Thanks for the speedy response. It’s also a bug in that it says, e.g., “Next 
   email notification will be sent when your blog time is after: 7.1.11 @ 2:00 pm”,
   but it should really say “Next email notification will be sent when the UTC time
   is after: 7.1.11 @ 2:00 pm”.
 * IOW, it’s *not* sending out the digest according to the blog time, even though
   it claims to.
 * I’m pretty sure that PHP’s date function can account for Daylight Savings Time
   in many cases… Or this might be of use: [http://docstore.mik.ua/orelly/webprog/pcook/ch03_13.htm](http://docstore.mik.ua/orelly/webprog/pcook/ch03_13.htm)
 * thanks!
    Jonathan

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