Closed dbeniaminov closed 5 years ago
Can you file this as a pull request, please?
I'm opening a PR with some of this code, adding you as a co-author, but here's some notes on the changes your file would make:
Changing is_single to is_singular is good. 👍
Changing is_home to is_front_page is good; we're working to add better support for static homepages across our products. 👍
I could find no evidence of changed conditionals for tags. ❓
Category tagging was removed on static front pages. 👍
fixed
$this::enqueued
syntax
I'm not sure what this means; the only change in the code was this:
$ git diff | grep enqueued
- if ( ! $this::$enqueued ) {
+ if(!$this::$enqueued) {
$this::$enqueued = true;
And that seems to have been part of a general whole-file replacement of the WordPress code standards with a different PHP style, including:
I'm not commiting those changes, but it's okay, you didn't know that our house style is WordPress's coding standards. This repo did not have contribution guidelines when you opened this issue, so you wouldn't've been able to know without some deep research on our team. I'll add contribution guidelines soon.
Sorry for the notification spam; it took three tries to get GitHub's Co-authored-by:
syntax correct so that you'd get the credit on that commit. https://help.github.com/articles/creating-a-commit-with-multiple-authors/
is_single
tois_singular
)inurl
variable from front-page taggingtags
andcategories
tagging$this::enqueued
syntax