-
·
Attributes for Resource Hints in 4.7
WordPress 4.6 added support for Resource Hints, a W3CW3C The World Wide Web Consortium (W3C) is an international community where Member organizations, a full-time staff, and the public work together to develop Web standards.https://www.w3.org/. specification that “defines the dns-prefetch, preconnect, prefetch, and prerender relationships of the HTMLHTML HyperText Markup Language. The semantic scripting language primarily used…
-
·
New Post Type Labels in 4.7
In WordPress 4.7, two additional labels have been made available for custom post types. These get passed in via the labels argument when using register_post_type(). The following labels are new: view_items – The post type archive label used in the toolbar on the edit screen. Default “View Posts” / “View Pages”. See #34113. attributes – The label used for the title…
-
·
Post Type Templates in 4.7
WordPress has supported custom page templates for over 12 years, allowing developers to create various layouts for specific pages. While this feature is very helpful, it has always been limited to the ‘page’ post type and not was not available to other post types. With WordPress 4.7, it will be. By opening up the page template…
-
·
wp_list_sort() and WP_List_Util in 4.7
If you have been working with arrays of multiple objects or arrays of multiple arrays before, you might be familiar with the functions wp_list_filter(), wp_list_pluck(), and wp_filter_object_list() which is essentially a combination of the previous two. WordPress 4.7 brings a few enhancements to handling such object or array lists. New Utility Function to Sort Lists…
-
·
Dev Chat Agenda for November 1 (4.7 week 11)
This is the agenda for the weekly dev meeting on : Schedule reminder: The Chat remains at 20:00 UTC. Day Light Savings Time means that 20:00 UTC may be a different time for you already, or it may be a different time soon. Schedule reminder: Today is the target for BetaBeta A pre-release of software…
-
·
Dev Chat Summary: October 26 (4.7 week 10)
This post summarizes the dev chat meeting from October 26th (Slack archive). Reminders Schedule: Today is/tomorrow will be 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 in look, feel and function to…
-
·
Preferred Languages Chat Summary: October 26
After introducing the Preferred Languages project less than two weeks ago, we held our first meeting on Wednesday. This is a summary of the Preferred Languages chat from October 26. (Slack log) Attendees: @casiepa, @chantalc, @petya, @swissspidy Topics After going through initial feedback on the introduction post, there was a short recap of ideas that have been…
-
·
WP_Taxonomy in 4.7
Similar to how WordPress 4.6 introduced WP_Post_Type, version 4.7 will introduce a new WP_Taxonomy class. This changes the global $wp_taxonomies to an array of WP_Taxonomy objects. WP_Taxonomy provides methods to handle rewrite rules and hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a…
-
·
Fine grained capabilities for taxonomy terms in 4.7
WordPress 4.7 introduces new capabilitiescapability A capability is permission to perform one or more types of task. Checking if a user has a capability is performed by the current_user_can function. Each user of a WordPress site might have some permissions but not others, depending on their role. For example, users who have the Author role usually have permission…
-
·
Editor changes in 4.7
There are a few noteworthy changes to the editor in WordPress 4.7. Some of the toolbar buttons have been rearranged to make them easier to access and to encourage proper use of the HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. elements they insert. The headings drop…