Opened 3 months ago
Closed 3 months ago
#287716 closed theme (not-approved)
THEME: Novaflow – 1.0.96
| Reported by: | yineali | Owned by: | softglaze |
|---|---|---|---|
| Priority: | new theme | Keywords: | theme-novaflow |
| Cc: | alivurun0@… |
Description
Novaflow - 1.0.96
A colorful, responsive news and magazine theme with editorial layouts, widget areas, block styles, and native WordPress settings.
Theme URL - https://yankı.tr/novaflow/
Author URL - https://yankı.tr/
Trac Browser - https://themes.trac.wordpress.org/browser/novaflow/1.0.96
WordPress.org - https://wordpress.org/themes/novaflow/
SVN - https://themes.svn.wordpress.org/novaflow/1.0.96
ZIP - https://downloads.wordpress.org/theme/novaflow.1.0.96.zip?nostats=1
Live preview – https://playground.wordpress.net/#…
History:
| Ticket | Summary | Status | Resolution | Owner |
|---|---|---|---|---|
| #287716 | THEME: Novaflow – 1.0.96 | closed | not-approved | |
| #289221 | THEME: Novaflow – 1.0.98 | closed | live | |
Change History (4)
This ticket was mentioned in Slack in #themes by softglaze. View the logs.
3 months ago
#4
@
3 months ago
- Resolution → not-approved
- Status reviewing → closed
Hi @yineali,
Reviewed Novaflow 1.0.96 on WordPress 7.1 and PHP 8.3.33 with the Theme Unit Test data, 26 pages crawled and 9 templates measured at 1440px and 375px.
Two required items, so I am closing this as not-approved. Both are in the same area, and neither is about your code quality. Re-upload once they are fixed, there is no waiting period.
The engineering here is good and I want to say so before the two items: no PHP notices across 26 pages, no duplicate ids, no horizontal overflow at either width, skip link and main landmark on every page, Theme Check clean, unminified CSS and JS, a .pot plus a shipped Turkish translation, and an About screen that uses add_theme_page() with edit_theme_options, re-checks the same capability with current_user_can() inside the render callback, and scopes its styles to its own hook_suffix. That last one is the correct pattern and most themes get it wrong.
Required
1. The theme counts post views, which is plugin territory, and sets a visitor cookie to do it
Files: inc/setup.php lines 280 to 349, inc/template-tags.php lines 183 and 774
novaflow_increment_post_view_count() is hooked to template_redirect. On every single post view it sets a novaflow_viewed_posts cookie holding up to 30 post ids for an hour, then writes post_views_count post meta:
$view_count = absint( $view_count ) + 1; update_post_meta( $post_id, 'post_views_count', $view_count );
Two separate requirements:
- Section 5. View counting is statistics, not design or presentation, and is on the plugin territory list. It also means the counts vanish when the user changes theme, which is the usual reason the line is drawn there.
- Section 2. Tracking and collection of user data must be off by default and opt-in only. This is on by default with no setting to turn it off.
There is a third thing I have to raise, and I am not enjoying it. readme.txt line 65 says:
Novaflow does not collect, store, transmit, or sell personal data and does not include tracking code or direct external API calls.
A cookie that records the last 30 posts a visitor read is collection of user data. Your own changelog line 154 describes the feature accurately, so the Privacy section simply has not kept up. Whatever you decide about the feature, that sentence has to change.
Fix: move the counter to a companion plugin. novaflow_get_post_view_count() already reads through a filter, so the theme can keep displaying a count when a plugin provides one and show nothing when none does. That also removes the SlowDBQuery flag PHPCS raises on the meta_key ordering at inc/template-tags.php line 774.
2. A second hardcoded credit link, to a domain that is neither the Theme URI nor the Author URI
File: header.php lines 27 to 33 and 58 to 64
The utility bar renders two fixed links that the site owner cannot change or remove:
| Link | Target | Allowed |
|---|---|---|
| Yankı | https://yankı.tr/, your Author URI | yes, this is the one credit link section 13 permits |
| Narya | https://narya.tr/ | no |
Both carry rel="sponsored". Section 13 allows one front-facing credit link, restricted to the Theme URI or Author URI in style.css, plus optionally one to WordPress.org. narya.tr is a third domain, and the theme presents it as sponsored without disclosing the relationship.
I checked the rendered front page rather than only the source: both links are present on a fresh install with no configuration.
Your changelog is explicit that this was deliberate. Line 109 says the Narya Customizer option was removed so both links use one code path, and line 112 says the icon was moved to the penultimate position so it no longer sits beside the Yankı icon. Removing the setting is what turns this from a default into a fixture.
readme.txt line 18 also describes one sponsored author-site icon, while two render.
Fix: remove the Narya entry, or give it back a Customizer setting that is empty by default so it is the site owner's link rather than yours. Keep the Yankı one, that is within the rules.
Recommended
1. Six colour pairs below AA
Files: assets/css/ui.css, assets/css/main.css
| Element | Colours | Ratio |
|---|---|---|
a tag link, html | eb7414 on fff2e6 | 2.71:1 |
p.nf-footer-copyright | 7a859a on white | 3.72:1 |
a tag link, css | e81764 on fff0f5 | 4.02:1 |
a tag link, markup | 07895d on eaf8f1 | 4.05:1 |
span.nf-related-badge | white on ee1964 | 4.24:1 |
span.nf-related-badge | white on 0878e1 | 4.39:1 |
Normal text needs 4.5:1. The first one is the one I would fix regardless of the tag, it is a long way under.
2. Two variables collide with WordPress globals
Files: home.php line 13, single.php line 17
$blog_title and $post_id are assigned at template scope, which is the global namespace, and both names are on the list PHPCS treats as WordPress globals, so these come through as GlobalVariablesOverride.Prohibited rather than the milder prefix warning.
PHPCS also reports 125 other unprefixed template variables. I am not raising those, because the bundled core themes do the same thing, but these two are worth renaming since the names are already taken.
3. The front page has no h1
File: front-page.php
The template uses three h2 and four h3 and no h1 at all, so the front page and page 2 of the blog have no top level heading and the outline starts at level 2. Every other template gets this right, one h1 each, so this looks like an oversight rather than a decision.
Fix: promote the lead story headline to h1, or add a visually hidden h1 with the site name.
4. Three translator comments are missing
File: inc/theme-info.php lines 127, 128 and 129
Each is a printf with a %s placeholder and no translators: comment on the line above.
Checked and not raised
Four things that looked like findings and are not, so you do not have to answer for them:
- The IDN Theme URI works.
https://yankı.tr/resolves through punycode asxn--yank-oza.trand both it and the/novaflow/page return 200. I got the punycode wrong on the first attempt and nearly reported this, so it is worth stating plainly that it is fine. - The
mime_typeshits are a local variable.inc/options.phplines 125 and 140 are an allow list insidenovaflow_sanitize_image_id(), not a custom mime type registration. - The two
NonceVerificationwarnings are not holes.front-page.phplines 151 and 152 read a pagination parameter withabsint( wp_unslash() )andmax( 1, ... ). A read-only paging value needs no nonce. - The header advertisement slot is empty by default.
header_ad_urlandheader_ad_image_iddefault to empty and zero, and the bundled placeholder banner does not render on a fresh install. I checked the rendered page.
If you disagree with any of this, say so on the ticket and I will look again.

Hi, I would like to review this theme.
@bijayyadav @kafleg @fahimmurshed could one of you please assign it to me when you get a chance?