[wp-meta] [Making WordPress.org] #30: Make better theme test data for display in the theme directory.
Making WordPress.org
noreply at wordpress.org
Tue Apr 13 23:47:07 UTC 2021
#30: Make better theme test data for display in the theme directory.
-------------------------------------------------+-------------------------
Reporter: whyisjake | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone:
Component: Theme Directory | Resolution:
Keywords: has-patch ui-feedback needs-refresh |
2nd-opinion |
-------------------------------------------------+-------------------------
Comment (by dd32):
Replying to [comment:73 webmandesign]:
> With my new theme in repo ([https://wordpress.org/themes/michelle/
Michelle]) I've just noticed that a theme starter content is displayed in
[https://wp-themes.com/michelle/ theme preview]. Great decision, by the
way! :)
>
> However, I've noticed some **issues with how starter content is
displayed in WPORG theme preview**:
Thanks for the feedback! Due to how starter content works, some things
were handled in a custom manner and may have been skipped accidentally
(Just as we didn't know it was an issue). I'll answer the points I can
right now
> 4. If I understand correctly, first sentence of a theme description
(from theme header in `style.css`) becomes a tagline? This is usually too
long and breaks/uglifies header display.
That wasn't starter-content specific, but yes that's the case.
It uses the first 30 words from the first sentence.
30 was chosen as it's long enough that it works with both themes that
expect a longer description, and themes that don't expect it to be set at
all - A theme should gracefully handle a long tagline IMHO.
> 5. Permalinks structure is honored but doesn't work in the theme
preview. When set to `'/%postname%/'` in the theme starter content, it
produces error 404 **for posts** in theme preview on WPORG.
Themes should not define a permalink structure, at all, and will not be
honoured. Please remove that from the theme..
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/30#comment:74>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list