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

Add a "file size" column to the media library menu #2362

Open
wants to merge 149 commits into
base: trunk
Choose a base branch
from
Open

Add a "file size" column to the media library menu #2362

wants to merge 149 commits into from

Conversation

siaeb
Copy link

@siaeb siaeb commented Feb 25, 2022

One of the things I think should be placed in the core of WordPress is to display the size of various photos and files that are uploaded to the host through WordPress in the media library menu (as a column in the table to make comparison easier). After a while and by adding different files, we do not know which file gets the most size from the host and in general it is very good that the webmaster can easily view the size of different files to make site management easier because according to the experience, This Menu is one of the most sensitive WordPress menus and must be carefully monitored. You can add this feature using the code below ;

Trac ticket:


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

SergeyBiryukov and others added 30 commits January 4, 2022 20:47
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52447 602fd350-edb4-49c9-b593-d223f7449a82
Merges [52454] to the 5.9 branch.
Props dd32, xknown, peterwilsoncc, ehtis.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52458 602fd350-edb4-49c9-b593-d223f7449a82
Merges [52455] to the 5.9 branch.
Props vortfu, xknown, dd32.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52460 602fd350-edb4-49c9-b593-d223f7449a82
Merges [52456] to the 5.9 branch.
Props vortfu, xknown, dd32.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52462 602fd350-edb4-49c9-b593-d223f7449a82
Merges [52457] to the 5.9 branch.
Props zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52464 602fd350-edb4-49c9-b593-d223f7449a82
This change fixes a wrong punctuation in a link description object of the menu items controller endpoint. It also updates qUnit test fixtures accordingly.

Props la-geek, audrasjb, tobifjellner, hellofromtonya, davidbaumwald.
Merges [52535] and [52536] to the 5.9 branch.
Fixes #54745.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52541 602fd350-edb4-49c9-b593-d223f7449a82
The workshops page doesn't specifically show 5.9 content at this stage (and likely won't until much later), so it needs to be changed to learn.wordpress.org homepage.

Props hlashbrooke, audrasjb, davidbaumwald.
Merges [52453] to the 5.9 branch.
Fixes #54755.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52542 602fd350-edb4-49c9-b593-d223f7449a82
The default preset styles of WordPress (font sizes, colors, gradients) are now provided via the global stylesheet to avoid duplication of styles. This stylesheet can be found in the front-end with the name global-styles-inline-css.
The default presets are important to support old content that may use them and also patterns, that can use cross-theme styles.

Props oandregal.
Merges [52547] to the 5.9 branch.
Fixes #54781.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52548 602fd350-edb4-49c9-b593-d223f7449a82
…format.

Themes that use the same preset slugs as WordPress uses need to be updated.
From the devnote https://make.wordpress.org/core/2022/01/08/updates-for-settings-styles-and-theme-json/
The CSS for some of the presets defined by WordPress (font sizes, colors, and gradients) was loaded twice for most themes in WordPress 5.8: in the block-library stylesheet plus in the global stylesheet. Additionally, there were slight differences in the CSS in both places.
In WordPress 5.9 those were consolidated into a single place, the global stylesheet whose name is global-styles-inline-css that is now loaded for all themes in the front-end.
For themes to override the default values they can use the theme.json and provide the same slug. Themes that do not use a theme.json can still override the default values by enqueuing some CSS that sets the corresponding CSS Custom Property. This commit does the second for the twenty twenty theme.

Props oandregal.
Merges [52549] to the 5.9 branch.
Fixes #54782.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52550 602fd350-edb4-49c9-b593-d223f7449a82
- [Block Library - Query Pagination Next]: Hide block if custom query has no results
- [WP 5.9] Fix: HTML tags like inline images in nav links break submenu layout
- Check for nextpage to display page links for paginated posts
- Navigation: Set the default for --navigation-layout-align to "flex-start" when using vertical orientation
- [Block Library - Query Loop]: Use gap for the grid view
- Update page list flex variables to match navigation.
- Site logo: Fix range control on landscape logo
- Restore canvas padding for classic themes
- RichText: Fix dead key input on Windows
- Fix: Impossible to clear colors if color palettes are removed.
- Gallery block: pass any custom attributes through the gallery v2 migration script
- Reduce specificity of legacy font sizes defined by core
- Update: Improve escaping on the search block

