Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress 5.8.1 backports #34393

Merged
merged 22 commits into from
Sep 1, 2021
Merged

WordPress 5.8.1 backports #34393

merged 22 commits into from
Sep 1, 2021

Commits on Aug 30, 2021

  1. Fix API docs generation (#33384)

    nosolosw authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    25a8e82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    728dcd7 View commit details
    Browse the repository at this point in the history
  3. Docs: Run Prettier after updating API in documentation (#33498)

    (cherry picked from commit 626f233)
    gziolo authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    6537d4e View commit details
    Browse the repository at this point in the history
  4. Use tabs instead of spaces in block transform doc example (#33549)

    (cherry picked from commit 8afca1e)
    jblz authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    98779bf View commit details
    Browse the repository at this point in the history
  5. Fix metabox reordering (#30617).

    ribaricplusplus authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    c985f56 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    404619f View commit details
    Browse the repository at this point in the history
  7. Widgets: Allow HTML tags in description (#33814)

    * Widgets: Allow HTML tags in description
    
    * Use `dangerouslySetInnerHTML`
    
    Avoid `<div />` inside the `<p />` tag
    
    * Describe by dangerouslySetInnerHTML is used
    
    * Use safeHTML
    
    * Update comment
    Petter Walbø Johnsgård authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    bdaa7b6 View commit details
    Browse the repository at this point in the history
  8. Editor: Set 'hide_empty' for the most used terms query (#33457)

    Don't include terms that aren't assigned to any posts as "most used" terms.
    Mamaduka authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    336aa2a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d9c56de View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    455de81 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    891de6a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5180b56 View commit details
    Browse the repository at this point in the history
  13. FontSizePicker: Use number values when the initial value is a number (#…

    …33679)
    
    * FontSizePicker: Don't use units if the value is a number
    * Add unit tests
    * Disable units when we have number values
    Mamaduka authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    a122eb8 View commit details
    Browse the repository at this point in the history
  14. Fix justification for button block when selected (#33739)

    * Remove margin setting, auto right conflict with justify buttons
    
    * Per review, add little margin back
    mkaz authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    20eb111 View commit details
    Browse the repository at this point in the history
  15. Add error boundaries to widget screens (#33771)

    * Add error boundary to edit widgets screen
    
    * Add error boundary to customize widgets
    
    * Refactor sidebar controls provider to application level so that its state is not lost when re-initializing
    
    * Revert "Refactor sidebar controls provider to application level so that its state is not lost when re-initializing"
    
    This reverts commit 7d607ff.
    
    * Remove rebootability from customize widgets
    
    * Remove debug code
    talldan authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    b4c5c94 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    466c9e3 View commit details
    Browse the repository at this point in the history
  17. Default batch processor: Respect the batch endpoint's maxItems (#34280)

    This updates the default batch processor to make multiple batch requests
    if the number of requests to process exceeds the number of requests that
    the batch endpoint can handle.
    
    We determine the number of requests that the batch endpoint can handle
    by making a preflight OPTIONS request to /batch/v1. By default it is 25
    requests.
    
    See https://make.wordpress.org/core/2020/11/20/rest-api-batch-framework-in-wordpress-5-6/.
    noisysocks authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    40fa01a View commit details
    Browse the repository at this point in the history
  18. Fix button block focus trap after a URL has been added (#34314)

    * Rework button block link UI to match RichText format implementation
    
    * Refine some more, determine visibility by selection and url state
    
    * Add e2e test
    
    * Also focus rich text when unlinking using a keyboard shortcut
    talldan authored and desrosj committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    d888f1c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c388f23 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2021

  1. Fix ESLint errors reported

    gziolo committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    95dc1fd View commit details
    Browse the repository at this point in the history
  2. Regenerate autogenerated docs

    gziolo committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    4cf5f60 View commit details
    Browse the repository at this point in the history
  3. Update the INSERTER_SEARCH_SELECTOR path.

    This is a partial cherry pick of 2356b2d in order to fix the performance tests.
    desrosj committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    90ac898 View commit details
    Browse the repository at this point in the history