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

Backport fixes to WordPress 5.5 beta2 #23903

Merged
merged 15 commits into from
Jul 13, 2020
Merged

Commits on Jul 13, 2020

  1. Fix an issue where dragging while the page has no scrollbar results i…

    …n a console error (#23666)
    talldan authored and youknowriad committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    9cefb98 View commit details
    Browse the repository at this point in the history
  2. Fix issue where block inserted in wrong place when selection is in ne…

    …sted block list, but root appender is used. (#23668)
    
    * Remove use of getSelectionEnd to determine where blocks should be inserted
    
    * Add e2e tests
    talldan authored and youknowriad committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    8cfc303 View commit details
    Browse the repository at this point in the history
  3. When editing, pass the edited image src. (#23703)

    Image edit: Fix cases where the edited Image src doesn't match the attachment ID. Includes backwards compatibility for WordPress 5.4 or lower.
    azaozz authored and youknowriad committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    6990a40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1279221 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d2b0cff View commit details
    Browse the repository at this point in the history
  6. Search: Fix attribute defaults (#23777)

    * Search: Fix attribute defaults
    
    Prior to d26842b, the Search block's label and buttonText attributes
    defaulted to `__( 'Search' )`. This meant that adding a Search block to
    a post or page resulted in `<!-- wp:search /-->` being inserted into the
    HTML.
    
    In d26842b, the defaults were removed so that Search could use a
    block.json file. The default values were instead implemented using a
    default block variation.
    
    This, however, meant that Search blocks added prior to d26842b would
    render with a blank label and button.
    
    This fix is to default label and buttonText to `__( 'Search' )` in the
    render_callback. Care must be taken here to permit these attributes to
    be '' in which case the label and/or button are hidden.
    
    * Try to trick GitHub into re-running tests
    noisysocks authored and youknowriad committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    4d9b3dc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bea68d1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d90e5b View commit details
    Browse the repository at this point in the history
  9. Avoid rerendering the PostSavedState component on each change (#23829)

    Co-authored-by: Zebulan Stanphill <zebulanstanphill@protonmail.com>
    youknowriad and ZebulanStanphill committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    9106506 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b7643f6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    af2292f View commit details
    Browse the repository at this point in the history
  12. Set quick inserter content width to 100% on screens below 782px (#23896)

    Co-authored-by: Riad Benguella <benguella@gmail.com>
    javidalkaruzi and youknowriad committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    13bcfb2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9d3ff14 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    30177f9 View commit details
    Browse the repository at this point in the history
  15. Fix package.lock diff

    youknowriad committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    f20dd41 View commit details
    Browse the repository at this point in the history