Title: 4.6 | Page 3 | Make WordPress Core

---

#  Tag Archives: 4.6

 [  ](https://profiles.wordpress.org/ocean90/) [Dominik Schilling](https://profiles.wordpress.org/ocean90/)
7:15 pm _on_ July 20, 2016     
Tags: 4.6, [agenda ( 1,153 )](https://make.wordpress.org/core/tag/agenda/),
[dev chat ( 936 )](https://make.wordpress.org/core/tag/dev-chat/)   

# 󠀁[Weekly Dev Chat Agenda for July 20 — Thirteen Weeks Later](https://make.wordpress.org/core/2016/07/20/weekly-dev-chat-agenda-for-july-20-%f0%9f%95%b6/)󠁿

Agenda for the weekly dev meeting on [July 20, 2016 at 20:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160720T2000):

 * WordPress 4.6 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 the final product; however, design changes often occur as part of the process.
   4 and current progress
    - Dev notesdev note Each important change in WordPress Core is documented in
      a developers note, (usually called dev note). Good dev notes generally include
      a description of the change, the decision that led to this change, and a description
      of how developers are supposed to work with that change. Dev notes are published
      on Make/Core blog during the beta phase of WordPress release cycle. Publishing
      dev notes is particularly important when plugin/theme authors and WordPress
      developers need to be aware of those changes.In general, all dev notes are
      compiled into a Field Guide at the beginning of the release candidate phase.,
      field guideField guide The field guide is a type of blogpost published on 
      Make/Core during the release candidate phase of the [WordPress release cycle](https://make.wordpress.org/core/handbook/about/release-cycle/).
      The field guide generally lists all the dev notes published during the beta
      cycle. This guide is linked in the about page of the corresponding version
      of WordPress, in the release post and in the HelpHub version page., email 
      to pluginPlugin A plugin is a piece of software containing a group of functions
      that can be added to a WordPress website. They can extend functionality or
      add new features to your WordPress websites. WordPress plugins are written
      in the PHP programming language and integrate seamlessly with WordPress. These
      can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
      or can be cost-based plugin from a third-party. authors, [4.6 OMGWTFBBQ Draft Post](https://make.wordpress.org/support/2016/07/4-6-omgwtfbbq-draft-post/)
 * About page
    - Pointers?
    - Let’s find a tagline.
    - [Brainstorming document](https://docs.google.com/document/d/1StJLWz03vEwF5Wvwz1UaerTZ4VpuUyy0j4jFjy8x7Rs/edit)
 * Project updates
    - [register_meta()](https://core.trac.wordpress.org/ticket/35658)
    - [Font Natively](https://make.wordpress.org/core/features/font-natively/)
 * Component announcements/updates
 * Open discussion

If you have anything to propose to add to the agenda, please leave a comment below.

See you in the chat!

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#agenda](https://make.wordpress.org/core/tag/agenda/),
[#dev-chat](https://make.wordpress.org/core/tag/dev-chat/)

 [  ](https://profiles.wordpress.org/jeremyfelt/) [Jeremy Felt](https://profiles.wordpress.org/jeremyfelt/)
6:27 pm _on_ July 20, 2016     
Tags: 4.6, [dev-notes ( 650 )](https://make.wordpress.org/core/tag/dev-notes/),
[options-meta ( 33 )](https://make.wordpress.org/core/tag/options-meta/)   

# 󠀁[Additional register_meta() changes in 4.6](https://make.wordpress.org/core/2016/07/20/additional-register_meta-changes-in-4-6/)󠁿

In the last 2 weeks, the direction of `register_meta()` has changed significantly
from the [original write-up](https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/).
There was a [meeting](https://make.wordpress.org/core/2016/07/13/register_meta-discussion-on-thursday-july-13/)
to discuss some of the changes and a [recap of that discussion](https://make.wordpress.org/core/2016/07/14/register_meta-discussion-recap-july-14-2016/).
Some other discussion after that meeting led to a much more simplified version of`
register_meta()` that is now shipping in 4.6.

Here’s what registering metaMeta Meta is a term that refers to the inside workings
of a group. For us, this is the team that works on internal WordPress sites like
WordCamp Central and Make WordPress. looked like in 4.5. This meta key has sanitization
and authorization callbacks.

    ```notranslate
    register_meta( 'post', 'my_meta_key', 'sanitize_my_meta_key', 'authorize_my_meta_key' );
    ```

The above code will continue to work in 4.6, though will not be considered completely
registered. The callbacks will be registered, but the key will not be added to the
global registry and `register_meta()` will return `false`.

Here’s what registering meta looks like in 4.6. This meta key will have sanitization
and authorization callbacks, and be registered as public for the WordPress REST 
APIREST API The REST API is an acronym for the RESTful Application Program Interface(
API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front
end of an application (think “phone app” or “website”) can communicate with the 
data store (think “database” or “file system”) [https://developer.wordpress.org/rest-api/](https://developer.wordpress.org/rest-api/).

    ```notranslate
    $args = array(
        'sanitize_callback' => 'sanitize_my_meta_key',
        'auth_callback' => 'authorize_my_meta_key',
        'type' => 'string',
        'description' => 'My registered meta key',
        'single' => true,
        'show_in_rest' => true,
    );
    register_meta( 'post', 'my_meta_key', $args );
    ```

The above will register the meta key properly and return `true`.

There will no longer be a check for unique object types and subtypes for meta keys.
There is no CURIE like syntax involved. Instead, be sure to uniquely prefix meta
keys so that they do not conflictconflict A conflict occurs when a patch changes
code that was modified after the patch was created. These patches are considered
_stale_, and will require a _refresh_ of the changes before it can be applied, or
the conflicts will need to be _resolved_. with others that may be registered with
different arguments.

Additional helper functions `get_registered_metadata()`, `get_registered_meta_keys()`,`
unregister_meta()`, and `registered_meta_key_exists()` have been added to make the
innards of the global data more accessible.

The `$wp_meta_keys` variable should not be altered directly. It is possible that
its structure will change in the future.

Any code currently using `register_meta()` and expecting pre-4.6 behavior will continue
to work as is. Please report any breaks in compatibility that might be found.

For the full history, see [#35658](https://core.trac.wordpress.org/ticket/35658).
🙂

 

 

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#dev-notes](https://make.wordpress.org/core/tag/dev-notes/),
[#options-meta](https://make.wordpress.org/core/tag/options-meta/)

 [  ](https://profiles.wordpress.org/rockwell15/) [Andrew Rockwell](https://profiles.wordpress.org/rockwell15/)
3:14 pm _on_ July 20, 2016     
Tags: 4.6, [week in core ( 245 )](https://make.wordpress.org/core/tag/week-in-core/)

# 󠀁[Week In Core, July 12 – July 19 2016](https://make.wordpress.org/core/2016/07/20/week-in-core-july-12-july-19-2016/)󠁿

Welcome back the latest issue of Week in CoreCore Core is the set of software required
to run WordPress. The Core Development Team builds WordPress., covering changes 
[[38040-38110]](https://core.trac.wordpress.org/log/?action=stop_on_copy&mode=stop_on_copy&rev=38110&stop_rev=38040&limit=100&sfp_email=&sfph_mail=).
Here are the highlights:

 * 71 commits
 * 40 contributors
 * 82 tickets created
 * 7 tickets reopened
 * 78 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker.
numbers based on [trac timeline](https://core.trac.wordpress.org/timeline?from=07%2F19%2F16&daysback=7&authors=&ticket=on&sfp_email=&sfph_mail=&update=Update)
for the period above. The following is a summary of commits, organized by component.

## Code Changes

### 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 ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)

 * Improve keyboard navigation on the themes browser modal window [[38084]](https://core.trac.wordpress.org/changeset/38084)
   [#37383](https://core.trac.wordpress.org/ticket/37383)

### Bundled Themes

 * Remove .pot files from Default Themes [[38093]](https://core.trac.wordpress.org/changeset/38093)
   [#34884](https://core.trac.wordpress.org/ticket/34884)

### Canonical

 * Remove a duplicate test data entry. [[38063]](https://core.trac.wordpress.org/changeset/38063)
   [#37370](https://core.trac.wordpress.org/ticket/37370)

### Comments

 * Use wp_strip_all_tags() to strip HTMLHTML HyperText Markup Language. The semantic
   scripting language primarily used for outputting content in web browsers. tags
   [[38092]](https://core.trac.wordpress.org/changeset/38092) [#37208](https://core.trac.wordpress.org/ticket/37208)
 * Include comment_content with html and without in blacklist_keys comparison [[38048]](https://core.trac.wordpress.org/changeset/38048)
   [#37208](https://core.trac.wordpress.org/ticket/37208)
 * Strip html tags from comment content before blacklist_keys comparison [[38047]](https://core.trac.wordpress.org/changeset/38047)
   [#37208](https://core.trac.wordpress.org/ticket/37208)

### Database

 * Add unit testunit test Code written to test a small piece of code or functionality
   within a larger application. Everything from themes to WordPress core have a 
   series of unit tests. Also see [regression](https://make.wordpress.org/core/tag/4-6/page/3/?output_format=md#regression).
   to test that a column type change for a table name with a hyphen is working after
   [[38044]](https://core.trac.wordpress.org/changeset/38044) [#31679](https://core.trac.wordpress.org/ticket/31679)

### Docs

 * Use the three-digit, x.x.x-style version in the DocBlockdocblock (phpdoc, xref,
   inline docs) for the nested lowercase_octets() function. [[38107]](https://core.trac.wordpress.org/changeset/38107)
   [#32246](https://core.trac.wordpress.org/ticket/32246)
 * Add a missing DocBlock for the lowercase_octets() function, which is nested within
   redirect_canonical() [[38106]](https://core.trac.wordpress.org/changeset/38106)
   [#32246](https://core.trac.wordpress.org/ticket/32246)
 * Clarify the fields argument description in WP_Network_Query::__construct(). [[38104]](https://core.trac.wordpress.org/changeset/38104)
   [#32504](https://core.trac.wordpress.org/ticket/32504)
 * Clarify the fields argument description in WP_Site_Query::__construct(). [[38103]](https://core.trac.wordpress.org/changeset/38103)
   [#35791](https://core.trac.wordpress.org/ticket/35791)
 * Correct comment_max_links_url filterFilter Filters are one of the two types of
   Hooks [https://codex.wordpress.org/Plugin_API/Hooks](https://codex.wordpress.org/Plugin_API/Hooks).
   They provide a way for functions to modify data of other functions. They are 
   the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated
   manner, and should never have side effects such as affecting global variables
   and output. and $url param descriptions to communicate values are found links
   [[38098]](https://core.trac.wordpress.org/changeset/38098) [#37319](https://core.trac.wordpress.org/ticket/37319)
 * Correct type of WP_Post_Type::$cap from array to object. [[38097]](https://core.trac.wordpress.org/changeset/38097)
   [#36217](https://core.trac.wordpress.org/ticket/36217)
 * Correct $post parameter name and description for wp_attachment_is() and wp_attachment_is_image().
   [[38068]](https://core.trac.wordpress.org/changeset/38068) [#37377](https://core.trac.wordpress.org/ticket/37377)
 * Update a cross-reference in the DocBlock for wp_register_plugin_realpath() from
   plugin_basename() to wp_normalize_path(). [[38061]](https://core.trac.wordpress.org/changeset/38061)
   [#37357](https://core.trac.wordpress.org/ticket/37357)
 * Add an initial since version to wp-includes/feed.php [[38056]](https://core.trac.wordpress.org/changeset/38056)
   [#32246](https://core.trac.wordpress.org/ticket/32246), [#36295](https://core.trac.wordpress.org/ticket/36295)
 * Update the default value for the optional $args parameter in get_networks() following
   [[38055]](https://core.trac.wordpress.org/changeset/38055) [#32504](https://core.trac.wordpress.org/ticket/32504)
 * Add and clarify changelog entries for elements that can now accept, use, or return
   WP_Post_Type objects [[38051]](https://core.trac.wordpress.org/changeset/38051)
   [#36217](https://core.trac.wordpress.org/ticket/36217)

### Editor

 * Enqueue the wp-embed script to fix embed previews inside the media modal. [[38062]](https://core.trac.wordpress.org/changeset/38062)
   [#37334](https://core.trac.wordpress.org/ticket/37334)

### Emoji

 * Update to Unicode 9.0 emoji [[38087]](https://core.trac.wordpress.org/changeset/38087)
   [#37361](https://core.trac.wordpress.org/ticket/37361)

### External Libraries

 * Update MediaElement.js to 2.22.0 [[38088]](https://core.trac.wordpress.org/changeset/38088)
   [#37363](https://core.trac.wordpress.org/ticket/37363)

### Filesystem APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

 * Ensure memory limit calculations by PclZip are using integers [[38101]](https://core.trac.wordpress.org/changeset/38101)
   [#36435](https://core.trac.wordpress.org/ticket/36435)
 * Cleanup temporary file when the temporary file couldn’t be opened. [[38094]](https://core.trac.wordpress.org/changeset/38094)
   [#34772](https://core.trac.wordpress.org/ticket/34772), [#36942](https://core.trac.wordpress.org/ticket/36942),
   [#36943](https://core.trac.wordpress.org/ticket/36943)

### HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. API

 * Pass proxy settings to Requests [[38054]](https://core.trac.wordpress.org/changeset/38054)
   [#33055](https://core.trac.wordpress.org/ticket/33055), [#37107](https://core.trac.wordpress.org/ticket/37107)
 * Update Requests. Fixes an issue where you couldn’t set a Requests_Proxy_HTTP 
   object as a proxy setting. [[38053]](https://core.trac.wordpress.org/changeset/38053)
   [#37107](https://core.trac.wordpress.org/ticket/37107), [#33055](https://core.trac.wordpress.org/ticket/33055)
 * Remove duplicate documentation for the http_api_debug hook. [[38043]](https://core.trac.wordpress.org/changeset/38043)
   [#37081](https://core.trac.wordpress.org/ticket/37081)

### I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see 󠀁[localization](https://make.wordpress.org/core/tag/4-6/page/3/?output_format=md#l10n)󠁿. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.

 * Remove non-translatable link attributes from translatable strings in wp_plugin_update_row(),
   wp_theme_update_row(), and get_theme_update_available() [[38082]](https://core.trac.wordpress.org/changeset/38082)
   [#36048](https://core.trac.wordpress.org/ticket/36048)
 * Combine duplicate “Menu Locations” and “Menu Options” strings. [[38080]](https://core.trac.wordpress.org/changeset/38080)
   [#18218](https://core.trac.wordpress.org/ticket/18218)
 * Combine two duplicate “Invalidinvalid A resolution on the bug tracker (and generally
   common in software development, sometimes also _notabug_) that indicates the 
   ticket is not a bug, is a support request, or is generally invalid. post type”
   strings. [[38076]](https://core.trac.wordpress.org/changeset/38076) [#18218](https://core.trac.wordpress.org/ticket/18218)
 * Change unnecessary uppercased words in WP_Upgrader::generic_strings() to lower
   case. [[38074]](https://core.trac.wordpress.org/changeset/38074) [#18218](https://core.trac.wordpress.org/ticket/18218)
 * Combine two duplicate “Unable to locate WordPress Theme directory” strings. [[38073]](https://core.trac.wordpress.org/changeset/38073)
   [#18218](https://core.trac.wordpress.org/ticket/18218)
 * After [[38057]](https://core.trac.wordpress.org/changeset/38057), consistently
   use a context for other instances of Activate %s,Networknetwork (versus site,
   blog) Activate %s, and Delete %s strings [[38071]](https://core.trac.wordpress.org/changeset/38071)
   [#37290](https://core.trac.wordpress.org/ticket/37290)
 * Remove a stray translator comment added in [[38070]](https://core.trac.wordpress.org/changeset/38070)
   [#37290](https://core.trac.wordpress.org/ticket/37290)

### Import

 * Enhance accessibility on the Import screen [[38075]](https://core.trac.wordpress.org/changeset/38075)
   [#24766](https://core.trac.wordpress.org/ticket/24766), [#35191](https://core.trac.wordpress.org/ticket/35191)

### Mail

 * Improve handling of UTF-8 address headers [[38058]](https://core.trac.wordpress.org/changeset/38058)
   [#21659](https://core.trac.wordpress.org/ticket/21659)

### Media

 * Add missing gettext to a string added in [[38090]](https://core.trac.wordpress.org/changeset/38090)
   [#37394](https://core.trac.wordpress.org/ticket/37394)
 * Update list of translatable strings for MediaElement.js. [[38089]](https://core.trac.wordpress.org/changeset/38089)
   [#37394](https://core.trac.wordpress.org/ticket/37394)
 * Prevent image_get_intermediate_size() from returning cropped images [[38086]](https://core.trac.wordpress.org/changeset/38086)
   [#34384](https://core.trac.wordpress.org/ticket/34384), [#34980](https://core.trac.wordpress.org/ticket/34980)
 * Always add alt attributes to images inserted from URLURL A specific web address
   of a website or web page on the Internet, such as a website’s URL www.wordpress.
   org [[38065]](https://core.trac.wordpress.org/changeset/38065) [#36735](https://core.trac.wordpress.org/ticket/36735)
 * URL encode spaces in srcset attributes [[38052]](https://core.trac.wordpress.org/changeset/38052)
   [#36549](https://core.trac.wordpress.org/ticket/36549)

### MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress.

 * Ensure $wp_meta_keys is an array in get_registered_meta_keys(). [[38108]](https://core.trac.wordpress.org/changeset/38108)
   [#37415](https://core.trac.wordpress.org/ticket/37415), [#35658](https://core.trac.wordpress.org/ticket/35658)
 * Remove object subtype handling from register_meta() [[38095]](https://core.trac.wordpress.org/changeset/38095)
   [#35658](https://core.trac.wordpress.org/ticket/35658)
 * Ensure filters are backwards compatible for pre-4.6 style meta registration [[38041]](https://core.trac.wordpress.org/changeset/38041)
   [#35658](https://core.trac.wordpress.org/ticket/35658)

### Multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also **network**, **blog**, **site**

 * Correct default value for orderby in WP_Network_Query::__construct() [[38102]](https://core.trac.wordpress.org/changeset/38102)
   [#32504](https://core.trac.wordpress.org/ticket/32504)
 * Correct default values for orderby and order in WP_Site_Query::__construct() 
   [[38085]](https://core.trac.wordpress.org/changeset/38085) [#35791](https://core.trac.wordpress.org/ticket/35791)
 * Set default $args to an empty array in get_networks() [[38042]](https://core.trac.wordpress.org/changeset/38042)
   [#32504](https://core.trac.wordpress.org/ticket/32504)

### Permalinks

 * In wp_install_maybe_enable_pretty_permalinks() [[38109]](https://core.trac.wordpress.org/changeset/38109)
   [#36628](https://core.trac.wordpress.org/ticket/36628)
 * Rename $usingpi to $using_index_permalinks for clarity. [[38067]](https://core.trac.wordpress.org/changeset/38067)
   [#37380](https://core.trac.wordpress.org/ticket/37380)
 * After [[37747]](https://core.trac.wordpress.org/changeset/37747), make sure $
   usingpi, $writable, and $update_required are defined before checking them on 
   permalinks update.

### Plugins

 * Use the correct adminadmin (and super admin) screen when searching for plugins
   via Ajax [[38091]](https://core.trac.wordpress.org/changeset/38091) [#37373](https://core.trac.wordpress.org/ticket/37373)

### Readme

 * Link to the PluginPlugin A plugin is a piece of software containing a group of
   functions that can be added to a WordPress website. They can extend functionality
   or add new features to your WordPress websites. WordPress plugins are written
   in the PHP programming language and integrate seamlessly with WordPress. These
   can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
   or can be cost-based plugin from a third-party. Developer Handbook on DevHub 
   as the primary resource for information on extending WordPress [[38105]](https://core.trac.wordpress.org/changeset/38105)
   [#37399](https://core.trac.wordpress.org/ticket/37399)

### Role/Capabilitycapability 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 to edit their own posts (the “edit_posts” capability), but not permission to edit other users’ posts (the “edit_others_posts” capability).

 * Introduce capability tests for non-logged-in users. [[38096]](https://core.trac.wordpress.org/changeset/38096)
   [#37405](https://core.trac.wordpress.org/ticket/37405)

### Script Loader

 * Limit resource hinting to enqueued assets [[38100]](https://core.trac.wordpress.org/changeset/38100)
   [#37385](https://core.trac.wordpress.org/ticket/37385)
 * Increase priority of wp_resource_hints() so hints get printed before scripts 
   and styles [[38046]](https://core.trac.wordpress.org/changeset/38046) [#37317](https://core.trac.wordpress.org/ticket/37317)

### TaxonomyTaxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. 󠀁[https://codex.wordpress.org/Taxonomies#Default_Taxonomies](https://codex.wordpress.org/Taxonomies#Default_Taxonomies)󠁿.

 * Improve back compatback compat Backward compatibility - a desire to ensure that
   plugins and themes do not break under new releases - is a driving philosophy 
   of WordPress. While it is a commonly accepted software development practice to
   break compatibility in major releases, WordPress strives to avoid this at all
   costs. Any backward incompatible change is carefully considered by the entire
   core development team and announced, with affected plugins often contacted. It
   should be noted that external libraries, such as jQuery, do have backward incompatible
   changes between major releases, which is often going to be a greater concern 
   for developers. of values passed to ‘terms_clauses’ filter [[38099]](https://core.trac.wordpress.org/changeset/38099)
   [#37378](https://core.trac.wordpress.org/ticket/37378)
 * Correct WP_Error usage in WP_Tax_Query::clean_query() and WP_Tax_Query::transform_query().
   [[38079]](https://core.trac.wordpress.org/changeset/38079) [#37389](https://core.trac.wordpress.org/ticket/37389)
 * On term.php, use `$taxnow` when fetching currently edited term. #37205. [[38069]](https://core.trac.wordpress.org/changeset/38069)
   [#37205](https://core.trac.wordpress.org/ticket/37205)

### Text Changes

 * Change Network deactivate %s to upper case, for consistency with Network Activate%
   s. [[38081]](https://core.trac.wordpress.org/changeset/38081) [#37290](https://core.trac.wordpress.org/ticket/37290)
 * Add a full stop to “Invalid taxonomy” and “Invalid term ID” strings, for consistency
   with similar post-related messages. [[38077]](https://core.trac.wordpress.org/changeset/38077)
   [#18218](https://core.trac.wordpress.org/ticket/18218), [#32329](https://core.trac.wordpress.org/ticket/32329)
 * After [[37297]](https://core.trac.wordpress.org/changeset/37297), replace two
   more instances of “WordPress.orgWordPress.org The community site where WordPress
   code is created and shared by the users. This is where you can download the source
   code for WordPress core, plugins and themes as well as the central location for
   community conversations and organization. [https://wordpress.org/](https://wordpress.org/)
   Plugin Directory” with “WordPress Plugin Directory”.

### TinyMCE

 * Replace the editor iframeiframe iFrame is an acronym for an inline frame. An 
   iFrame is used inside a webpage to load another HTML document and render it. 
   This HTML document may also contain JavaScript and/or CSS which is loaded at 
   the time when iframe tag is parsed by the user’s browser. title on MacOS to fix
   the help shortcut. [[38110]](https://core.trac.wordpress.org/changeset/38110)
   [#36863](https://core.trac.wordpress.org/ticket/36863)

### Twenty Thirteen

 * Fix selective refresh of Masonry-laid out widgets by deferring initialization
   until DOM ready [[38083]](https://core.trac.wordpress.org/changeset/38083) [#37390](https://core.trac.wordpress.org/ticket/37390)

### Unit Tests

 * Account for the string changes in [[38078]](https://core.trac.wordpress.org/changeset/38078)
   [#18218](https://core.trac.wordpress.org/ticket/18218)

### Update/Install

 * Give context to some install/update strings to allow for differentiation between
   theme and plugin translations. [[38057]](https://core.trac.wordpress.org/changeset/38057)
   [#37290](https://core.trac.wordpress.org/ticket/37290)

### Users

 * Update help text for user-new.php to remove reference to sending passwords via
   email. [[38064]](https://core.trac.wordpress.org/changeset/38064) [#36763](https://core.trac.wordpress.org/ticket/36763)

### WP Mail

 * Remove an unused variable [[38045]](https://core.trac.wordpress.org/changeset/38045)
   [#37346](https://core.trac.wordpress.org/ticket/37346)

## Props

Thanks to [@ramiy](https://profiles.wordpress.org/ramiy/), [@afercia](https://profiles.wordpress.org/afercia/),
[@alleynoah](https://profiles.wordpress.org/alleynoah/), [@ambrosey](https://profiles.wordpress.org/ambrosey/),
[@anneschmidt](https://profiles.wordpress.org/anneschmidt/), [@azaozz](https://profiles.wordpress.org/azaozz/),
[@boonebgorges](https://profiles.wordpress.org/boonebgorges/), [@bpetty](https://profiles.wordpress.org/bpetty/),
[@celloexpressions](https://profiles.wordpress.org/celloexpressions/), [@cfinke](https://profiles.wordpress.org/cfinke/),
[@Clorith](https://profiles.wordpress.org/Clorith/), [@dabnpits](https://profiles.wordpress.org/dabnpits/),
[@davidakennedy](https://profiles.wordpress.org/davidakennedy/), [@dlh](https://profiles.wordpress.org/dlh/),
[@DrewAPicture](https://profiles.wordpress.org/DrewAPicture/), [@flixos](https://profiles.wordpress.org/flixos/),
[@flixos90](https://profiles.wordpress.org/flixos90/), [@iandunn](https://profiles.wordpress.org/iandunn/),
[@jeremyfelt](https://profiles.wordpress.org/jeremyfelt/), [@joemcgill](https://profiles.wordpress.org/joemcgill/),
[@johnbillion](https://profiles.wordpress.org/johnbillion/), [@karmatosed](https://profiles.wordpress.org/karmatosed/),
[@morganestes](https://profiles.wordpress.org/morganestes/), [@ocean90](https://profiles.wordpress.org/ocean90/),
[@pbearne](https://profiles.wordpress.org/pbearne/), [@pento](https://profiles.wordpress.org/pento/),
[@peterwilsoncc](https://profiles.wordpress.org/peterwilsoncc/), [@rachelbaker](https://profiles.wordpress.org/rachelbaker/),
[@ramiy](https://profiles.wordpress.org/ramiy/), [@rmccue](https://profiles.wordpress.org/rmccue/),
[@ruudjoyo](https://profiles.wordpress.org/ruudjoyo/), [@SergeyBiryukov](https://profiles.wordpress.org/SergeyBiryukov/),
[@stephenharris](https://profiles.wordpress.org/stephenharris/), [@swissspidy](https://profiles.wordpress.org/swissspidy/),
[@szepeviktor](https://profiles.wordpress.org/szepeviktor/), [@underdude](https://profiles.wordpress.org/underdude/),
[@vishalkakadiya](https://profiles.wordpress.org/vishalkakadiya/), [@westonruter](https://profiles.wordpress.org/westonruter/),
and [@zuige](https://profiles.wordpress.org/zuige/) for their contributions!

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#week-in-core](https://make.wordpress.org/core/tag/week-in-core/)

 [  ](https://profiles.wordpress.org/rachelbaker/) [Rachel Baker](https://profiles.wordpress.org/rachelbaker/)
8:15 pm _on_ July 18, 2016     
Tags: 4.6, [comments ( 27 )](https://make.wordpress.org/core/tag/comments/),
[dev-notes ( 650 )](https://make.wordpress.org/core/tag/dev-notes/)   

# 󠀁[Comments in 4.6 can now be cached by a persistent object cache](https://make.wordpress.org/core/2016/07/18/comments-in-4-6-can-now-be-cached-by-a-persistent-object-cache/)󠁿

The ‘comment’ cache group was made non-persistent in [[7986]](https://core.trac.wordpress.org/changeset/7986),
to address the difficulty of reliable cache invalidation. This meant the comment
cache values were only held for the current page load, and lost on reload or navigation.
The comment APIAPI An API or Application Programming Interface is a software intermediary
that allows programs to interact with each other and share data in limited, clearly
defined ways. has improved since WordPress 2.6, and _cache is king_.

In WordPress 4.6 the ‘comment’ cache group has been removed from the list of non-
persistent cache groups, see [[37613]](https://core.trac.wordpress.org/changeset/37613).
When comments are added, modified, or deleted we properly invalidate out of date
cache values. You can now cache with confidence.

If you have a pluginPlugin A plugin is a piece of software containing a group of
functions that can be added to a WordPress website. They can extend functionality
or add new features to your WordPress websites. WordPress plugins are written in
the PHP programming language and integrate seamlessly with WordPress. These can 
be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. which modifies comment data directly
please change them to make use of the various comment API functions or use `[clean_comment_cache()](https://developer.wordpress.org/reference/functions/clean_comment_cache/).`

Don’t _miss_ out on this change. For more background on the change, see [#36906](https://core.trac.wordpress.org/ticket/36906).

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#comments](https://make.wordpress.org/core/tag/comments/),
[#dev-notes](https://make.wordpress.org/core/tag/dev-notes/)

 [  ](https://profiles.wordpress.org/ocean90/) [Dominik Schilling](https://profiles.wordpress.org/ocean90/)
2:46 pm _on_ July 18, 2016     
Tags: 4.6, [jump-starts ( 41 )](https://make.wordpress.org/core/tag/jump-starts/)

# 󠀁[This Week in 4.6: July 18 – 24](https://make.wordpress.org/core/2016/07/18/this-week-in-4-6-july-18-24/)󠁿

This is the jump-start post for the thirteenth week of the WordPress 4.6 release
cycle.

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 the final product; 
however, design changes often occur as part of the process. 4 will land [on Wednesday](https://make.wordpress.org/core/version-4-6-project-schedule/)
at 18:00 UTC. Our target until then is to get the ticketticket Created for both 
bug reports and feature development on the bug tracker. count in the [4.6 milestone](https://core.trac.wordpress.org/report/6)
down to **10**. To hit this goal we have to [work on **35** tickets](https://core.trac.wordpress.org/report/6).

### Priority tickets/projects this week:

 * [#36753](https://core.trac.wordpress.org/ticket/36753) Native Fonts:
    - Resolve issues with perceived smaller font size
    - Clarify Ubuntu font suitability
    - Fix minor alignment issues
 * [#35658](https://core.trac.wordpress.org/ticket/35658) Remove subtyp from `register_meta()`
 * [Bug tickets for the Shiny Updates feature](https://core.trac.wordpress.org/query?status=!closed&version=trunk&type=defect+(bug)&summary=%5EShiny+Updates%3A)
 * [Bug tickets for Requests/HTTP API](https://core.trac.wordpress.org/query?status=!closed&component=HTTP+API&milestone=4.6)
    - Last chance to provide an additional layer in `WP_HTTP` to support parallel
      requests without requiring use of Requests directly.
 * [Bug tickets for Resource Hints](https://core.trac.wordpress.org/query?status=!closed&version=trunk&summary=%5EResource+hinting%3A)
 * [Bug reports with a patch](https://core.trac.wordpress.org/query?status=!closed&keywords=~has-patch&type=defect+(bug)&milestone=4.6&group=component)
 * [Bug reports without a patch](https://core.trac.wordpress.org/query?status=!closed&keywords=!~has-patch&type=defect+(bug)&milestone=4.6&group=component&order=priority)(
   puntpunt Contributors sometimes use the verb "punt" when talking about a ticket.
   This means it is being pushed out to a future release. This typically occurs 
   for lower priority tickets near the end of the release cycle that don't "make
   the cut." In this is colloquial usage of the word, it means to delay or equivocate.(
   It also describes a play in American football where a team essentially passes
   up on an opportunity, hoping to put themselves in a better position later to 
   try again.) candidates!)
 * [Tasks](https://core.trac.wordpress.org/query?status=!closed&type=task+(blessed)&milestone=4.6&group=component&order=priority)
    - About Page: [#37246](https://core.trac.wordpress.org/ticket/37246) and [brainstorming document](https://docs.google.com/document/d/1StJLWz03vEwF5Wvwz1UaerTZ4VpuUyy0j4jFjy8x7Rs/edit)

### Meetings this week:

#### Bug Scrubs

 * [Comments Component Bug Scrub](https://make.wordpress.org/core/components/comments/)
   at [Monday, July 18, 2016, 19:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160718T1900)
   in [#core](https://make.wordpress.org/core/tag/core/)-comments
 * [Accessibility Focus Bug Scrub](https://core.trac.wordpress.org/focus/accessibility)
   at [Monday, July 18, 2016, 17:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160718T1700)
   in [#accessibility](https://make.wordpress.org/core/tag/accessibility/)
 * [I18N Component Bug Scrub](https://make.wordpress.org/core/components/i18n/) 
   at [Tuesday, July 19, 2016, 18:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160719T1800)
   in [#core-i18n](https://make.wordpress.org/core/tag/core-i18n/)
 * [Multisite Component Bug Scrub](https://make.wordpress.org/core/components/networks-sites/)
   at [Thursday, July 21, 2016, 20:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160721T2000)
   in [#core-multisite](https://make.wordpress.org/core/tag/core-multisite/)

#### Feature Chats

 * [Shiny Updates](https://make.wordpress.org/core/tag/shiny-updates/) at [Tuesday, July 19, 2016, 20:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160719T2000)
   in #feature-shinyupdates

#### Weekly Chats

 * [Accessibility Weekly Cha](https://make.wordpress.org/accessibility/)t at [Monday, July 18, 2016, 18:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160718T1800)
   in [#accessibility](https://make.wordpress.org/core/tag/accessibility/)
 * [Customizer Weekly Chat](https://make.wordpress.org/core/components/customize/)
   at [Monday, July 18, 2016, 20:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160718T2000)
   in [#core-customize](https://make.wordpress.org/core/tag/core-customize/)
 * [REST API Weekly Chat](https://make.wordpress.org/core/components/rest-api) at
   [Monday, July 18 2016, 23:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160718T2300)
   in [#core-restapi](https://make.wordpress.org/core/tag/core-restapi/)
 * [Multisite Weekly Chat](https://make.wordpress.org/core/components/networks-sites/)
   at [Tuesday, July 19, 2016, 16:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160719T1600)
   in [#core-multisite](https://make.wordpress.org/core/tag/core-multisite/)
 * [Editor Weekly Chat](https://make.wordpress.org/core/components/editor/) at [Wednesday, July 20 2016, 18:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160720T1800)
   in [#core-editor](https://make.wordpress.org/core/tag/core-editor/)
 * [Weekly Dev Chat](https://make.wordpress.org/core/tag/agenda) at [Wednesday, July 20, 2016, 20:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160720T2000)
   in [#core](https://make.wordpress.org/core/tag/core/)
 * [Core UI Weekly Chat](https://make.wordpress.org/design/tag/weekly-design-chat/)
   at [Thursday, July 21, 2016, 20:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160721T2000)
   in [#design](https://make.wordpress.org/core/tag/design/)
 * [Images Weekly Chat](https://make.wordpress.org/meetings/) at [Friday, July 22, 2016, 19:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160722T1900)
   in [#core-images](https://make.wordpress.org/core/tag/core-images/)

### Notable updates from last week:

 * [External library updates in 4.6](https://make.wordpress.org/core/2016/07/18/external-library-updates-in-4-6/)
 * [Introducing admin_print_footer_scripts-$hook_suffix in 4.6](https://make.wordpress.org/core/2016/07/15/introducing-admin_print_footer_scripts-hook_suffix-in-4-6/)
 * [register_meta() Discussion Recap (July 14, 2016)](https://make.wordpress.org/core/2016/07/14/register_meta-discussion-recap-july-14-2016/)
 * [dbDelta() updates in 4.6](https://make.wordpress.org/core/2016/07/13/dbdelta-updates-in-4-6/)
 * [WP_Post_Type in 4.6](https://make.wordpress.org/core/2016/07/13/wp_post_type-in-4-6/)

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#jump-starts](https://make.wordpress.org/core/tag/jump-starts/)

 [  ](https://profiles.wordpress.org/voldemortensen/) [Garth Mortensen](https://profiles.wordpress.org/voldemortensen/)
11:50 am _on_ July 18, 2016     
Tags: 4.6, [dev-notes ( 650 )](https://make.wordpress.org/core/tag/dev-notes/),
[external libraries ( 7 )](https://make.wordpress.org/core/tag/external-libraries/)

# 󠀁[External library updates in 4.6](https://make.wordpress.org/core/2016/07/18/external-library-updates-in-4-6/)󠁿

The following are external libraries that have been updated during the 4.6 release
cycle.

### Masonry

Masonry was updated to version **3.3.2** from version **3.1.4** ([#32802](https://core.trac.wordpress.org/ticket/32802)).
Notable changes:

 * jQuery events are now triggered.
 * CommonJS is supported.
 * Percentages can now be used for horizontal positions.
 * Various browser compatibility issues are now resolved.

Full Changelog: [https://github.com/desandro/masonry/releases](https://github.com/desandro/masonry/releases)

### imagesLoaded

imagesLoaded was updated to version **3.2.0** from version **3.1.4** ([#32802](https://core.trac.wordpress.org/ticket/32802)).
Notable changes:

 * Background images are now supported.
 * setTimeout no longer triggers multiple events errantly.
 * Internal cache has been removed. Each image will now be checked.
 * Various browser compatibility issues are now resolved.

Full Changelog: [https://github.com/desandro/imagesloaded/releases](https://github.com/desandro/imagesloaded/releases)

**NOTE:** imagesLoaded and Masonry are now in separate files. This means that imagesLoaded
can be enqueued without Masonry being enqueued. For backward compatibility reasons,
imagesLoaded remains a dependency for Masonry.

### MediaElement.js

MediaElement.js was updated to version **2.22.0** from version **2.18.1** ([#36759](https://core.trac.wordpress.org/ticket/36759),
[#37363](https://core.trac.wordpress.org/ticket/37363)). Notable changes:

 * Several YouTube embed issues have been resolved.
 * More Vimeo APIAPI An API or Application Programming Interface is a software intermediary
   that allows programs to interact with each other and share data in limited, clearly
   defined ways. support added.
 * A few a11yAccessibility Accessibility (commonly shortened to a11y) refers to 
   the design of products, devices, services, or environments for people with disabilities.
   The concept of accessible design ensures both “direct access” (i.e. unassisted)
   and “indirect access” meaning compatibility with a person’s assistive technology(
   for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)
   and i18ni18n Internationalization, or the act of writing and preparing code to
   be fully translatable into other languages. Also see [localization](https://make.wordpress.org/core/tag/4-6/page/3/?output_format=md#l10n).
   Often written with a lowercase i so it is not confused with a lowercase L or 
   the numeral 1. Often an acquired skill. issues have been fixed.
 * General stability enhancements.

Full Changelog: [https://github.com/johndyer/mediaelement/blob/2.22.0/changelog.md](https://github.com/johndyer/mediaelement/blob/2.22.0/changelog.md)

### TinyMCE

TinyMCE was updated to version **4.4.1** from version **4.3.10** ([#37225](https://core.trac.wordpress.org/ticket/37225),
[#37327](https://core.trac.wordpress.org/ticket/37327), [#37476](https://core.trac.wordpress.org/ticket/37476)).
Notable changes:

 * Various contentEditable bugs fixed.
 * Various browser compatibility bugs fixed.
 * General stability and performance enhancements.

Full Changelog: [https://github.com/tinymce/tinymce/blob/4.4.1/changelog.txt](https://github.com/tinymce/tinymce/blob/4.4.1/changelog.txt)

### Backbone.js

Backbone.js was updated to version **1.3.3** from **1.2.3** ([#37099](https://core.trac.wordpress.org/ticket/37099)).
Notable changes:

 * 4 major regressions were fixed.
 * Added `findIndex` and `findLastIndex` Underscore methods to `Collection`.
 * Added `options.changes` to `Collection` “update” event which includes added, 
   merged, and removed models.
 * Removed `component` package support.

Full Changelog: [https://cdn.rawgit.com/jashkenas/backbone/1.3.3/index.html#changelog](https://cdn.rawgit.com/jashkenas/backbone/1.3.3/index.html#changelog)

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#dev-notes](https://make.wordpress.org/core/tag/dev-notes/),
[#external-libraries](https://make.wordpress.org/core/tag/external-libraries/)

 [  ](https://profiles.wordpress.org/tfrommen/) [Thorsten Frommen](https://profiles.wordpress.org/tfrommen/)
10:16 am _on_ July 15, 2016     
Tags: 4.6, [dev-notes ( 650 )](https://make.wordpress.org/core/tag/dev-notes/),
[plugins ( 33 )](https://make.wordpress.org/core/tag/plugins/), [Script Loader ( 7 )](https://make.wordpress.org/core/tag/script-loader/)

# 󠀁[Introducing admin_print_footer_scripts-$hook_suffix in 4.6](https://make.wordpress.org/core/2016/07/15/introducing-admin_print_footer_scripts-hook_suffix-in-4-6/)󠁿

The [`admin_print_footer_scripts`](https://developer.wordpress.org/reference/hooks/admin_print_footer_scripts/)
action hook is the last chance to localize adminadmin (and super admin) scripts;
but it is a generic one. If you ever wanted to do something for specific admin pages
only, you would either have to hook into another dynamic action, or hook into `admin_print_footer_scripts`
and check the `$hook_suffix` (which is not even passed, but that’s not an issue)
yourself. The problem with the former is that there might be happening a lot between
the chosen action and when your script gets enqueued (`admin_print_footer_scripts`);
and maybe you need to be aware of what has happened. The problem with the latter
is that you would have to register possibly a lot of functions, maybe check the 
current admin page inside several of these, and eventually bail most of the times.
That’s why WordPress 4.6 brings the dynamic footer action `admin_print_footer_scripts-
$hook_suffix`. See [[37279]](https://core.trac.wordpress.org/changeset/37279).

The following pre-4.6 code

    ```notranslate
    add_action( 'admin_print_footer_scripts', function() {
        global $hook_suffix;

        if ( 'some_admin_page' !== $hook_suffix ) {
            return;
        }

        // Whatever it is that you want to do...
    } );
    ```

can now be simplified like this:

    ```notranslate
    add_action( 'admin_print_footer_scripts-some_admin_page', function() {
        // Whatever it is that you want to do...
    } );
    ```

This change brings more consistency between [`wp-admin/admin-footer.php`](https://developer.wordpress.org/reference/files/wp-admin/admin-footer.php/)
and [`wp-admin/admin-header.php`](https://developer.wordpress.org/reference/files/wp-admin/admin-header.php/),
which already fires the generic [`admin_print_scripts`](https://developer.wordpress.org/reference/hooks/admin_print_scripts/)
and the dynamic [`admin_print_scripts-$hook_suffix`](https://developer.wordpress.org/reference/hooks/admin_print_scripts-hook_suffix/)
actions.

For more background on the change, see [#34334](https://core.trac.wordpress.org/ticket/34334).

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#dev-notes](https://make.wordpress.org/core/tag/dev-notes/),
[#plugins](https://make.wordpress.org/core/tag/plugins/), [#script-loader](https://make.wordpress.org/core/tag/script-loader/)

 [  ](https://profiles.wordpress.org/jeremyfelt/) [Jeremy Felt](https://profiles.wordpress.org/jeremyfelt/)
10:02 pm _on_ July 14, 2016     
Tags: 4.6, [options-meta ( 33 )](https://make.wordpress.org/core/tag/options-meta/)

# 󠀁[register_meta() Discussion Recap (July 14, 2016)](https://make.wordpress.org/core/2016/07/14/register_meta-discussion-recap-july-14-2016/)󠁿

As [announced yesterday](https://make.wordpress.org/core/2016/07/13/register_meta-discussion-on-thursday-july-13/),
there was a discussion today covering the future of `register_meta()`, something
that has been in progress for WordPress 4.6 in [#35658](https://core.trac.wordpress.org/ticket/35658).
This is a recap. 🙂

Attendees: [@helen](https://profiles.wordpress.org/helen/), [@ocean90](https://profiles.wordpress.org/ocean90/),
[@rachelbaker](https://profiles.wordpress.org/rachelbaker/), [@mikeschinkel](https://profiles.wordpress.org/mikeschinkel/),
[@jsternberg](https://profiles.wordpress.org/jsternberg/), [@sc0ttclark](https://profiles.wordpress.org/sc0ttclark/),
[@richardtape](https://profiles.wordpress.org/richardtape/), [@swissspidy](https://profiles.wordpress.org/swissspidy/),
[@joemcgill](https://profiles.wordpress.org/joemcgill/), [@seancjones](https://profiles.wordpress.org/seancjones/),
[@achbed](https://profiles.wordpress.org/achbed/), [@jeremyfelt](https://profiles.wordpress.org/jeremyfelt/)

[Chat log](https://wordpress.slack.com/archives/core/p1468522860004186).

### Overview

In [#35658](https://core.trac.wordpress.org/ticket/35658), `register_meta()` uses
object subtypes when registering metaMeta Meta is a term that refers to the inside
workings of a group. For us, this is the team that works on internal WordPress sites
like WordCamp Central and Make WordPress. so that key registration can be considered
unique.

In 4.6 trunktrunk A directory in Subversion containing the latest development code
in preparation for the next major release cycle. If you are running "trunk", then
you are on the latest revision., this information is passed as part of the 3rd argument—`
array( 'object_subtype' => 'books' )`—to `register_meta()` and `$object_subtype 
= ''` has been added as an extra argument to several other pieces as a way to support
that.

After exploring a bit more, it’s clear that `$object_subtype` will continue to spread
as an additional argument throughout many `_meta()` functions so that registered
meta is handled properly.

An alternative is to use CURIEs to describe complex meta types in a single string—`'
comment:reaction'` rather than `'comment'` and `'reaction'`—so that the extra argument
is not needed. Instead, processing exists to turn that string into an object type
and subtype.

### Examples

 * `post:post`
 * `post:books`
 * `term:category`
 * `user:user`
 * `comment:reaction`

### The main question for today’s discussion

Is CURIE like notation the right way forward for handling complex meta types?

### Decisions

After a very good and thorough conversation about the above and other points, these
are the decisions for moving forward with work on [#35658](https://core.trac.wordpress.org/ticket/35658):

 1. Meta keys will be registered using [CURIE](https://www.w3.org/TR/curie/) like syntax.
 2.  * `register_meta( 'post:book', 'isbn', $args );`
 3. The `:` used in the string to register meta keys will also be used in filters.
 4.  * `sanitize_post:book_meta_isbn`
 5. CoreCore Core is the set of software required to run WordPress. The Core Development
    Team builds WordPress. object types will fallback to default subtypes if one is
    not specified.
 6.  * post becomes post:post, comment becomes comment:comment, user becomes user:user,
       and term becomes term:categoryCategory The 'category' taxonomy lets you group
       posts / content together that share a common bond. Categories are pre-defined
       and broad ranging..
 7. Meta key registration for all/any subtypes of an object type will not be included
    in 4.6, but is likely something to add in the future.

Please check out the latest patches on [#35658](https://core.trac.wordpress.org/ticket/35658)
and contribute code and thoughts on that ticketticket Created for both bug reports
and feature development on the bug tracker. or share any questions/concerns in the
discussion below.

Thanks everyone for attending today!

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#options-meta](https://make.wordpress.org/core/tag/options-meta/)

 [  ](https://profiles.wordpress.org/chriscct7/) [chriscct7](https://profiles.wordpress.org/chriscct7/)
9:42 pm _on_ July 13, 2016     
Tags: 4.6, [dev chat ( 936 )](https://make.wordpress.org/core/tag/dev-chat/),
[summary ( 983 )](https://make.wordpress.org/core/tag/summary/)   

# 󠀁[Dev Chat Summary: July 13th, 2016](https://make.wordpress.org/core/2016/07/13/dev-chat-summary-july-13th-2016/)󠁿

### WordPress 4.6 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 the final product; however, design changes often occur as part of the process. 3 and the future.

 * Beta 3 was released today. Please test and report bugs on [Trac](https://core.trac.wordpress.org).
 * There will be one more beta and some RCs, each released at 18:00 UTC like beta
   3 was.

### Dev notesdev note Each important change in WordPress Core is documented in a developers note, (usually called dev note). Good dev notes generally include a description of the change, the decision that led to this change, and a description of how developers are supposed to work with that change. Dev notes are published on Make/Core blog during the beta phase of WordPress release cycle. Publishing dev notes is particularly important when plugin/theme authors and WordPress developers need to be aware of those changes.In general, all dev notes are compiled into a Field Guide at the beginning of the release candidate phase.

 * Thanks to everyone who published their notes or are still working on them. All
   but two (one for the HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol.
   HTTP is the underlying protocol used by the World Wide Web and this protocol 
   defines how messages are formatted and transmitted, and what actions Web servers
   and browsers should take in response to various commands. APIAPI An API or Application
   Programming Interface is a software intermediary that allows programs to interact
   with each other and share data in limited, clearly defined ways. and one for 
   the editor ) have been completed and published.
 * 15 dev notes have already been published for this release.
 * The published posts can be found here: https://make.wordpress.org/core/tag/4-
   6+dev-notes/
 * Posts that need to be written can be found here: https://wordpress.slack.com/
   archives/core/p1467832210003199
 * The goal is to have the remaining two published by Monday.

### Ticketticket Created for both bug reports and feature development on the bug tracker. milestones

The goal for beta 3 was 40 tickets, and at the time of release there were currently
36 open tickets on the milestone**.**

For the remaining releases, the number of open tickets should be as follows:

 * **Beta 4:** 10 tickets
 * **RC1:** 0 tickets

The tickets left on the milestone can be found here: [https://core.trac.wordpress.org/query?status=!closed&milestone=4.6&groupdesc=1&group=type&order=priority](https://core.trac.wordpress.org/query?status=!closed&milestone=4.6&groupdesc=1&group=type&order=priority)

### About page

 * [#37246](https://core.trac.wordpress.org/ticket/37246) is the corresponding ticket
   and the brainstorming document can be found [here](https://docs.google.com/document/d/1StJLWz03vEwF5Wvwz1UaerTZ4VpuUyy0j4jFjy8x7Rs/edit).
 * The first draft of content, written by [@jorbin](https://profiles.wordpress.org/jorbin/),
   has been completed. Please take a look at the document and leave some feedback.
 * Everyone is invited to help with the about page.

### Feature project updates

**Register MetaMeta Meta is a term that refers to the inside workings of a group.
For us, this is the team that works on internal WordPress sites like WordCamp Central
and Make WordPress.**

 * There are currently three open tickets for the register meta feature project 
   that need to be resolved for the 4.6 release ([#37340](https://core.trac.wordpress.org/ticket/37340),
   [#35658](https://core.trac.wordpress.org/ticket/35658), and [#37345](https://core.trac.wordpress.org/ticket/37345)).
 * There is a proposed patchpatch A special text file that describes changes to 
   code, by identifying the files and lines which are added, removed, and altered.
   It may also be referred to as a **diff**. A patch can be _applied_ to a codebase
   for testing. for [#35658](https://core.trac.wordpress.org/ticket/35658) where
   feedback is definitely welcome.
 * A [meeting on the feature project is scheduled](https://make.wordpress.org/core/2016/07/13/register_meta-discussion-on-thursday-july-13/)
   for [Thursday, July 14th 19:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160714T1900)

#### Font Natively

 * GitHubGitHub GitHub is a website that offers online implementation of git repositories
   that can easily be shared, copied and modified by other developers. Public repositories
   are free to host, private repositories require a paid subscription. GitHub introduced
   the concept of the ‘pull request’ where code changes done in branches by contributors
   can be reviewed and discussed before being merged by the repository owner. [https://github.com/](https://github.com/)
   has recently switched over to using system fonts as well.
 * There is an open issue with bubbles and tabs (see [this ](https://core.trac.wordpress.org/ticket/36753)
   [comment](https://core.trac.wordpress.org/ticket/36753)) that needs to be resolved.
 * There is patch for the tabs: [https://core.trac.wordpress.org/attachment/ticket/36753/36753.6.patch](https://core.trac.wordpress.org/attachment/ticket/36753/36753.6.patch).
   If you have time, please test it with different fonts, and report back on the
   ticket with results.
 * [@helen](https://profiles.wordpress.org/helen/) mentioned there are outstanding
   issues with perceived smaller font size, Ubuntu font suitability, and minor alignment
   details.

#### Shiny Updates

 * There is only one remaining ticket ([#37233](https://core.trac.wordpress.org/ticket/37233))
   which needs some testing.

### Component announcements/updates and Open discussion

 * [@ocean90](https://profiles.wordpress.org/ocean90/) (the 4.6 release leadRelease
   Lead The community member ultimately responsible for the Release.) reminded developers
   to assign _good-first-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._ tickets to patch contributors
   to ensure they’re marked as “claimed” in the Good First Bugs report.
 * [@ocean90](https://profiles.wordpress.org/ocean90/) also reminded component maintainer
   who cannot add the _commit _keyword or change the milestone of a ticket, to pingPing
   The act of sending a very small amount of data to an end point. Ping is used 
   in computer science to illicit a response from a target server to test it’s connection.
   Ping is also a term used by Slack users to @ someone or send them a direct message(
   DM). Users might say something along the lines of “Ping me when the meeting starts.”
   him to fix that.
 * [@ocean90](https://profiles.wordpress.org/ocean90/) also asked for help with 
   two tickets for **PHPPHP The web scripting language in which WordPress is primarily
   architected. WordPress requires PHP 7.4 or higher 7.1 compatibility**, [#37295](https://core.trac.wordpress.org/ticket/37295)
   and [#36435](https://core.trac.wordpress.org/ticket/36435).
 * In the **Media** component, [@joemcgill](https://profiles.wordpress.org/joemcgill/)
   asked for additional testing assistance with [#34384](https://core.trac.wordpress.org/ticket/34384)
   to try to uncover any edge cases that aren’t covered if possible. If none are
   found, the plan is to commit the latest patch (or similar) later this week.
 * Additionally in the **Media **component, [@joemcgill](https://profiles.wordpress.org/joemcgill/)
   asked for anyone with more experience with the internals of _`wpMediaElement`_,
   to help with [#36735](https://core.trac.wordpress.org/ticket/36735).
 * [@boonebgorges](https://profiles.wordpress.org/boonebgorges/) is planning a minor
   update to **wordpress-importer** in the next week or two, specifically for supporting
   termmeta [#37213](https://core.trac.wordpress.org/ticket/37213) and may also 
   fix a couple of minor issues with PHP errors, deprecated function calls, etc.
   Help putting together or testing the minor update is welcome.
 * There was brief discussion on the pluginPlugin A plugin is a piece of software
   containing a group of functions that can be added to a WordPress website. They
   can extend functionality or add new features to your WordPress websites. WordPress
   plugins are written in the PHP programming language and integrate seamlessly 
   with WordPress. These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
   or can be cost-based plugin from a third-party./theme update preview sandbox 
   feature suggestion ([#37301](https://core.trac.wordpress.org/ticket/37301)).
    - [@jorbin](https://profiles.wordpress.org/jorbin/) pointed out that there’s
      an issue with plugins that do database updates during upgrade routines between
      versions, and it isn’t clear how the feature would deal with that.
    - It was proposed that a second copy of the database tables would be used for
      the sandbox feature (using a separate prefix as the main tables), with the
      downside of doubling the size of the database.

The full meeting logs can be found here: [https://wordpress.slack.com/archives/core/p1468440017003941](https://wordpress.slack.com/archives/core/p1468440017003941)

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#dev-chat](https://make.wordpress.org/core/tag/dev-chat/),
[#summary](https://make.wordpress.org/core/tag/summary/)

 [  ](https://profiles.wordpress.org/jeremyfelt/) [Jeremy Felt](https://profiles.wordpress.org/jeremyfelt/)
9:16 pm _on_ July 13, 2016     
Tags: 4.6, [fields-api ( 22 )](https://make.wordpress.org/core/tag/fields-api/),
[options-meta ( 33 )](https://make.wordpress.org/core/tag/options-meta/)   

# 󠀁[register_meta() discussion on Thursday, July 14](https://make.wordpress.org/core/2016/07/13/register_meta-discussion-on-thursday-july-13/)󠁿

Howdy!

There will be a meeting in [#core](https://wordpress.slack.com/archives/core) at
[Thursday July 14, 19:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20260716T1900)
to discuss the changes in `register_meta()` for the 4.6 release. The [dev notes](https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/)
have been published, but there is still work to be done to ensure things are great.

Of particular interest is a [proposal to change](https://core.trac.wordpress.org/ticket/35658#comment:115)
to a [CURIE](https://www.w3.org/TR/curie/) like notation when working with the registration
of metaMeta Meta is a term that refers to the inside workings of a group. For us,
this is the team that works on internal WordPress sites like WordCamp Central and
Make WordPress.. Instead of using two arguments (object type and subtype), there
would be one argument containing both.

As an example, If a post type was registered with `books` as the slug and ISBN was
stored as sanitized meta:

    ```notranslate
    // In WordPress 4.5
    register_meta( 'post', 'isbn', 'my_sanitize_callback' );

    // In current trunk for 4.6
    register_meta( 'post', 'isbn', array( 'object_subtype' => 'books', 'sanitize_callback' => 'my_sanitize_callback' ) );

    // After proposed change
    register_meta( 'post:books', 'isbn', array( 'sanitize_callback' => 'my_sanitize_callback' ) );
    ```

Please stop in [#core](https://make.wordpress.org/core/tag/core/) at [Thursday July 14, 19:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20260716T1900)
tomorrow if you are interested. If you can’t make it, please leave a comment on 
this post with your thoughts.

[#4-6](https://make.wordpress.org/core/tag/4-6/), [#fields-api](https://make.wordpress.org/core/tag/fields-api/),
[#options-meta](https://make.wordpress.org/core/tag/options-meta/)

# Post navigation

[← Older posts](https://make.wordpress.org/core/tag/4-6/page/4/?output_format=md)

[Newer posts →](https://make.wordpress.org/core/tag/4-6/page/2/?output_format=md)