WordPress Core Weekly

Hi everyone!

It’s this time of the week again: WordPress CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. Weekly is here. This updates covers all commits since last week up to today, October 23rd.

In case you missed it, there has been quite some activity here. I recommend you to check out these great summaries from this week to stay up-to-date:

Now, let’s have a look at the recent comments!

Adminadmin (and super admin)

  • Themes: Make “Live Preview” the primary action and “Activate” secondary. [29957] #26899
  • Themes: Fix some theme install stylings [29959] #28148 #29556
  • Live-update site title in toolbar when changing the corresponding field in General Settings. [29963] #28682
  • Allow apostrophes in email addresses when adding users via the Dashboard. [29966] #18039
  • Admin menu changes [29978] #29806
    • Fix scrolling the pinned menu with a mouse wheel.
    • Fix pinning when the menu is only slightly taller than the viewport.
    • Disable pinning on IE8, updating CSSCSS Cascading Style Sheets. top makes it jump when scrolling with a mouse wheel.

CustomizerCustomizer 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.

  • Introduce customize_preview_$setting->type action to handle multiple settings of the same type. [29948] #29165
  • Extract content markup for panels to its own method,WP_Customize_Panel::render_content(). This allows to override the behavior of a panel and its contents. [29950] #29324

Editor

  • Editor-expand [29929] #29954
    • Better calculation for the caret position when auto-scrolling while typing.
    • Fix auto-scrolling for non-WebKit browsers when the caret is above the top of the editor.
  • TinyMCE: update the default styles: make the font size larger and make it the same size in tables. [29986] #30038
  • TinyMCE: update to 4.1.6+. Adds support for cache-busting when auto-loading JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. and CSS. [29994] #30079

Twenty Fifteen

  • Make font-size/line-height in editor-style.css the same as in style.css. Remove margins from the editor body, interferes with autoresize in some browsers and is overriden in the default styles. [29909] #29799
  • No rem in editor-style.css for now. [29910] #29799
  • Add print styles. [29919] #29967

Internals

  • Add a 6th (!) attribute to wp_get_attachment_link() to allow aria-describedby to be added to gallery output. [29914] #27402
  • Cache get_term_by() calls [29915] #21760
    • Add a helper function, wp_get_last_changed(), to retrieve a last-modified timestamp by cache group.
    • Original term cache entries maintain BC
  • wp_schedule_single_event() should not prevent scheduling a future duplicate event. It should only reject an event as a duplicate if there is already a similar event scheduled within 10 minutes of the given timestamp. [29939] #28213
  • Add ID attribute to style element from wp_add_inline_style(). [29956] [29958] #30032
  • Move password hint text to a function. Add password_hint 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.. [29962] #21243
  • 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.: Support both the limit_response_size and stream parameters at the same time, allowing a partial file download. [29968] #26726

Comments

  • Don’t print an empty HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. markup when comment_reply_link() returns no link. [29908] #29895
  • Use the comment API rather than direct SQL queries in comments_template(). [29965] #19623

External Scripts

Queries

  • Check that search value is scalar before parsing. Prevents PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher notices when non-scalar values are passed. [29912] #29736
  • Introduce nested query support to WP_Date_Query. [29923] #29822
  • Throw notices _doing_it_wrong() notices are now generated when passing out-of-range values (month=13) or 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. dates (2014-02-29) to WP_Date_Query. [29925] #25834
  • Support date_query by user_registered in WP_User_Query. [29934] #27283
  • Comment/post author in/not_in for WP_Comment_Query. [29935] #29885
  • Better “inclusive” support for string values in WP_Date_Query. [29936] #29908

Thanks to @westonruter, @obenland, @tivnet, @joedolson, @DrewAPicture, @rianrietveld, @wonderboymusic, @tollmanz, @boonebgorges, @Manoz69, @iamtakashi, @kwight, @pauldewouters, @ideag, @ChriCo, @NikV, @nofearinc, @ew_holmes, @neoxx, @Viper007Bond, @nacin, @chriscct7, @tellyworth, @sc0ttkclark, @jorbin, @socki03, @ocean90, @convissor, @TobiasBg, @TomHarrigan, @jdgrimes, @jcastaneda, @celloexpressions, @avryl, @simonwheatley, @hardy101, @georgestephanis, @jesin, @hugodelgado, @nobleclem, @afercia, @bradyvercher for their core contributions!

RevisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision. covered: [29906] to [29994]. For the complete list of commits to 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., check out the log on Trac.

Interested in joining in? Write or test a patch for 4.1.

#4-1, #week-in-core