Make WordPress Themes

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#68028 closed theme (not-approved)

THEME: KIS – 19.05.23

Reported by: lebcit Owned by: timph
Priority: new theme Keywords: theme-kis
Cc: lebcit@…

Description

KIS - 19.04.20

KIS (Keep It Simple) is a clean and minimalist website template designed primarily for blog sites. The design focuses on content and typography. It has a fully responsive design and looks great on all types of screens and devices (desktop, notebook, tablet and mobile).

Theme URL - ​http://underscores.me/
Author URL - ​https://lebcit.tk

Trac Browser - https://themes.trac.wordpress.org/browser/kis/19.04.20

SVN - ​https://themes.svn.wordpress.org/kis/19.04.20
ZIP - ​https://wordpress.org/themes/download/kis.19.04.20.zip?nostats=1

History:

Ticket Summary Status Resolution Owner
#68028 THEME: KIS – 19.05.23 closed not-approved timph

(this ticket)

#70928 THEME: KIS – 19.08.09 closed closed-newer-version-uploaded dithemes
#72984 THEME: KIS – 19.08.14 closed not-approved dithemes
#95180 THEME: Kish – 3.0.3 closed not-approved acosmin
#125984 THEME: Kisti – 0.1 closed not-approved acosmin


https://themes.svn.wordpress.org/kis/19.04.20/screenshot.png
Theme Check Results:

  • RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.

Change History (11)

#1 @joyously
8 years ago

Hi!
I haven't looked at the theme, but the Theme URI is wrong. It is optional, so if you don't have a page, just remove it.
The language file is the original one from underscores, so you should remove that also.
The readme file needs to be readme.txt and validate through ​https://wordpress.org/plugins/developers/readme-validator/
The readme needs to state the license explicitly. Yours just says "under the terms of the GNU GPL". There are several versions, and you need to state which one.
The credit section does not include the image in the screenshot or the icons in the css/img folder.
The credit section says that the theme is based on two things. That sounds like a copy to me. But one of the things has a CC By SA 4.0 license, which requires you to use the same license. GPL also requires you to use the same license, and as themes are derivative of WordPress, they have to be GPL compatible. These things can't mix. So it seems that you need to remove whatever came from the CC-BY-SA 4.0 thing, as it is not compatible.
​https://developer.wordpress.org/themes/getting-started/wordpress-licensing-the-gpl/

The theme tags must match what the theme does. One is theme-options but the readme says that you need Kirki for options. If you need Kirki, remove the tag.
The 'Requires at least' field should be a version number only. You can find the correct one according to function calls here: ​https://wpseek.com/pluginfilecheck/ It says 4.7 for this zip.

#2 @lebcit
8 years ago

Hello @joyously

Thanks a lot for your feedback.
I'll make the needed changes ASAP.

1- Concerning the readme.txt, Acosmin asked me in the last theme to Use either readme.txt or .md
https://themes.trac.wordpress.org/ticket/39364#comment:16
I prefer the .md and it's also validated by the same validator :) Except that the validator will not catch some fields that are already in the head of the README.md :)

2- Concerning the CC license, you can see this post from Otto
​https://make.wordpress.org/plugins/tag/licensing/
I'll just have to ask again the designer for the correct license CC-BY or CC-BY-SA because he updated the version from 3 to 4 just to give me the ability to upload this theme.
It's not a copy, it a WordPress version of a static template with the designer authorization :)

3- For the theme-options tag, some of the options needs Kirki not all of the options, so I'll leave it for now and change the note to explain that some options needs Kirki :)

Thanks for the Plugin Doctor link :)

Thanks a lot for you time, it's always a pleasure to read your comments to improve the code.
Hope that you'll be able to test the theme :)

SYA :)

#3 @joyously
8 years ago

  1. acosmin might not have thought about the code that reads the readme. We are trying to use the same code as plugins and I don't think they have a choice. You say "the validator will not catch some fields" but that is just its way of saying that it didn't find what it expected for that field. You need to fix it so that the validator sees all of the fields it needs.
  1. Whatever it is, the way you designate it now is not allowed on the repository.
  1. The other options that don't need Kirki are already represented with other tags? If the theme does not supply any options, you can't use that tag.

I'm not wasting time on anything that the licensing is not right.

#4 @timph
7 years ago

  • Owner set to timph
  • Status new → reviewing

#5 @themetracbot
7 years ago

  • Summary THEME: KIS – 19.04.20 → THEME: KIS – 19.05.23

KIS - 19.05.23

KIS (Keep It Simple) is a clean and minimalist website template designed primarily for blog sites. The design focuses on content and typography. It has a fully responsive design and looks great on all types of screens and devices (desktop, notebook, tablet and mobile).