See #54487.
Props isabel_brison.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52552 602fd350-edb4-49c9-b593-d223f7449a82
This commit syncs changes for the default theme from its active development repository to core.

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], and [52430]. It includes fixes to the theme's spacing and adds a search template.

To view the full set of changes, visit WordPress/twentytwentytwo@8564fd2...f0346e1.

Props richtabor, kjellr, danieldudzic, scruffian, jffng.
Merges [52555] to the 5.9 branch.
See #54318.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52557 602fd350-edb4-49c9-b593-d223f7449a82
…to print only when blocks render.

In a block theme, additional block styles registered using the wp_enqueue_block_style function should only get printed when the block exists on a page. However, they currently always get 
rendered.

This commit is a backport from Gutenberg that fixes the issue by printing the styles when a block 
renders.

Follow-up to [52069].

Props poena, aristath, Mamaduka.
Merges [52556] to the 5.9 branch.
Fixes #54787.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52559 602fd350-edb4-49c9-b593-d223f7449a82
In `wp_enqueue_block_style` when `rtl` versions of CSS files are detected, `wp_style_add_data` is called to add the metadata to the registered sheet. However, the stylesheet `handle` argument is misspelled as `hanle`. This change corrects the argument name.

Props omaeyusuke.
Merges [52558] to the 5.9 branch.
Fixes #54786.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52560 602fd350-edb4-49c9-b593-d223f7449a82
The home template's description should be: "Displays as the site's home page, or as the Posts page when a static home page isn't set." This commit fixes the typo changing "it" to "isn't".

Follow-up to [52331].

Props kharisblank, talldanwp.
Merges [52554] to the 5.9 branch.
Fixes #54787.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52561 602fd350-edb4-49c9-b593-d223f7449a82
Tone down the brightness of the dashboard panel by using a white background behind the main text, and use the highlight color from each color scheme for the main background. This also introduces a $scheme-name SCSS variable to allow overrides for specific color schemes.

Props critterverse, sabernhardt, joedolson, audrasjb.
Merges [52562] to the 5.9 branch.
Fixes #54489.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52564 602fd350-edb4-49c9-b593-d223f7449a82
Use the correct Field Guide link. Update the SVGs used on Freedoms and Privacy. Add more spacing between sections on the About page, fixed spacing between rows on Freedoms page.

Props critterverse, audrasjb, versusbassz.
Merges [52563] to the 5.9 branch.
See #54270.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52565 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52566 602fd350-edb4-49c9-b593-d223f7449a82
This change avoids a warning thrown by a missing slash in a post thumbnail lazyload related regular expression.

Follow-up to [52065].

Props SierraTR, audrasjb, costdev, flixos90.
Merges [52563] to the 5.9 branch.
Fixes #54815.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52579 602fd350-edb4-49c9-b593-d223f7449a82
This commit syncs minor changes for the default theme from its active development repository to core.

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], [52430], and [52555]. It includes fixes to the group, cover, and template part block padding and removes unnecessary group block wrappers from many patterns.

To view the full set of changes, visit WordPress/twentytwentytwo@69d5c51...91f8748.

Props kjellr, richtabor, audrasjb, jffng.
Merges [52589] to the 5.9 branch.
Fixes #54318.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52590 602fd350-edb4-49c9-b593-d223f7449a82
Reverting changeset due to reported issue of menu being hidden after clicking on certain mobile devices.

Props dhusakovic, audrasjb, SergeyBiryukov, costdev, joedolson.
Reverts [51946] on the 5.9 branch.
See #54837, #53587.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52592 602fd350-edb4-49c9-b593-d223f7449a82
…ditor screens.

Remote block patterns from wp.org were to be loaded through a callback hooked into the `current_screen` filter. Within 2 callbacks, i.e. `_load_remote_featured_patterns()` and `_load_remote_block_patterns()`, a guard clause bailed out early if the `$current_screen->is_block_editor` is `false`.

However, the `current_screen` filter is unreliable to detect the block editor. Why? In the block and Site Editor screens, `$current_scren->is_block_editor` is not set until after the filter is executed. Whoopsie.

