Last Week in WordPress Core

Howdy! This is Last Week in WordPress CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. for the week of February 17th-February 23rd. A few commits to highlight this week, but before we get to that, a quick update from the trac sprint last friday.

Friday TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. Sprint

Thanks to everyone who participated! Great progress was made during the trac sprint last friday, triaging and replying to the tickets that need a response. Working together, we brought the number of tickets down by 200! But, we’re not done yet! Minus the 50 tickets created by committers/gardners, there are 191 left. If you’re interested in helping out, check out @nacin‘s notes on providing feedback. As always, feel free to ask for help in #wordpress-dev if you run into any questions.

Internals & Backbone.js

  • Added support for ext/mysqli, which will be used by default in PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher 5.5 or greater. Please test this, as it’s quite possible it will cause issues. r27250 #21663
  • Updated Backbone.js to version 1.1.2. r27233 #27182
  • Added an abstraction for groups of media in media-editor.js called wp.media.collection and refactored galleries to use them. r27212 r27213 r27214 r27215 r27238 #26631
  • Added boolean return values to require_if_theme_supports(). r27217 #26716
  • Declared and documented $wpdb->base_prefix. r27249 #16762

Media

  • First pass of a/v playlist support. Please test, and note on the bug if you notice anything amiss! A few details from the commits: ( r27239 r27242 r27243 r27244 r27245 #26631 )
    • Playlists operate like galleries in the adminadmin (and super admin).
    • Provides default UIUI User interface and JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. support in themes using MediaElement and Backbone.
    • The shortcodes are clickable, editable, and configurable using the media modal.
    • Playlists support images for each item, whether or not the current theme supports images for attachment:audio and attachment:video
    • Playlists respond to $content_width and resize videos accordingly.
    • All playlist data is included inline, using a script 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.) with type="application/json", allowing anyone to unenqueue the WP playlist JS and roll their own.
    • Playlist styles are minimal and work out of the box in the last 5 default themes. They inherit and adapt to the current theme’s font styles, and their rules are easily overrideable.

Dev/Build Tools

  • First pass in adding an .editorconfig file, to aid contributors in following the WordPress coding standards. r27198 #26429
  • Re-split wp-admin.css, using @import in src, and using grunt and cssmin as build tools to combine them for build/. Re-tool CSSCSS Cascading Style Sheets. inclusion methods to match. r27195 #26669 r27199 r27200 r27203 r27204 #12506 #20729
  • Updated version of grunt-autoprefixer. Now supports the ms-touch-action prop for IE10. Run grunt autoprefixer:core to re-add the missing props in media-view.css. r27236 #27078

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. Want to help out this week? Write or test a patch for 3.9.

Thanks to aaroncampbell, avryl, azaozz, bcworkz, brasofilo, corvannoorloos, danielbachhuber, dougwollison, DrewAPicture, ericlewis, gcorne, helen, ipstenu, jeffsebring, jorbin, juliobox, kovshenin, kpdesign, MattyRob, meloniq, nacin, netweb, ocean90, OriginalEXE, pento, scribu, SergeyBiryukov, shelob9, theorboman, TobiasBg, wonderboymusic, and everyone who helped out with the ticketticket Created for both bug reports and feature development on the bug tracker. triagetriage The act of evaluating and sorting bug reports, in order to decide priority, severity, and other factors. last Friday for their efforts this week!

#3-9, #week-in-core