Opened 12 years ago
Last modified 7 years ago
#31252 new defect (bug)
grid view in media library malfunctioning in Simplified Chinese install
| Reported by: | kidsguide | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 4.1 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: | administration |
Description
Media library grid breaks in Simplified Chinese install.
https://wordpress.org/support/topic/the-grid-view-of-media-gallery-is-malfunctioning-in-simplified-chinese-install?replies=1
Attachments (1)
Change History (13)
#3
@
12 years ago
- Keywords reporter-feedback removed
OK, I can reproduce now. Investigating.
My steps:
- Switched to zh_CN locale from General Settings.
- For some reason, it displayed a 4.1 update nag, although I already was on 4.1.
- After I reinstalled it via the Updates screen, I could reproduce the issue.
#4
follow-up:
↓ 5
@
12 years ago
in English
media-views-css is loaded before wp-admin-css
in Chinese
wp-admin-css is loaded before media-views-css
no idea why at the moment :)
thanks to the CSS cascade:
in English:
.wp-filter
position: relative;
wins on
.media-toolbar
position: absolute;
in Chinese: vice-versa
#5
in reply to: ↑ 4
@
12 years ago
- Milestone Awaiting Review → 4.2
Replying to afercia:
in English
media-views-css is loaded before wp-admin-css
in Chinese
wp-admin-css is loaded before media-views-css
Caused by bundled stylesheets in the zh_CN build.
Those styles were merged into core in [19825] and should be removed from the package.
#6
follow-ups:
↓ 7
↓ 8
@
11 years ago
I don't think there's any way this should be a blocker for 4.2, given that it's in a separate package. There's nothing specific we can do in core right now.
@dallaslu, @franklsf, @jimmyxu, @xslidian, @dreamcolor, @jiehanzheng, @musiclog: As cn validators, can you ensure that the Chinese styles are removed from the package going forward? Note that we merged them into core in [19825].
#7
in reply to: ↑ 6
@
11 years ago
Replying to samuelsidler:
There's nothing specific we can do in core right now.
We could make the affected CSS rules a bit more specific (e.g. prepended with .wp-core-ui), so that the order of files doesn't matter. That should make it more future-proof. But yeah, removing obsolete files from the zh_CN build is a simple fix for now.
#8
in reply to: ↑ 6
@
11 years ago
Replying to samuelsidler:
As cn validators, can you ensure that the Chinese styles are removed from the package going forward? Note that we merged them into core in [19825].
Will do when I prepare for 4.2 :)
This ticket was mentioned in Slack in #core by drew. View the logs.
11 years ago
#10
@
11 years ago
- Milestone 4.2 → Future Release
Moving off of 4.2. We can do @SergeyBiryukov's recommendation in comment 7, but it won't block 4.2, given that the zh_CN team will fix this in their build.
#12
@
11 years ago
- Focuses administration added
- Keywords needs-patch added; needs-refresh removed
@kidsguide 'needs refresh' is used when there's a patch applied to a ticket that no longer can be cleanly applied to the SVN repository of WordPress core.
In this case, there's no patch, so 'needs patch' is what needs to be done
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Could not reproduce on a clean install: 31252.png. Which browser and OS is the reporter using?
This should probably remain on support forums until the bug is identified and confirmed.