Welcome back the latest issue of Week in Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress., covering changes [37551-37600]. Here are the highlights:
- 50 commits
- 33 contributors
- 56 tickets created
- 13 tickets reopened
- 86 tickets closed
Ticket Created for both bug reports and feature development on the bug tracker. numbers based on trac timeline for the period above. The following is a summary of commits, organized by component.
Code Changes
Bootstrap
Build/Test Tools
- Add tests for
no_found_rows
behavior of WP_Query
. [37600] #29952
- Change some ‘group’ annotations to ‘ticket’. [37595]
- Upgrade the HHVM job to use Ubuntu Trusty, and a more recent version of HHVM. [37555] #36930
- Display approved comments on the Edit Post screen to users without the
edit_comment
capability. [37584] #24648
Customize
Database
Date/Time
Docs
- Ensure hook and duplicate hook docs directly precede all instances of the
image_memory_limit
filter 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.. [37592] #36968
- Correct a duplicate filter comment for the
image_memory_limit
hook to point to the correct file. [37591] #36968
- Improve documentation for
wp_generate_tag_cloud()
default arguments by formatting them into in a hash-notation. [37587] #32246
- Improve formatting in the DocBlock (phpdoc, xref, inline docs) for
sanitize_bookmark_field()
. [37586] #32246
- Standardizes and improves DocBlock summaries for the
__get()
, __set()
, __isset()
, and __unset()
magic methods in wpdb
. [37585] #32246
- Remove unnecessary backtick-escaping around two function references in the DocBlock for
get_object_term_cache()
. [37578] #36814
- Link up a reference to the
get_terms_args
filter in the hook doc for get_terms_defaults
. [37577] #35381, #36921
- Reorder argument descriptions in the DocBlock for
wp_list_categories()
to match the default arguments list and improve reading at a glance. [37571] #36693
- Add missing documentation for the
style
argument in the DocBlock for wp_list_categories()
. [37569] #36693
- Add missing
@access
tags to methods in WP_oEmbed_Controller
. [37568] #36297
- Update the return description for
get_preview_post_link()
to note that it can also return null. [37564] #35915
- Correct DocBlock descriptions for the
$before
, $after
, $link_before
, and $link_after
arguments for wp_nav_menu()
. [37561] #32246
- Standardize DocBlock summaries for hooks 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 certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. that serve to “print” something to use third-person singular verbs. [37560] #36913
- Update hook docs for the
upgrader_package_options
filter and upgrader_process_complete
action to reflect expected values in the core, language pack, theme, and plugin 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 contexts. [37558] #36875
Editor
General
HTTP 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 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.
- Only use the filename component of URLs to form part of the temporary filename. Previously we were passing the entire URL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org to
wp_tempnam()
(incorrectly) which caused the query string to be used as part of the temporary filename. We now only use the file component of a url such as https://example.com/filename.zip?arg1=1&arg2=2....&arg100=100
to prevent a long filename. [37598] #34938
I18N 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.
- Improve grammar for WordPress News help text. [37553] #35681
- Update list of continents and cities for the timezone selection. [37554] #36828
- Add translators comments to wp-activate.php. [37552] #35734
Media
- Fix order of arguments for the
strpos()
function added in [37562]. [37580] #36706
- In
get_plugin_data()
use the plugin slug for the text domain when no text domain is defined in the header The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes.. [37562] #36706
Query
- In
WP_Meta_Query
, don’t cast meta_value
to CHAR
. [37594] #36625
- Allow term meta 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. lazy-loading to be selectively disabled in
WP_Query
. [37589] #36953
- In
get_bookmarks()
, don’t cache if ‘orderby=rand’. [37565] #18356
- Add tests for
get_bookma
rks()
cache. [37563] #18356
Setup
- Sanity check for invalid 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. table prefixes. [37581] #36422
Taxonomy 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.
Themes
- Twenty Elevent Ephemera widget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. fix for caching in Customizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings. preview. [37590] #36429
Tiny MCE
Upgrade/Install
- Allow update checks on
upgrader_process_complete
to be run during Ajax requests. [37570] #36914
Thanks to @azaozz, @birgire, @bobbingwide, @boonebgorges, @c3mdigital, @chris_dev, @danielbachhuber, @DBrumbaugh10Up, @dd32, @dlh, @DrewAPicture, @ericlewis, @flixos90, @iseulde, @jfarthing84, @jorbin, @karmatosed, @kurtpayne, @lukecavanagh, @MikeHansenMe, @netweb, @nextendweb, @ocean90, @pbearne, @pento, @peterwilsoncc, @prettyboymp, @rachelbaker, @ramiy, @sebastianpisula, @swissspidy, @tloureiro, and @wp_smith for their contributions!
#4-6, #week-in-core