Theme URL - ​https://lebcit.tk
Author URL - ​https://github.com/LebCit

Trac Browser - https://themes.trac.wordpress.org/browser/kis/19.05.23

SVN - ​https://themes.svn.wordpress.org/kis/19.05.23
ZIP - ​https://wordpress.org/themes/download/kis.19.05.23.zip?nostats=1

Diff with previous version: https://themes.trac.wordpress.org/changeset?old_path=kis/19.04.20&new_path=kis/19.05.23

History:

Ticket Summary Status Resolution Owner
#68028 THEME: KIS – 19.05.23 closed not-approved timph

(this ticket)

#70928 THEME: KIS – 19.08.09 closed closed-newer-version-uploaded dithemes
#72984 THEME: KIS – 19.08.14 closed not-approved dithemes
#95180 THEME: Kish – 3.0.3 closed not-approved acosmin
#125984 THEME: Kisti – 0.1 closed not-approved acosmin


https://themes.svn.wordpress.org/kis/19.05.23/screenshot.png
Theme Check Results:

  • RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  • RECOMMENDED: Could not find the file readme.txt in the theme. Please see ​Theme_Documentation for more information.

#6 @timph
7 years ago

Hi @lebcit, thanks for your submission!

I see that you addressed changing from CC-BY-SA-4.0 to CC-BY-4.0 and @joyously covered things you are required to change, so when you're ready to make the other changes feel free to resubmit the theme for review.

These are some of the issues that were seen:

  1. Make sure your readme.txt file follows the exact format here. Currently it doesn't:

​https://make.wordpress.org/themes/handbook/review/required/#readme-txt-file

  1. Themes can't require plugins, so the notice saying: This theme needs the Kirki plugin to work properly, please install and activate it ! should be reworded better to convey that it recommends a plugin, not that it needs it to work properly.
  1. admin notices should be dismissable. Currently it's always there on all pages saying it's required, and you can't do that. There are libraries like TGMPA that can help you make a recommended plugin notice if you want to go that route.
  1. Your .pot file contains some invalid information:

https://themes.trac.wordpress.org/browser/kis/19.05.23/languages/kis.pot?rev=111695#L7

  1. The size of your screenshot should not exceed 1200x900, but screenshot.png is currently 1349x1013.
  1. themes must support latest WP version:

https://themes.trac.wordpress.org/browser/kis/19.04.20/README.md#L9

  1. Your theme needs to address PHP compatibility issues for PHP versions from current back to 5.2 if you support WP versions older than 5.2. See below in the Theme Sniffer results. I saw you have a check for WP 5.0 or lower, so I'd assume that's a good place to put the PHP check as well if you go that route instead of changing syntax.
  1. In the customizer you have created a section for the top to display adding a recommended plugin and there's a dismiss button. This should be updated to use the proper API for adding a dismissable notice. Refer to my answer on WP stackexchange which provides you with the code on how to implement it: ​https://wordpress.stackexchange.com/questions/313731/place-a-message-in-theme-customizer-sidebar/313761#313761
  1. Ensure you escape output properly and inspect usage from theme sniffer results. $kis_description and $custom_copyright for example.
  1. When I try to view submenu items in the customizer it triggers a preview refresh and the submenu is collapsed, so I can never tell how certain changes impact the preview, and I can't navigate to other sections of my site. As a note, if you shift click you can get it to open without a refresh, so you'll want to double check your menu code to see what you might have going on there. If you have any JS initialization logic in your primary nav menu, you might need to make sure it's triggered on partial refreshes. See this for reference (customize-preview-menu-refreshed event): ​https://make.wordpress.org/core/2015/07/29/fast-previewing-changes-to-menus-in-the-customizer/
  1. CC-BY-4.0 is not compatible with the GPL-2.0-or-later license stated. You would need to release as v3.
  1. pick another image as ​https://unsplash.com/license is not compatible with GPL: https://themes.trac.wordpress.org/browser/kis/19.05.23/README.md?rev=111699#L72
  1. Missing reference to wp_body_open either by hook or function. Refer to:https://make.wordpress.org/themes/2019/03/29/addition-of-new-wp_body_open-hook/ for how you should implement it.
  1. JS error when I click on the arrow in the bottom right corner to scroll to top of page. This is the trace:
kis-main.js?ver=1558633570:231 Uncaught TypeError: Cannot read property 'top' of undefined
    at HTMLAnchorElement.<anonymous> (VM7707 kis-main.js:231)
    at HTMLAnchorElement.dispatch (VM7726 jquery.js:3)
    at HTMLAnchorElement.r.handle (VM7726 jquery.js:3)
