WordPress.org

Making WordPress.org

Opened 8 months ago

Closed 4 months ago

#3137 closed defect (fixed)

Proper formatting of CSS inside the anon-upload-template.php file

Reported by: lalitpendhare Owned by: obenland
Milestone: Priority: normal
Component: WordPress.tv Keywords: has-patch
Cc:

Description

Proper formatting of CSS inside the anon-upload-template.php file

Attachments (1)

3137.patch (438 bytes) - added by lalitpendhare 8 months ago.
Proper formatting of CSS inside the anon-upload-template.php file

Download all attachments as: .zip

Change History (8)

@lalitpendhare
8 months ago

Proper formatting of CSS inside the anon-upload-template.php file

#1 @SergeyBiryukov
8 months ago

  • Component changed from General to WordPress.tv

#2 @adnan.limdi
8 months ago

  • Keywords has-patch added

#3 @Otto42
8 months ago

Where is the "anon-upload-template.php" file? What directory? What system does it pertain to?

Details, please. Explain what it is that the patch is for, where it goes, that sort of thing.

#4 @lalitpendhare
8 months ago

Hi @Otto42 , I have found some CSS is not properly formatted in this file "wordpress-meta\wordpress.tv\public_html\wp-content\themes\wptv2\anon-upload-template.php" on line number 118 to 120.

There is one tab spacing in that I have found but all rest of the CSS has properly formatted. so I have fixed that. I have used windows 7 and I have found this issue in NetBeans, phpstorm, notepad++, sublime.

So, I think it is better to provide the whole CSS in batter formatted as per coding standard and look good to see the code in properly formatted.

Last edited 8 months ago by lalitpendhare (previous) (diff)

This ticket was mentioned in Slack in #wptv by casiepa. View the logs.


7 months ago

This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.


7 months ago

#7 @obenland
4 months ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 6375:

WP.tv: Better formatting in upload template.

Eventually this theme should also undergo a PHPCS update.

Props lalitpendhare for initial patch.
Fixes #3137.

Note: See TracTickets for help on using tickets.