WordPress Core Weekly

Hi Everyone!

It’s time for another run-down of what’s going on in WordPress coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress., directly from WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. London. This edition covers March 13, 2015 [31765] through March 20, 2015 [31844].

If you want to write the next WordPress Core Weekly summary, check out the schedule over at make/docs and get in touch in the #core-weekly-update Slack channel.

This week’s highlight is definitely WordPress 4.2 Beta 2, which was released on Thursday. Make sure to check it out!

I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.

  • Use bold Arial for RTL headings. [31843] #30807
  • Make dates in 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 site and user list tables translatable. [31833] #22302

Bundled Themes

  • After [31453], replace `current()` with `reset()`, which is guaranteed to be the first item. [31842] #31259, #31260
  • Replace array_shift() with reset() where appropriate for performance. [31829] [31841] #31259, #15459
  • Add documentation for new onResizeARIA function. [31814] #31527
  • Twenty Fourteen: add ARIA attributes to search toggle. See #31527. [31794] #31527
  • Twenty Thirteen: add ARIA attributes to menu toggle. See #31527. [31785] #31527
  • Twenty Fourteen: add ARIA attributes to menu toggle. See #31527. [31784] #31527
  • Use SSLSSL Secure Sockets Layer. Provides a secure means of sending data over the internet. Used for authenticated and private actions. for theme and author URIs. [31839] #31699, #27115
  • Add trailing slashes to theme URIs to avoid a redirect. [31840] #31839

Canonical

  • If the URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org being visited has non-breaking spaces at the end of it, they were probably inserted by an errant URL copy/paste. Instead of showing a 404 for no obvious reason, let’s just trim them. [31838] #31499

Press This

  • Check if the URL is to embeddable content on a site that supports oEmbed. Then insert only the URL in the editor. It will trigger a wpView with the embedded content. [31827] #31637
  • Prepend the site domain to root-relative URLs. Reject other relative URLs. [31818] #31645
  • Ignore site descriptions that end with an ellipsis. These are most likely auto-generated. [31810] #31639
  • Change the Publish button text to Submit for Review for contributors (like on the Edit Post screen). [31798] #31658
  • Increase the number 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. tags we check in the bookmarklet to 200. Sometimes there are empty meta tagtag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.) nodes (no attributes) in some browsers. [31778] #31373
  • Simplify and restyle the categories drop-down, remove the checkboxes and use JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. to get the selected categories on submitting the form. [31765] #31443

Plugins

Embeds

  • Revert stripping of tags from pasted URLs on beforeSetContent [31817] and [31819]. Clean up URLs on `pastePreProcess`. [31832] #31158
  • Small cleanup for stripping of tags from pasted URLs. See #31158. [31819] #31158
  • Strip tags from pasted URLs before testing if they are embeddable. [31817] #31158

Upgrade/Install

  • Ensure that we target the correct 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/ or can be cost-based plugin from a third-party row for update updates [31831] #31621
  • Request FTPFTP FTP is an acronym for File Transfer Protocol which is a way of moving computer files from one computer to another via the Internet. You can use software, known as a FTP client, to upload files to a server for a WordPress website. https://codex.wordpress.org/FTP_Clients. and SSHSSH Secure SHell - a protocol for securely connecting to a remote system in addition to or in place of a password. credentials when needed during shiny updates [31811] #31528

General

  • WordPress 4.2-beta2 [31835]
  • Remove duplicate label on Add New User screen. [31777] #31131
  • Don’t try to call wp_clean_plugins_cache(); twice in wp_clean_update_cache(). [31825] #31503
  • List tables: Go back to inserting quick edit rows after, as some plugins rely on that assumption. Results are the same. [31820] #26060

Emoji

  • Move a comment to match the restructure in [31779], and add an extra comment explaining how emoji rendering support is detected. [31788] #31242
  • Fix few typos. See #31242. [31787] #31242
  • Add the styling for the replacement images to the adminadmin (and super admin) CSSCSS Cascading Style Sheets. and revert to using .emoji as replacement image class. [31786] #31242
  • Smilies: The new smilies added in [31733] and [31745] are larger than the old smilies. By adding a little bit of inline style to them, we get pleasingly sized smilies everywhere. 🙂 [31781] #31242
  • Yet another update for Twemoji, to 1.3.2. See #31242. [31773] #31242
  • TinyMCE emoji: fix highlighting of selected replacement images in Chrome. [31822] #31628

Posts, Post Types

  • Add WP_Posts_List_Table::is_base_request() to determine if the current “view” is the “All” (default) view. [31828] #24869

Widgets

Toolbar

  • Protect against Firefox font rendering interference by themes. [31824] #30021

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.

  • Edit Terms: Show error messages actually as error messages. [31823] #31241
  • Ensure that the $exclusions parameter of list_terms_exclusions filterFilter Filters are one of the two types of 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. is always a string. [31813] #31681

Comments

  • Move HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. tags for screen reader text into translatable strings. [31821] #26553
  • Improve method consistency in WP_Comment_Query. These changes bring WP_Comment_Query syntax closer to that of WP_Query. [31793] #24826
  • Restore line breaks before comment text in comment notification emails. [31770] #31508

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.

  • Change WP_Filesystem_FTPext::exists() and WP_Filesystem_ftpsockets::exists() to return true for empty directories. [31815] #30815

Build/Test Tools

Formatting,Taxonomy

  • In wp_insert_term(), allow a term with an existing name if a unique $slug has been provided. [31792] #17689 #31328

Database

  • HHVM doesn’t support passing a DB link to mysqli_get_client_version(). While we usually pass a DB link to every ext/mysqlMySQL MySQL is a relational database management system. A database is a structured collection of data where content, configuration and other options are stored. https://www.mysql.com/. and mysqli function call, we don’t really need to do that here, as there’s no way for the client library to change mid page load.[31783] #31644

Thanks to @abhishekfdd, @afercia, @azaozz, @boonebgorges, @cbaldelomar, @cfinke, @danielbachhuber, @DrewAPicture, @ericlewi, @ericlewis, @fhwebcs, @helen, @imath, @iseulde, @jeremyfelt, @jorbi, @jorbin, @kraftbj, @lancewillett, @mercime, @Michael-Arestad, @mordauk, @morganestes, @obenland, @ocean90, @pavelevap, @pento, @rahulbhangale, @SergeyBiryukov, @siobhan, @stephdau, @swissspidy, @TobiasBg, @valendesigns, @westonruter, and @wonderboymusic for their contributions!

#4-2, #week-in-core