Opened 2 years ago
Closed 3 months ago
#17130 closed enhancement (duplicate)
Introduce get_content_width()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | GaryJ |
Description
Just a simple helper function to retrieve the value of the $content_width global.
Attachments (2)
Change History (7)
ptahdunbar — 2 years ago
ptahdunbar — 2 years ago
comment:2
ptahdunbar — 2 years ago
comment:3
F J Kaiser — 19 months ago
+1 But i'd set it to null instead of 0 for easier and more save checking or add a new WP_Error which the dev can check against.
Note: See
TracTickets for help on using
tickets.

Refreshed patch to be inline with #17131