Commit graph

122 commits

Author SHA1 Message Date
Daniel W. Robert
924b80a76e
Update Woo.com links to Wooommerce.com (#2142)
* Update Woo.com links to Wooommerce.com

Updates all instances of WooCommerce.com links in both the wp-admin and
frontend. This includes the developer composer and package files, readme,
and language files.

* Update link to child themes documentation.
2024-04-10 16:26:33 -04:00
Jeffrey Pearce
5185bec5d6
Updates WooCommerce.com links to Woo.com (#2132)
* Updates WooCommerce.com links to Woo.com

Updates all instances of WooCommerce.com links in both the wp-admin and frontend. This includes the developer composer and package files, readme, and language files.

* Updates footer credit.

Changes footer credit from:
"Built with Storefront & WooCommerce."
To
"Built with WooCommerce."

* Updates language file.

Updates language file with new footer credit string.

* Update E2E test for footer credit to reflect changes.

---------

Co-authored-by: Daniel W. Robert <danielwrobert@gmail.com>
2024-01-11 21:38:33 -05:00
Daniel W. Robert
56714d9c72
Update Theme URI to point to Woo Marketplace page (#2104)
* Update the Theme URI to use current theme page.

Previously the Theme URI was pointing to a retired landing page.
This update adjusts the URI to point to the current theme page in
the Woo products marketplace.

* Update link to theme page throughout theme files.

Replace instanecs of the retired theme landing page link with the link
to the Storefront theme in the Woo Marketplace.
2023-07-12 15:16:03 +02:00
Jeffrey Pearce
ef1f20228a
Updates Storefront Credit in the footer for SEO. (#2096)
Adds nofollow rel attribute to footer credit links.
2023-05-11 13:30:21 -04:00
Daniel Bachhuber
32bb2c33ae
Fix mobile nav menu in AMP Standard by using nav_menu_toggle (#1992) 2022-06-28 13:03:17 +02:00
Ismail El Korchi
45bd1c3948
Remove deprecated functions (#1652) 2021-04-21 17:10:43 +01:00
Albert Juhé Lluveras
cd53f80969
Use proper escape functions (#1581) 2021-01-14 10:35:31 +01:00
Donna Peplinskie
1ef384ce0d
Use proper escape function (#1576) 2021-01-11 16:28:43 +01:00
Albert Juhé Lluveras
ecbd71ca20
Fix incorrect uses of esc_attr* and esc_html* picked up by WPORG checks (#1534) 2020-11-13 09:38:17 +01:00
Rua Haszard
7bd2171866
reinstate phpcs php linting (#1463)
* update squizlabs/php_codesniffer and WP coding standards to latest

* revamp phpcs sniffer rulesets:
- update to php-compatibility (wimg is defunct)
- add version for woocommerce-sniffs

* streamline phpcs config (get it working at all):
- update min WP version to 5.3
- remove references to rules we don't have installed
  - WordPress.VIP
  - WordPress.XSS

* fix 2x phpcs errors (automatically via phpcbf)

* update phps ignore unescaped output comment to current format

* add npm scripts for php linter and linter autofixer

* auto-fix PHP linter errors using phpcbf :

Before phpcbf:

[x] PEAR      Functions           Function call signature multiple arguments          127
[x] Generic   White space         Disallow space indent spaces used                   10
[ ] WordPres  WP                  Enqueued resource parameters missing version        6
[ ] PHPCompa  Language construct  New language constructs t_ns_separator found        4
[ ] WordPres  Security            Escape output output not escaped                    4
[ ] PHPCompa  Parameter values    New HTMLEntities encoding default not set           2
[ ] WordPres  Date time           Restricted functions date_date                      2
[x] Generic   Files               End file newline not found                          1
[x] PEAR      Functions           Function call signature close bracket line          1
[x] PEAR      Functions           Function call signature content after open bracket  1
[x] Squiz     White space         Superfluous whitespace end line                     1
[x] WordPres  Arrays              Comma after array item no comma                     1

phpcbf fixed all [x] violations, all whitespace/formatting

After phpcbf:

WordPres  WP                  Enqueued resource parameters missing version      6
PHPCompa  Language construct  New language constructs t_ns_separator found      4
WordPres  Security            Escape output output not escaped                  4
PHPCompa  Parameter values    New HTMLEntities encoding default not set         2
WordPres  Date time           Restricted functions date_date                    2

Note - this commit does not include auto-fixed files with other
violations. These will follow in separate commit (after fixing!)

* fix phpcs violations:
- numerous formatting issues fixed automatically
- manually fix missing version param in calls to wp_enqueue_style

* fix phpcs violations:
- numerous formatting issues fixed automatically
- fix missing deps param in call to wp_enqueue_style

* update phpcs test php version to match min requirement (5.6)

* fix phpcs violations including some missing escaping:
- numerous formatting issues fixed automatically
- prefer gmdate() over potentially ambiguous date()
- escape output (a real issue!) of comment dates

* fix violations (all automated formatting fixes)

* reinstate WordPress rule/standard in phpcs.xml (minimise PR changes)

* exclude build (pre-zip) ./storefront & tighten excludes for dep folders

* bulk-update Security.EscapeOutput.OutputNotEscaped ignore comment:
- the previous comment format is no longer supported
- bulk replacing these to reduce phpcs warning overhead
2020-09-21 15:50:46 +01:00
Niels Lange
60dc2f5b11
Update inc/storefront-template-functions.php
Co-Authored-By: Rua Haszard <haszari@cartoonbeats.com>
2020-02-14 12:58:02 +08:00
Niels Lange
3adc50d290
Update inc/storefront-template-functions.php
Co-Authored-By: Rua Haszard <haszari@cartoonbeats.com>
2020-02-14 12:57:50 +08:00
Niels Lange
80e880cc00
#1229: Adjust hover text if WooCommecre is not active 2020-01-04 15:47:05 +08:00
Niels Lange
250d954536
#1229: Add footer credit conditional logic 2020-01-04 15:43:00 +08:00
Niels Lange
19afd78764
#1229: Replace rel=“author with rel="noopener noreferrer" in footer 2019-12-27 17:41:45 +08:00
Sören Schwert
a25e82b000
Add filter to alter credit links 2019-08-09 17:27:06 -06:00
Tiago Noronha
ef5bb52244 Move privacy link outside credit link conditional 2019-07-04 12:21:50 +01:00
Tiago Noronha
1a7710b112
Merge pull request #1096 from woocommerce/tweak/cover-block-5-2
WP 5.2 cover block + Blocks Homepage
2019-04-22 19:23:08 +02:00
Tiago Noronha
338090fb8e Add edit link to post, pages, and products 2019-04-16 23:04:43 +01:00
Tiago Noronha
ab20053736 Remove title from full width pages set as homepage 2019-04-10 11:11:24 +01:00
Tiago Noronha
e96ede4447 Revert "Fix handheld navigation accessibility"
This reverts commit bbab0ae31a.
2019-03-15 18:23:38 +00:00
Tiago Noronha
bbab0ae31a Fix handheld navigation accessibility 2019-03-07 20:45:09 +00:00
Tiago Noronha
04cb753b9f
Merge pull request #1046 from woocommerce/tweak/post-meta-hooks
Add hooks to post title and move post meta to new hook
2019-01-31 11:13:54 +00:00
Tiago Noronha
acffb2a635 Remove post meta function call and add new hooks 2019-01-25 18:15:49 +00:00
Tiago Noronha
464f34c725 Remove extra space from entry date link 2019-01-25 17:46:19 +00:00
Tiago Noronha
45b3d1ebd1
Merge pull request #1040 from woocommerce/tweak/post-taxonomy
Update post taxonomy design to match design from Products
2019-01-21 12:03:48 +02:00
Tiago Noronha
4205456b5b Split 'posted on' string 2019-01-07 16:03:45 +00:00
Tiago Noronha
9abc35fd50 Update post taxonomy design to match design from Products 2019-01-04 19:45:16 +00:00
Tiago Noronha
f6bd6a686c Refactor posted on sprintf 2018-12-19 22:59:10 +00:00
Tiago Noronha
0b4dd67231
Merge pull request #1003 from woocommerce/fix/no-comments
Remove 'comments closed' message from pages
2018-11-23 17:02:27 +00:00
Tiago Noronha
bb53cb5c3f Move 'posted on' inside span 2018-11-23 16:24:07 +00:00
Tiago Noronha
95435f297b Force return type to avoid issues with mixed values 2018-11-23 14:56:29 +00:00
Tiago Noronha
4b5f720555 Remove 'comments closed' message from pages 2018-11-23 11:36:53 +00:00
Tiago Noronha
efe46e8cc6 Fix merge conflict 2018-11-22 16:55:19 +00:00
Tiago Noronha
40ba519e09 Add docblock to new function storefront_post_taxonomy() 2018-11-22 15:13:45 +00:00
Tiago Noronha
a5f9c57962 Coding standard violations - manual corrections 2018-11-21 17:32:12 +00:00
Tiago Noronha
0c5a9e23ab Coding standard violations - automatic corrections 2018-11-21 11:52:42 +00:00
Tiago Noronha
cc239cef98 Make posts post meta full width 2018-10-31 15:29:14 +00:00
Tiago Noronha
c277dbbc66 Remove legacy Jetpack logo 2018-07-06 18:56:26 +01:00
Tiago Noronha
169c21e35a Fix PHPCS violations 2018-06-22 15:11:39 +01:00
Tiago Noronha
979e2868b1 Move WC homepage sections 2018-06-04 15:53:10 +01:00
Tiago Noronha
64d7ece8f7
Merge pull request #893 from woocommerce/fix/892
Update homepage shortcodes
2018-05-30 14:06:13 +01:00
Tiago Noronha
6fa4a5d24a Update homepage shortcodes 2018-05-24 16:25:50 +03:00
Tiago Noronha
0f29dafcd2 H1 site tite only in blog page 2018-05-23 15:40:55 +03:00
Tiago Noronha
dd9667b090 Add privacy link to footer 2018-05-10 12:55:50 +01:00
Tiago Noronha
53de2c453a
Merge pull request #825 from woocommerce/fix/747
Remove negative margin wrappers
2018-04-19 12:04:24 +01:00
Tiago Noronha
514c8898a6 Localise missing strings 2018-04-13 18:31:14 +01:00
Tiago Noronha
c80b57cae6 Remove header container and add it back as an action; Move primary navigation outside the header container 2018-04-13 16:48:52 +01:00
Alex Stine
91e3fb8c7a CSS class adjustments. Add text to post navigation for screen readers. 2018-04-12 11:08:40 -04:00
Tiago Noronha
3a2c81231a Output h1 site title tag in the front page instead of Posts page 2018-02-02 22:49:14 +00:00