(anonymous)	@	kis-main.js?ver=1558633570:231
dispatch	@	jquery.js?ver=1.12.4-wp:3
r.handle	@	jquery.js?ver=1.12.4-wp:3
  1. themes must support the custom_logo, not use their own:

Removed core: https://themes.trac.wordpress.org/browser/kis/19.05.23/inc/customizer.php?rev=111699#L25
Added custom: https://themes.trac.wordpress.org/browser/kis/19.05.23/inc/customizer.php?rev=111699#L84

reference: ​https://developer.wordpress.org/themes/functionality/custom-logo/

  1. You declared theme support for custom headers and feature it provides, but removed the core provided functionality for display_header_text and header_textcolor:

https://themes.trac.wordpress.org/browser/kis/19.05.23/inc/customizer.php?rev=111699#L23
https://themes.trac.wordpress.org/browser/kis/19.05.23/inc/customizer.php?rev=111699#L24

reference: ​https://developer.wordpress.org/themes/functionality/custom-headers/


Theme Sniffer Results

kis/comments.php
36	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'get_the_title'.
42	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'number_format_i18n'.
43	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'get_the_title'.
kis/header.php
48	ERROR	Only variables can be passed to empty() prior to PHP 5.5.
63	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$kis_description'.
kis/inc/customizer.php
224	ERROR	Short array syntax (open) is available since 5.4
230	ERROR	Short array syntax (open) is available since 5.4
231	ERROR	Short array syntax (open) is available since 5.4
234	ERROR	Short array syntax (close) is available since 5.4
235	ERROR	Short array syntax (close) is available since 5.4
237	ERROR	Short array syntax (close) is available since 5.4
243	ERROR	Short array syntax (open) is available since 5.4
249	ERROR	Short array syntax (open) is available since 5.4
250	ERROR	Short array syntax (open) is available since 5.4
253	ERROR	Short array syntax (close) is available since 5.4
254	ERROR	Short array syntax (close) is available since 5.4
256	ERROR	Short array syntax (close) is available since 5.4
262	ERROR	Short array syntax (open) is available since 5.4
268	ERROR	Short array syntax (open) is available since 5.4
269	ERROR	Short array syntax (open) is available since 5.4
272	ERROR	Short array syntax (close) is available since 5.4
273	ERROR	Short array syntax (close) is available since 5.4
275	ERROR	Short array syntax (close) is available since 5.4
281	ERROR	Short array syntax (open) is available since 5.4
287	ERROR	Short array syntax (open) is available since 5.4
288	ERROR	Short array syntax (open) is available since 5.4
291	ERROR	Short array syntax (close) is available since 5.4
292	ERROR	Short array syntax (close) is available since 5.4
294	ERROR	Short array syntax (close) is available since 5.4
300	ERROR	Short array syntax (open) is available since 5.4
309	ERROR	Short array syntax (open) is available since 5.4
310	ERROR	Short array syntax (open) is available since 5.4
313	ERROR	Short array syntax (close) is available since 5.4
314	ERROR	Short array syntax (close) is available since 5.4
317	ERROR	Short array syntax (close) is available since 5.4
323	ERROR	Short array syntax (open) is available since 5.4
331	ERROR	Short array syntax (open) is available since 5.4
332	ERROR	Short array syntax (open) is available since 5.4
333	ERROR	Short array syntax (open) is available since 5.4
336	ERROR	Short array syntax (close) is available since 5.4
338	ERROR	Short array syntax (close) is available since 5.4
339	ERROR	Short array syntax (close) is available since 5.4
340	ERROR	Short array syntax (close) is available since 5.4
346	ERROR	Short array syntax (open) is available since 5.4
354	ERROR	Short array syntax (open) is available since 5.4
355	ERROR	Short array syntax (open) is available since 5.4
356	ERROR	Short array syntax (open) is available since 5.4
359	ERROR	Short array syntax (close) is available since 5.4
361	ERROR	Short array syntax (close) is available since 5.4
362	ERROR	Short array syntax (close) is available since 5.4
363	ERROR	Short array syntax (close) is available since 5.4
385	ERROR	Short array syntax (open) is available since 5.4
386	ERROR	Short array syntax (open) is available since 5.4
389	ERROR	Short array syntax (close) is available since 5.4
390	ERROR	Short array syntax (close) is available since 5.4
405	ERROR	Short array syntax (open) is available since 5.4
406	ERROR	Short array syntax (open) is available since 5.4
409	ERROR	Short array syntax (close) is available since 5.4
410	ERROR	Short array syntax (close) is available since 5.4
421	ERROR	Short array syntax (open) is available since 5.4
429	ERROR	Short array syntax (open) is available since 5.4
430	ERROR	Short array syntax (open) is available since 5.4
433	ERROR	Short array syntax (close) is available since 5.4
434	ERROR	Short array syntax (close) is available since 5.4
435	ERROR	Short array syntax (close) is available since 5.4
441	ERROR	Short array syntax (open) is available since 5.4
449	ERROR	Short array syntax (open) is available since 5.4
450	ERROR	Short array syntax (open) is available since 5.4
451	ERROR	Short array syntax (open) is available since 5.4
454	ERROR	Short array syntax (close) is available since 5.4
456	ERROR	Short array syntax (close) is available since 5.4
457	ERROR	Short array syntax (close) is available since 5.4
458	ERROR	Short array syntax (close) is available since 5.4
464	ERROR	Short array syntax (open) is available since 5.4
472	ERROR	Short array syntax (open) is available since 5.4
473	ERROR	Short array syntax (open) is available since 5.4
474	ERROR	Short array syntax (open) is available since 5.4
477	ERROR	Short array syntax (close) is available since 5.4
479	ERROR	Short array syntax (close) is available since 5.4
480	ERROR	Short array syntax (close) is available since 5.4
481	ERROR	Short array syntax (close) is available since 5.4
kis/inc/kis-functions.php
370	ERROR	Only variables can be passed to empty() prior to PHP 5.5.
391	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$custom_copyright'.
kis/inc/template-tags.php
34	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$posted_on'.
50	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$byline'.
66	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$categories_list'.
73	WARNING	All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$tags_list'.
kis/readme.txt
0	ERROR	Theme is missing readme.txt! This file is required for all WordPress themes.
kis/screenshot.png
0	ERROR	The size of your screenshot should not exceed 1200x900, but screenshot.png is currently 1349x1013.