This commit no longer uses the `current_screen` filter. Instead, it explicitly loads the remote block patterns by invoking both private functions (now not callbacks) directly in the screen files for the block and site editor screens.

With this change, passing `WP_Screen` object into these functions is no longer needed. As the `_load_remote_block_patterns()` function was introduced in 5.8.0, its function parameter is now deprecated and the guard clause retained for backwards compatibility.

Follow-up to [51021], [52377].

Props poena, noisysocks, peterwilsoncc, hellofromTonya, audrasjb.
Merges [52593] to the 5.9 branch.
Fixes #54806.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52594 602fd350-edb4-49c9-b593-d223f7449a82
Update packages to include these bug fixes from Gutenberg:

- Stop keypresses being caught by other elements when they happen in a CustomSelectControl
- Remove color, spacing, and layout options for Template Part block
- Try: parse shortcode blocks outside the content
- Fix aria-modal attribution with multiple navs on page
- Gallery block: Remove warning notice about mobile version required
- Fix Home template description typo 
- Fix enqueueing additional styles for blocks only when rendered
- fix typo (hanle -> handle)
- SelectControl: mark the children prop as optional
- Remove warning for enqueued styles in Editor
- Add context to font style and font weight related translation strings
- Temporarily remove text decoration from Nav block
- Fix empty secondary sidebar overlapping widget editor content on mobile viewports
- Fix hiding the bottom of tablet/mobile preview in Site Editor

See #54487.
Props isabel_brison.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52596 602fd350-edb4-49c9-b593-d223f7449a82
Update packages to include these bug fixes from Gutenberg:
Navigation Block: update micromodal to 0.4.10 to fix menu close button on mobile

Props ryelle, poena, get_dave, talldanwp, aristath, kjellr, audrasjb, desrosj.
Merges [52598] to the 5.9 branch.
See #54487.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52599 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52600 602fd350-edb4-49c9-b593-d223f7449a82
This commit updates the required WordPress version of the 2022 default theme to 5.9 in advance of its release on January 25.

Props hellofromtonya, kjellr, desrosj.
Merges [52612] and [52613] to the 5.9 branch.
Fixes #54318.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52614 602fd350-edb4-49c9-b593-d223f7449a82
[52549] updated some default presets in use by default themes to the new format. However, this change would cause elements to lose their styling when active on an older version of WordPress.

Merges [52615] to the 5.9 branch.
See #54782.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52616 602fd350-edb4-49c9-b593-d223f7449a82
These tests are failing after [52614], which raised the minimum version of WordPress required for Twenty Twenty-Two. Since the value of `$wp_version` is still less than 5.9, these are failing.

After `$wp_version` is officially bumped to `5.9`, these should be removed.

Props hellofromTonya, Clorith.
See #54318.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52617 602fd350-edb4-49c9-b593-d223f7449a82
This bumps the versions of the default bundled themes in preparation for release with WordPress 5.9.

The new versions are:
- Twenty Ten: 3.6
- Twenty Eleven: 4.0
- Twenty Twelve: 3.6
- Twenty Thirteen: 3.5
- Twenty Fourteen: 3.3
- Twenty Fifteen: 3.1
- Twenty Sixteen: 2.6
- Twenty Seventeen: 2.9
- Twenty Nineteen: 2.2
- Twenty Twenty: 1.9
- Twenty Twenty-One: 1.5

Props audrasjb.
Merges [52618] to the 5.9 branch
Fixes #54783.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52619 602fd350-edb4-49c9-b593-d223f7449a82
desrosj and others added 21 commits October 17, 2022 18:08
Package updates for bug fixes:

* @wordpress/block-directory: 3.0.30
* @wordpress/block-library: 6.0.29
* @wordpress/customize-widgets: 2.0.30
* @wordpress/edit-post: 5.0.30
* @wordpress/edit-site: 3.0.30
* @wordpress/edit-widgets: 3.1.25
* @wordpress/widgets: 2.0.25

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54564 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54580 602fd350-edb4-49c9-b593-d223f7449a82
Props rezakhan995, costdev.
Fixes #56862.
See #56792.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54655 602fd350-edb4-49c9-b593-d223f7449a82
…ocblock.

