#25948 closed task (blessed) (fixed)
THX - themes.php updates based on THX38 plugin
Reported by: | matveb | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.8 | Priority: | highest omg bbq |
Severity: | normal | Version: | 3.8 |
Component: | Customize | Keywords: | |
Focuses: | Cc: |
Description
Reference: http://make.wordpress.org/core/2013/10/23/thx-presentation/
Tracking merges from plugins.svn.wordpress.org/thx38/ to core here.
Attachments (11)
Change History (68)
#3
@
11 years ago
@nacin: You forgot to remove var_dump(): http://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/theme.php?rev=26141#L401
#4
@
11 years ago
- Milestone changed from Awaiting Review to 3.8
- Resolution fixed deleted
- Status changed from closed to reopened
#5
@
11 years ago
I found two issues while working with the Themes page today:
- The themes are sorted by directory name and not the theme name. This can cause odd issues where some themes seem randomly sprinkled into an otherwise alphabetically-sorted list.
- The "Broken Themes" information seems to have no specific styling added in order to make it work with the new design. Currently, it is floating up towards the top of the page and has slid underneath the Search box.
I would supply patches for each, but I don't know the preferred way to sort the themes and I don't know if there is an existing design to handle the broken themes listing.
@
11 years ago
Lots of cleanup. No more IDs. Exposes problems with overlays + routes matveb is looking into.
#8
@
11 years ago
The above simplifies the detailed view rendering when navigating to prev-next themes using routes for all the heavy lifting. Side benefit, there's no more nesting of div.theme-overlay
.
#10
@
11 years ago
25948.2.diff needs a refresh.
#14
@
11 years ago
There's a set of Delete Theme action links on the themes page, which are currently display none'd. See .theme .delete-theme
generated from tmpl-theme
. Doesn't look like they're actually used for anything best I could tell.
#15
@
11 years ago
Added a fix for not showing the "Add new theme" in the theme list when you don't have the rights
#16
@
11 years ago
I'm not sufficient for a proper JS review, but looks good to me. Follows the established pattern, checks the right cap, and disallows for multisite.
#18
follow-up:
↓ 19
@
11 years ago
New patch that checks if an theme has an image. Not sure if a theme block should have a background color like white.
#19
in reply to:
↑ 18
@
11 years ago
Replying to markoheijnen:
New patch that checks if an theme has an image. Not sure if a theme block should have a background color like white.
See #25959
#20
@
11 years ago
Listing related open tickets:
#26003 (current theme visual updates)
#25983 (clear fix for infinite scroll)
#25981 (use _.throttle)
#25967 (highlight color from color scheme)
#25966 (move CSS to wp-admin.css)
#25964 (no-js fallback)
#25963 (updates to Backbone.Router)
#25962 (show detailed view for users without switch capabilities)
#25961 (better overlay sizes)
#25960 (add-new link needs fixing)
#26078 (show update details)
#24
follow-up:
↓ 25
@
11 years ago
In 26320:
Themes: Remove some unused invalid CSS. See #25948
Ok, so those vw units were legit & not a typo, sorry about that.. The selector however wasn't, no elements matched, and none of the closest matches to it could actually make use of the rule as far as I could see.
#25
in reply to:
↑ 24
@
11 years ago
Replying to dd32:
Ok, so those vw units were legit & not a typo, sorry about that.. The selector however wasn't, no elements matched, and none of the closest matches to it could actually make use of the rule as far as I could see.
The selector changed during the cleanup and this wasn't updated. I'll take a look and see if we still need some of it.
#35
@
11 years ago
was that intentional?
Nope, hold over from a patch for #26003 - thanks for picking that up.
#36
@
11 years ago
Should wp-admin/includes/class-wp-themes-list-table.php
be removed, then? MS list table is a separate file/class, as is install.
#38
@
11 years ago
@dd32 in [26470] you removed customizeURI
from wp.themes.data.settings
but it's still in use in wp-admin/themes.php so the Customize link is now broken. See 25948.6.diff.
#39
@
11 years ago
Or rather 25948.7.diff.
#41
@
11 years ago
Can anyone explain how themes.data.settings.extraRoutes
is supposed to work? It doesn't look like _.extend()
on themes.routes
in theme.js is working as expected so there's really nothing we can do with those extra routes, unless I'm missing something.
To add the ability to browse themes from subfolders, I had to extend wp.themes.routes manually, which feels rather hacky.
#43
@
11 years ago
To add the ability to browse themes from subfolders
Core supports themes 2 levels deep (/wp-content/themes/prefix/theme-name/style.css
) so we need to support that in core.
#50
follow-up:
↓ 51
@
11 years ago
In 25948.8.diff: add a filter to wp_prepare_themes_for_js
similar to how we filter wp_prepare_attachment_for_js
.
#51
in reply to:
↑ 50
;
follow-up:
↓ 53
@
11 years ago
Replying to kovshenin:
In 25948.8.diff: add a filter to
wp_prepare_themes_for_js
similar to how we filterwp_prepare_attachment_for_js
.
Use case?
In 26141: