Opened 13 months ago
Closed 8 months ago
#20837 closed defect (bug) (worksforme)
About WordPress: Wrap class/function names into code tags
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Help/About | Version: | 3.4 |
| Severity: | minor | Keywords: | has-patch rtl-feedback |
| Cc: |
Description
Just needs some magic from Nacin for GlotPress.
Attachments (4)
Change History (16)
comment:5
follow-up:
↓ 7
nacin
— 13 months ago
- Keywords rtl-feedback added
We just did this in 3.3: <h4 style="direction:ltr">is_main_query()</h4>
We can't do that so easily with the use of "API" there.
Perhaps we can just "unstyle" <code> inside an <h4>. We're mostly worried about the semantic value as well as RTL.
comment:6
azaozz
— 13 months ago
Looks like the compromise is to use a css class that would keep certain text blocks like headers in LTR. That gives some flexibility. The other option would be to style places we don't want monotype fonts inside "code":
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code {
font-family: sans-serif;
}
comment:7
in reply to:
↑ 5
SergeyBiryukov
— 13 months ago
Replying to nacin:
We just did this in 3.3: <h4 style="direction:ltr">is_main_query()</h4>
Also <h4><?php _e( 'WP_Screen API' ); ?></h4>.
comment:9
nacin
— 13 months ago
- Milestone changed from 3.4 to Awaiting Review
- Priority changed from normal to low
Going to look into this, but not a priority if we don't get to it for 3.4 final.
comment:10
SergeyBiryukov
— 13 months ago
Maybe "<h4>Faster Post Queries</h4>", then "<code>WP_Query</code> has been optimized..."
SergeyBiryukov
— 13 months ago
comment:11
ocean90
— 12 months ago
- Milestone changed from Awaiting Review to 3.5
- Severity changed from normal to minor
We should look at it again when we do a 3.5 about page.
comment:12
nacin
— 8 months ago
- Milestone 3.5 deleted
- Resolution set to worksforme
- Status changed from assigned to closed
Closing. We'll get it to our liking when we build the about page in November.

<code>WP_Query</code> also.