Props rakibwordpress, audrasjb, SergeyBiryukov.
Fixes #56867.
See #56792.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54656 602fd350-edb4-49c9-b593-d223f7449a82
Unprops audrasjb.
See #56867, #56792, #56862, #56792.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54657 602fd350-edb4-49c9-b593-d223f7449a82
This resolves a bug in Featured Image blocks where `object-fit` was being removed during the `render_callback`.

Props raduiason, pbiron, kebbet, SergeyBiryukov, bernhard-reiter, ironprogrammer, xknown, audrasjb, ckanderson22, ivanjeronimo, seriouslysenpai, davidbaumwald.
Merges [54675] to the 5.9 branch.
Fixes #56855.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54764 602fd350-edb4-49c9-b593-d223f7449a82
Remove wordpress.org as an external dependency testing `WP_HTTP::handle_redirects()`.

This refactors and reenables an existing test to call the `WP_HTTP::handle_redirects()` method directly with a mocked array of HTTP headers containing multiple location headers.

The test is moved from the external-http group to the http test group as it no longer makes an HTTP request.

Follow up to [54955].

Props SergeyBiryukov, dd32, peterwilsoncc.
Merges [54968] to the 5.9 branch.
Fixes #57306.
See #56793.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54976 602fd350-edb4-49c9-b593-d223f7449a82
This changeset adds two additional translation strings in the changelog file, for use when releasing the final version of WordPress on a particular branch.

Props peterwilsoncc, audrasjb, mukesh27.
Merges [55350] to the 5.9 branch.
Fixes #57216.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@55373 602fd350-edb4-49c9-b593-d223f7449a82
As of PHP 8.1.12, which includes libmagic/file update to version 5.42, the expected mime type for WOFF files has changed to `font/woff`, so the type needs to be adjusted accordingly in `wp_check_filetype_and_ext()` tests.