When there are three or more distinct issues, reviewers are able to close a submission to allow you more time to get things prepared. Don't be discouraged though! We don't hard-reject theme submissions, and as soon as you are ready with the changes above submit it back, and we will give it another look!

As there were quite a few issues with this theme, I'd urge you to check over the theme review guidelines: ​https://developer.wordpress.org/themes/release/theme-review-guidelines/
Also take a look at the requirements to ensure your re-submission is in line: ​https://make.wordpress.org/themes/handbook/review/required/

We look forward to seeing your re-submission @lebcit !

#7 @timph
7 years ago

  • Resolution → not-approved
  • Status reviewing → closed

#8 follow-up: @joyously
7 years ago

@timph What are you saying here?

themes must support latest WP version:

That is not a true statement. The "Tested up to" field should accurately reflect the WP version that the theme was tested with. It does not have to be the latest version.

#9 in reply to: ↑ 8 @timph
7 years ago

Replying to joyously:

@timph What are you saying here?

themes must support latest WP version:

That is not a true statement. The "Tested up to" field should accurately reflect the WP version that the theme was tested with. It does not have to be the latest version.

Ah okay, that seems reasonable. I still stand by the statement that themes must support the latest WP version since they can only include code for backwards compatibility for up to 3 versions of WP core(for new submissions). There has to be a starting point to determine the 3 major versions, the tested up to should reflect that. Authors shouldn't submit old themes that haven't been tested and updated accordingly, that's just more work for reviewers when it's as simple as updating the field. I've always considered when it was submitted as being the version of core at that time.

​https://make.wordpress.org/themes/handbook/review/required/#core-functionality-and-features

@lebcit has updated some readme changes while the review was in progress, and looks like this one was addressed. :)

#10 @lebcit
7 years ago

Hello @timph

Thanks a lot for your time :)
Sorry to reply after 2 weeks.
I feel dump not to have tested the theme with the Theme Sniffer plugin before submitting it :(
I was relying on the sniffers of VS Code.
Thanks a lot again, I'll be correcting everything and resubmit it when it's ready.

SYA :)

#11 @DannyCooper
7 years ago

Hey @timph,

In regards to item 8:

In the customizer you have created a section for the top to display adding a recommended plugin and there's a dismiss button. This should be updated to use the proper API for adding a dismissable notice. Refer to my answer on WP stackexchange which provides you with the code on how to implement it: ​https://wordpress.stackexchange.com/questions/313731/place-a-message-in-theme-customizer-sidebar/313761#313761

The customizer notification is part of the Kirki framework, although it doesn't use wp.customize.Notification. It does seem robust and secure. It also adds an install/activate button.

​https://github.com/aristath/kirki/blob/master/docs/files/class-kirki-installer-section.php

Note: See TracTickets for help on using tickets.