#17131 closed enhancement (fixed)
Make theme's content_width available in XML-RPC
| Reported by: | koke | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | XML-RPC | Version: | |
| Severity: | normal | Keywords: | mobile revert |
| Cc: | Focuses: |
Description
To upload properly sized images, being able to access the theme's $content_width variable from XML-RPC would help
Attachments (1)
Change History (11)
#5
@
15 years ago
- Cc added
- Resolution fixed
- Status closed → reopened
As I said in IRC when this was originally being discussed.
I'm not sure why the theme's content width matters during image upload - what happens when I switch to a wider theme later?
Should the app not be working the media settings which have already been exposed?
#6
@
15 years ago
We should standardize accessing the $content_width var instead of doing it manually everywhere. Enter, get_content_width() - #17130
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch also needs to check if $content_width isn't set and return 0. Probably also needs an int cast.