References:
* [php/php-src#8805 php-src: #8805: finfo returns wrong mime type for woff/woff2 files]
* [https://www.php.net/ChangeLog-8.php#8.1.12 PHP 8.1.12 changelog]

Follow-up to [40124], [54508], [54509], [54724].

Props desrosj, jrf, costdev, SergeyBiryukov.
Merges [55462] to the 5.9 branch.
Fixes #56817.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@55498 602fd350-edb4-49c9-b593-d223f7449a82
This backports several changesets to GitHub Actions workflows. These changesets:

- address the deprecated notices related to save-output and set-output to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- removes workflow files that are not applicable to the branch.

Merges [53736], [53737], [53940], [53947], [54039], [54108], [54293], [54313], [54342], [54343], [54373], [54511], [54649], [54650], [54651], [54674], [54750], [54852], [55152], [55487] to the 5.9 branch.
See #55652, #56407, #54695, #56820, #56816, #56793, #56820, #57572.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@55516 602fd350-edb4-49c9-b593-d223f7449a82
Missed in [55516].


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@55536 602fd350-edb4-49c9-b593-d223f7449a82
- Media: Prevent CSRF setting attachment thumbnails.
- Embeds: Add protocol validation for WordPress Embed code.
- I18N: Introduce sanitization function for locale.
- Editor: Ensure block comments are of a valid form.
- Editor: Remove shortcode support from block templates.

Merges [55760-55764] to the 5.9 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@55774 602fd350-edb4-49c9-b593-d223f7449a82
Follow up to [55761].

Props youknowriad, Clorith, desrosj, antpb, Otto42, johnbillion, jorbin, rmccue, timothyblynjacobs, mikeschroder, peterwilsoncc, audrasjb, matveb, noisysocks, xknown, ehtis, isabel_brison, talldanwp, gziolo, chriscct7, davidbaumwald.
Merges [55828] to the 5.9 branch.
See #58333.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@55832 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@55836 602fd350-edb4-49c9-b593-d223f7449a82
- REST API: Limit `search_columns` for users without `list_users`.
- Comments: Prevent users who can not see a post from seeing comments on it.
- Application Passwords: Prevent the use of some pseudo protocols in application passwords.
- Restrict media shortcode ajax to certain type
- REST API: Ensure no-cache headers are sent when methods are overriden.
- Prevent unintended behavior when certain objects are unserialized.

Merges [56833], [56834], [56835], [56836], [56837], and [56838] to the 5.9 branch.
Props xknown, jorbin, Vortfu, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, martinkrcho, paulkevan, dd32, antpb, rmccue.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@56875 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@56891 602fd350-edb4-49c9-b593-d223f7449a82
This changes the default value for `LOCAL_PHP` in the 5.9 branch from `latest` to `8.1-fpm` to reflect the highest version of PHP this branch will support (with beta support).

After this change, future updates to the `latest` container built and published by the `wpdev-docker-images` repository will not cause failures in this branch.

This also pins the version of PHP used in the E2E test workflow to PHP 8.0 to avoid deprecated notices related to #54914, which was not fixed until version 6.1.

Follow up to [57198], [57199], [57200].

See #60095.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@57201 602fd350-edb4-49c9-b593-d223f7449a82
- Install: When populating options, maybe_serialize instead of always serialize.
- Uploads: Check for and verify ZIP archives.

Merges [57388] and [57389] to the 5.9 branch.

Props costdev, peterwilsoncc, azaozz, tykoted, johnbillion, desrosj, afragen, jorbin, xknown.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@57396 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@57433 602fd350-edb4-49c9-b593-d223f7449a82
Follow up to [57433].

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@57447 602fd350-edb4-49c9-b593-d223f7449a82
Due to some changes on the WP.com side to compress the requested images on the fly, the exact image size in the response could be different between platforms.

This commit aims to make the affected tests more reliable.

Follow-up to [139/tests], [31258], [34568], [47142], [57903], [57904], [57924].

Merges [57931] to the 5.9 branch.

Props peterwilsoncc, jorbin.
See #60865.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@57992 602fd350-edb4-49c9-b593-d223f7449a82
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props sergeybiryukov, desrosj, audrasjb, jorgefilipecosta, noisysocks, hellofromtonya, davidbaumwald, ryelle, peterwilsoncc, ocean90.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

desrosj and others added 8 commits June 6, 2024 16:34
This updates the 5.9 branch to utilize the new reusable workflows in trunk introduced in [58165].

This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The `image` and `platform` properties for the `mysql` container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Run E2E tests with and without `SCRIPT_DEBUG` (#58661).
- Migrating to Docker Compose V2 (#60901).
- Removing the `version` property from `docker-compose.yml` (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Move the Memcached container into the Docker Compose config (#55700).
- Configure Xdebug modes in the local Docker environment (#56022).

Merges [53895], [53552], [56113], [56114], [57918], [58157], [57124], [57125], [57249] to the 5.9 branch.

Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen.
See #55700, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213, #58661.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58358 602fd350-edb4-49c9-b593-d223f7449a82
This change was missed in [58258].

Unprops desrosj.
See #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58359 602fd350-edb4-49c9-b593-d223f7449a82
- Editor: Fix Path Traversal issue on Windows in Template-Part Block.
- Editor: Sanitize Template Part HTML tag on save.

Merges [58470], [58471], [58472] and [58473] to the 5.9 branch.
Props xknown, peterwilsoncc, jorbin, bernhard-reiter, azaozz.




git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58483 602fd350-edb4-49c9-b593-d223f7449a82
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58508 602fd350-edb4-49c9-b593-d223f7449a82
Follow up to [58358].

Props jorbin.
See #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58593 602fd350-edb4-49c9-b593-d223f7449a82
Follow up to [58645] for the 5.9 branch.

Props jorbin.
See #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58655 602fd350-edb4-49c9-b593-d223f7449a82
…VERSION`.

This changes the default values for `LOCAL_PHP` and `LOCAL_DB_VERSION` in the 5.9 branch from `latest` to `8.1-fpm` (with beta support) and `5.7`, respectively, to properly reflect the highest versions of PHP and MySQL that this branch will support.

See #61533.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58664 602fd350-edb4-49c9-b593-d223f7449a82
This re-adds Slack notices for the E2E workflow in the 5.9 branch.

These were mistakenly removed in [58358].

See #61733, #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@58794 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.