Plugin / Blog Time

Scott Reilly

Changelog

Changelog

3.6 (2019-04-02)

  • Change: Use minimized version of Moment.js library to reduce resource usage
  • Change: Update Moment.js to v2.24.0
  • Change: Change handle for enqueuing Moment.js to allow only one copy of the library being enqueued now that WP packages the library
  • Change: Remove set_js_ajaxurl() and localize ajaxurl alongside other variables instead of outputting it directly
  • Change: Initialize plugin on plugins_loaded action instead of on load
  • Change: Merge do_init() into init()
  • Change: Update widget framework to 013
    • Add get_config() as a getter for config array
  • Change: Update widget to 008
    • Update to use v013 of the widget framework
  • Change: Cast return value of c2c_blog_time_toolbar_widget_for_user and c2c_blog_time_active_clock filters as boolean
  • Change: Ensure widget markup uses double-quotes rather than single-quotes for class attribute values
  • Unit tests:
    • Add unit test for add_widget()
    • Add unit tests for show_in_toolbar_for_user()
    • Add unit test for c2c_blog_time_active_clock filter
    • Add unit test for c2c_blog_time_toolbar_widget_for_user filter
    • Add unit tests for hooking of various actions
  • New: Add CHANGELOG.md file and move all but most recent changelog entries into it
  • New: Add inline documentation for hooks
  • Change: Use apply_filters_deprecated() when using the deprecated filter
  • Change: Note compatibility through WP 5.1+
  • Change: Update copyright date (2019)
  • Change: Update License URI to be HTTPS
  • Change: Split paragraph in README.md’s “Support” section into two

3.5.1 (2018-07-09)

  • Change: Update Moment.js to v2.22.2
  • New: Add README.md
  • New: Add GitHub link to readme
  • New: Add LICENSE file
  • Change: Minor whitespace tweaks to unit test bootstrap
  • Change: Rename readme.txt section from ‘Filters’ to ‘Hooks’
  • Change: Modify formatting of hook name in readme to prevent being uppercased when shown in the Plugin Directory
  • Change: Update installation instruction to prefer built-in installer over .zip file
  • Change: Note compatibility through WP 4.9+
  • Change: Update copyright date (2018)

3.5 (2017-01-21)

  • New: Add ability for dynamic clock to honor custom time format.
    • Package Moment.js (v2.17.1), a datatime library for JS.
    • Add map_php_time_format_to_momentjs() to remap PHP time format tokens to Moment.js time format tokens.
    • Simplify blog-time.js to defer time handling to Moment.js.
    • Make time format and UTC offset available for JS usage.
    • Output time format when customized (such as via widget or template tag) in markup for use by JS.
    • Remove documentation indicating dynamic clock does not honor custom time format.
  • New: Add clock dashicon before adminbar time widget.
  • Change: Determine the dynamic clock update time interval based on time format string to reduce update frequency when possible.
  • Change: Move CSS into enqueued file.
    • CSS is now in file css/blog-time.css.
    • Remove add_css().
  • Change: Extract time format related code out of display_time() and into new get_time_format().
  • Chnage: Add context to handlers for time format and display.
    • Add $context arg to get_format_time() and display_time().
    • Add $context arg to ‘c2c_blog_time_format’ filter.
    • Add ‘context’ as configuration parameter for add_widget().
    • Set context everywhere context can be set.
  • Change: Update widget framework to 012, bumping c2c_BlogTimeWidget to 007.
  • Bugfix: Add ‘.ab-item’ class to time link so it gets proper styles in adminbar when JS is disabled.
  • Change: Prevent dynamic adminbar clock from getting hover styling as if it were a link.
  • Change: Ensure linked timestamp in static widget does not abide by a:visited styling.
  • Change: Widget: Move register_c2c_BlogTimeWidget() to ‘c2c_BlogTimeWidget::register_widget()`.
  • Change: Sanitize the translated string used in an attribute.
  • Change: Enable more error output for unit tests.
  • Change: Default WP_TESTS_DIR to /tmp/wordpress-tests-lib rather than erroring out if not defined via environment variable.
  • Change: Note compatibility through WP 4.7+.
  • Change: Remove support for WordPress older than 4.6 (should still work for earlier versions though).
  • Change: Add ‘Template Tags’ section to FAQ.
  • Change: Minor inline documentation improvements and reformatting.
  • Change: Update copyright date (2017).
  • Change: Update both screenshots.

Full changelog is available in CHANGELOG.md.

Ratings

3.4
7 reviews

Rating breakdown

Details Information

Version

3.6

First Released

28 May, 2009

Total Downloads

15,099

Wordpress Version

4.6 or higher

Tested up to:

5.1.3

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.