Source: Make WordPress: Core

  • New function: human_readable_duration

    In WordPress 5.1, the new human_readable_duration function will be introduced. This function accepts a duration in hours, minutes and seconds and returns a “human readable” string appropriate for screen readers. The function takes a string representing a time duration, with hours, minutes and seconds separated by a : (colon). For example, calling human_readable_duration( ‘3:10’ );…

  • JavaScript Chat Summary – January 15th

    Below is a summary of the discussion from this week’s JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com chat…

  • Follow Up on Recent Trac Bulk Edit

    Update: More up to date information was detailed in a more recent post, Reverting the Bulk Ticket Closing. On January 4, there was a bulk ticketticket Created for both bug reports and feature development on the bug tracker. edit in TracTrac An open source project by Edgewall Software that serves as a bug tracker and…

  • PHP Site Health Mechanisms in 5.1

    Update (2019-03-04): The fatal error protection mechanism explained here has been pulled out of the 5.1 release as it had several flaws critical enough to postpone the feature. A new path to address the issues is underway via #46130 and is intended to be released as part of WordPress 5.2. Update (2019-01-21): A few critical…

  • New Styling for Admin Table Pagination Links in WordPress 5.1

    In WordPress 5.1 the adminadmin (and super admin) table pagination links have had their CSSCSS Cascading Style Sheets. styling modified. This CSS change improves the color contrast ratio for better accessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design…

  • How to get involved in Gutenberg Phase 2

    Having trouble figuring out how to get involved in the GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ Phase 2 effort? Understandable!…

  • New REST API Notice in 5.1

    Edit: On January 14, 2019, the Good and Bad Practices section was added to show both correct and incorrect code examples. Starting in WordPress 5.1, if register_rest_route() is not called on the rest_api_init action hook, a “doing it wrong” notice will be triggered. This notice is being added in an effort to encourage best practices…

  • Site Health Check Project review at WCUS

    This is a verbose set of notes to record the discussions that took place at WCUS and to reflect the work that has been done across multiple teams. The Site Health Check project is a collaborative multi-team project with a focus on encouraging better site maintenance. This project benefits not just WordPress users, but also…

  • Dev Chat Summary: January 9

    Thanks for everyone that attended, you can catch the archive here. 5.0.3 updates It’s out! Congrats @desrosj, @audrasjb and everyone. 5.1 updates BetaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close…

  • WordPress 5.0.3

    WordPress 5.0.3 is now available. This maintenance release contains 37 bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. fixes and 7 performance improvements for the…