Permalink
Commits on Jan 31, 2016
  1. Install FoundationPress

    Giannisduke committed Jan 31, 2016
Commits on Jan 30, 2016
  1. Comments: Add back `$req` variable in `comments_template()`.

    rachelbaker committed Jan 30, 2016
    The variables in `comments_template()` should never be assumed to be unused. This function includes the `comments.php` template file from the active theme or falls back to `theme-compat/comments.php`. This is why including a file within a function only brings pain and sorrow.
    
    Reverts r36322.
    
    See #35473.
    Built from https://develop.svn.wordpress.org/trunk@36425
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Comments: Add a back link to `wp_die()` comment form submission error…

    rachelbaker committed Jan 30, 2016
    … display.
    
    Fixes #4332.
    
    Props wonderboymusic, westonruter, shamess, rachelbaker.
    Built from https://develop.svn.wordpress.org/trunk@36424
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. After [36171] remove all the occurrences of the old CSS clearfix.

    afercia committed Jan 30, 2016
    The old clearfix was applied to very specific items and defined multiple times
    across CSS files. Uses the new generic `.wp-clearfix` utility class instead.
    
    See #26396.
    Built from https://develop.svn.wordpress.org/trunk@36422
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Update Random_Compat to the latest version (1.1.6).

    dd32 committed Jan 30, 2016
    See #35665
    
    Built from https://develop.svn.wordpress.org/trunk@36421
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jan 29, 2016
  1. Simplify action placement in `update_metadata()`.

    boonebgorges committed Jan 29, 2016
    By combining a number of `foreach` loops, we make the code more readable and
    potentially faster in the case where many metadata rows are being updated.
    
    Props Shelob9.
    Fixes #35652.
    Built from https://develop.svn.wordpress.org/trunk@36420
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jan 28, 2016
  1. Menus: Remove a redundant and unused `0` parameter from the `Delete M…

    dd32 committed Jan 28, 2016
    …enu` link on the nav menus admin screen.
    
    Fixes #35641.
    
    Built from https://develop.svn.wordpress.org/trunk@36419
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Pass additional params to 'get_archive_links' filter.

    boonebgorges committed Jan 28, 2016
    Props sebastian.pisula.
    Fixes #35573.
    Built from https://develop.svn.wordpress.org/trunk@36418
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Networks and sites: Replace "blog" usage with "site" in docs.

    ericandrewlewis committed Jan 28, 2016
    Multisite functions use the term "blog" to refer to what we now call a "site," e.g. `get_current_blog_id()`. These functions are here to stay because of our commitment to backwards compatibility. What we can do is set the documentation straight.
    
    See #35417.
    
    Built from https://develop.svn.wordpress.org/trunk@36417
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Networks and sites: Replace "blog" usage with "site" in docs.

    ericandrewlewis committed Jan 28, 2016
    Multisite functions use the term "blog" to refer to what we now call a "site," e.g. `get_current_blog_id()`. These functions are here to stay because of our commitment to backwards compatibility. What we can do is set the documentation straight.
    
    See #35417.
    
    Built from https://develop.svn.wordpress.org/trunk@36416
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jan 27, 2016
  1. Fix set up/tear down of post types in comment query test.

    boonebgorges committed Jan 27, 2016
    Introduced in [31015].
    
    Props kouratoras.
    Fixes #35633.
    Built from https://develop.svn.wordpress.org/trunk@36415
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Customizer: Export `nonce`, `theme`, and `url` app settings in previe…

    westonruter committed Jan 27, 2016
    …w as exported in pane.
    
    * Introduce `WP_Customize_Manager::get_nonces()` to consolidate logic for retrieving nonces.
    * Export nonces centrally in `wp.customize.settings.nonce` with each request and update nav menus preview to utilize.
    * Send updated nonces to preview upon `nonce-refresh`.
    * Request full preview refresh if Nav Menu selective refresh request fails (e.g. due to bad nonce).
    * Update nav menus and widgets in Customizer to utilize `customize_refresh_nonces` for exporting nonces and keeping them up to date.
    
    See #27355.
    Fixes #35617.
    
    Built from https://develop.svn.wordpress.org/trunk@36414
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Multisite: Add the global cache group `sites` to `restore_current_blo…

    ocean90 committed Jan 27, 2016
    …g()` and `wp_start_object_cache()`.
    
    See #32450.
    Built from https://develop.svn.wordpress.org/trunk@36413
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Multisite: Add the global cache group `networks` to `restore_current_…

    ocean90 committed Jan 27, 2016
    …blog()`.
    
    Missed in [36258].
    
    See #35251.
    Built from https://develop.svn.wordpress.org/trunk@36411
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Build/Test Tools: Move class `WP_UnitTest_Factory` into its own file.

    ericandrewlewis committed Jan 27, 2016
    In [36347] we moved all PHP factory classes into their own files except the main class. The main class is now in its own file, and `factory.php` is solely an include manifest for all factory classes.
    
    Built from https://develop.svn.wordpress.org/trunk@36409
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  6. General: Document the difference between site_url() and home_url().

    ericandrewlewis committed Jan 27, 2016
    `site_url()` returns a url where WordPress application files are accessible (e.g. where the `wp-admin/` folder resides). `home_url()` returns a url where the front-end of the WordPress site can be visited.
    
    See #35238.
    
    Built from https://develop.svn.wordpress.org/trunk@36408
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jan 26, 2016
  1. Customizer: Improve parity between JS Setting models in preview with …

    westonruter committed Jan 26, 2016
    …JS Setting models in pane.
    
    * Ensure that Setting `Value` objects in preview get initial `_dirty` flag set if values among POST data.
    * Upon `saved` event, send `saved` message to preview with the `response` to trigger `saved` event there.
    * Reset `_dirty` flag for all setting `Value` objects in preview upon `saved`.
    * Continue to create settings synced from pane even after initial bootstrap, and create them as dirty.
    * Ensure that `id` property is set for setting `Value` objects in preview.
    
    See #27355.
    Fixes #35616.
    
    Built from https://develop.svn.wordpress.org/trunk@36407
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Accessibility: Improve the focus style on the Credits screen.

    afercia committed Jan 26, 2016
    Leads and contributing developers will now look nicer when focused.
    Also, combines adjacent image and text links for the same resource thus
    simplifying markup and reducing noise for screen reader users.
    
    Props walbo, afercia.
    Fixes #34953.
    Built from https://develop.svn.wordpress.org/trunk@36406
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Comments: Fire an action after a comment is removed from object cache.

    ericandrewlewis committed Jan 26, 2016
    When a comment is removed from the object cache, the `clean_comment_cache` action is now fired. This provides plugin and theme developers a chance to perform secondary cache invalidation as needed.
    
    Props spacedmonkey.
    Fixes #35610.
    
    Built from https://develop.svn.wordpress.org/trunk@36405
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Query: Respect 'suppress_filters' when filtering search-related SQL.

    boonebgorges committed Jan 26, 2016
    Props 5um17.
    Fixes #35594.
    Built from https://develop.svn.wordpress.org/trunk@36404
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Introduce `$comment_status` and `$ping_status` params for `WP_Query`.

    boonebgorges committed Jan 26, 2016
    Props birgire.
    Fixes #35601.
    Built from https://develop.svn.wordpress.org/trunk@36403
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  6. Allow `is_post_type_viewable()` to accept a post type name.

    boonebgorges committed Jan 26, 2016
    Previously, it accepted only a post type object.
    
    Props spacedmonkey.
    Fixes #35609.
    Built from https://develop.svn.wordpress.org/trunk@36402
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  7. Add tests for `is_post_type_viewable()`.

    boonebgorges committed Jan 26, 2016
    See #35609.
    Built from https://develop.svn.wordpress.org/trunk@36401
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  8. Pass `$clean_taxonomy` param to 'clean_term_cache' action.

    boonebgorges committed Jan 26, 2016
    Props spacedmonkey.
    Fixes #35611.
    Built from https://develop.svn.wordpress.org/trunk@36399
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  9. Docs: Correct return value for `is_allowed_http_origin()`.

    SergeyBiryukov committed Jan 26, 2016
    Props kraftbj.
    Fixes #35607.
    Built from https://develop.svn.wordpress.org/trunk@36398
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  10. Plugins: Clarify that mu-plugins can't be "active" in docs.

    ericandrewlewis committed Jan 26, 2016
    Plugins installed in the plugins/ folder can be activated by users. This puts the plugin in an "active" state. Plugins in the mu-folder/ are "must-use" plugins that are always loaded. They can't be activated, and thereby can't be "active." Because of this, using the `is_plugin_active()` or `is_plugin_active_for_network()` returns false when checking for these plugins. This clarifies that behavior in the functions' docs.
    
    Built from https://develop.svn.wordpress.org/trunk@36397
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  11. Accessibility: Improve the color contrast ratio replacing the residua…

    afercia committed Jan 26, 2016
    …l occurrences of the `#777` gray.
    
    Uses the existing `#72777c` on white backgrounds and the new `#555d66` "dark medium gray" on darker backgrounds.
    
    Fixes #35605.
    Built from https://develop.svn.wordpress.org/trunk@36396
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jan 25, 2016
  1. Accessibility: Fix the color contrast ratio in the login screen.

    afercia committed Jan 25, 2016
    Props scarinessreported for the initial patch.
    Fixes #31548.
    Built from https://develop.svn.wordpress.org/trunk@36395
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Pass data consistently on plugin, network plugin, and network theme s…

    obenland committed Jan 25, 2016
    …creens.
    
    List tables on these three screens look similar but come with unexpected caveats.
    The network themes screen in particular has been neglected, using a `.plugin`
    class to inherit its sibling's styles and not providing classes and data
    attributes that the other two offer. This will provide some more consistency.
    
    Fixes #35335.
    
    
    Built from https://develop.svn.wordpress.org/trunk@36394
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Multisite: Introduce the WP_Site class.

    jeremyfelt committed Jan 25, 2016
    * A `WP_Site` object initially matches a row from `wp_blogs`.
    * A site can be retrieved by its ID through `WP_Site::get_instance()`.
    * Adds `sites` to the global cache group and captures instance lookups.
    * The multisite bootstrap now ensures `$current_blog` is an instance of `WP_Site`.
    
    Props johnjamesjacoby, jeremyfelt.
    See #32450.
    
    Built from https://develop.svn.wordpress.org/trunk@36393
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Docs: Fix indentation in `add_filter()` example.

    ocean90 committed Jan 25, 2016
    See #32246.
    Built from https://develop.svn.wordpress.org/trunk@36392
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Docs: Fix parameter documentation ordering in the hook docs for the `…

    DrewAPicture committed Jan 25, 2016
    …register_taxonomy_args` filter.
    
    See #32246.
    
    Built from https://develop.svn.wordpress.org/trunk@36391
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jan 24, 2016
  1. i18n tools: Add the text domain to translate_nooped_plural() calls as…

    westi committed Jan 24, 2016
    … well.
    
    Fixes #34126 props jrf.
    
    Built from https://develop.svn.wordpress.org/trunk@36390
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@36357 1a063a9b-81f0-0310-95a4-ce76da25c4cd