WordPress.org

Making WordPress.org

Opened 5 weeks ago

Last modified 5 weeks ago

#4839 accepted enhancement

Update themes upload page

Reported by: dingo_d Owned by: dd32
Milestone: Priority: high
Component: Theme Directory Keywords: has-patch dev-feedback
Cc:

Description

Current page https://wordpress.org/themes/upload/ is a mix of content from the admin and page template.

This makes the site non-translatable, which can be a problem as presented here https://sv.wordpress.org/themes/upload/

The patch I've created will add all the content in the page template.

Another bug this fixes is the fact that the wporg-themes-upload shortcode echoed the content out instead of returning it, which caused errors on page update from the admin (plus the shortcode was literally present in the admin area).

I'll submit a patch that covers page-upload.php in the wporg-themes theme and upload.php in the theme-directory plugin.

When this will be applied, the content on the page should be removed (aside from the shortcode which should remain).

Attachments (1)

4839.diff (5.0 KB) - added by dingo_d 5 weeks ago.

Download all attachments as: .zip

Change History (2)

@dingo_d
5 weeks ago

#1 @dd32
5 weeks ago

  • Owner set to dd32
  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.