Commit Graph

238 Commits

Author SHA1 Message Date
Amit Dudhat 72013c79c0 Update reference link URL & Fix Typo Error. 2020-03-28 16:03:01 +05:30
Viktor Szépe 399c891927
Unscramble echo to readable printf
Is it OK?
2018-09-22 06:51:58 +02:00
alaczek 9274f322d0
Merge pull request #1255 from Automattic/add-neg-tabindex-to-featured-images
Add 'tabindex=-1' to the featured image markup, to improve accessibil…
2018-05-29 11:25:35 +10:00
Laurel f5f3a0a05b
Merge pull request #1173 from benoitchantre/no-sidebar-class
no-sidebar class
2018-04-06 11:02:47 -07:00
Laurel Fulford 43cfcb96dd Add 'tabindex=-1' to the featured image markup, to improve accessibility. 2018-04-02 16:50:45 -07:00
Matthew Boynes 884a7b0821
Fix datetime values 2018-03-16 20:39:14 -04:00
David A. Kennedy 72e34ef6bc
Merge pull request #1267 from jrfnl/feature/cs-update
Bring code style up to the latest standards
- This PR addresses code-style issues identified when testing the code against the WordPress Coding Standards.
2018-03-02 18:45:51 -05:00
Chris Runnells 648d11e2b3
Merge pull request #1229 from SergeyBiryukov/patch-2
Clarify "singularly identifiable articles"
2018-03-02 13:37:07 -10:00
Laurel Fulford 47829ce9cd Replace the get_post_format() calls in get_template_part() to complete the post format removal that was started in #1017. Fixes #1148. 2018-02-27 17:07:58 -08:00
jrfnl eb091acf66 CS: reformat a very long line
This line was quite unreadable.

Additionally, it was using the "heavy" `wp_kses_data()` function to escape item count phrase, while that phrase should not contain HTML in the first place and therefore can use the lighter `esc_html()` function to do the output escaping.
2018-02-27 14:34:55 +01:00
jrfnl 1abaebcdaa CS: correct indentation of a newly introduced function 2018-02-27 14:34:54 +01:00
jrfnl ec877e48c3 CS: fix up embedded PHP inconsistencies introduced in the mean time. 2018-02-27 14:34:54 +01:00
Ulrich Pogson b26b6ebfa4 Move PHP tags on it’s own line & correct indention
This fixes a few of the errors from the news sniffs in WPCS 0.12.0 and also standardizes the indention between the PHP and HTML
2018-02-27 14:34:53 +01:00
jrfnl 54ad32a598 🔖 CS: whitelist two global variable overrides
The one in `functions.php` can be considered a bug in WPCS and has been reported as such.
Once that issue is fixed, the whitelisting can be removed.

The one in `inc/wpcom.php` will need to remain as WPCS does not keep track of globals introduced by wpcom.
2018-02-27 14:34:53 +01:00
Laurel 388951f1ee
Merge pull request #1226 from Ismail-elkorchi/_s_posted
Split _s_posted_on into two functions
2018-01-26 09:50:01 -08:00
Laurel 115dd8209c
Merge pull request #1158 from Automattic/add-featured-image-content-options
_s: Add featured images to Post and Pages with the ability to hide them via Content Options.
2017-12-13 09:17:23 -08:00
laurelfulford c6427768ef Update array using associative keys to have each value on a new line. 2017-12-12 15:26:47 -10:00
Benoît Chantre 100081feee Use full width layout when there’s no sidebar 2017-11-12 20:37:24 +01:00
Sergey Biryukov 120875117c
Clarify "singularly identifiable articles" 2017-11-01 03:17:09 +01:00
Thomas Guillot 2a1a954b98 Replace `'echo=0'` with `array( 'echo' => false )` and remove duplicate function 2017-10-30 10:57:58 +00:00
Ismail El Korchi 2d74ebd7c9 Split _s_posted_on into two functions 2017-10-29 15:31:22 +00:00
Thomas Guillot ce47408461 Remove `aria-hidden` attribute from the post thumbnail link 2017-09-28 16:00:04 +01:00
Tiago Noronha 24b0596c71 Load WooCommerce Star fonts via inline styles. 2017-08-28 22:15:22 +01:00
Tiago Noronha 48ed0b7e11 Add commas to each array value. 2017-08-18 19:13:21 +01:00
Tiago Noronha 5d5eb2105d Newline character. 2017-08-18 19:10:10 +01:00
Tiago Noronha 7cb40fa6ce Associative arrays keys should start on a new line. 2017-08-18 19:09:44 +01:00
Tiago Noronha f26859169b Tweaks to docblocks. 2017-08-18 19:03:03 +01:00
Tiago Noronha b87901e508 Add link to new product gallery documentation. 2017-08-18 18:53:02 +01:00
Tiago Noronha 4081a62eae Tweak mini cart implementation comment. 2017-08-07 00:14:51 +01:00
Tiago Noronha d9ad954cdf Move mini cart implementation example inside woocommerce.php 2017-08-07 00:06:52 +01:00
Tiago Noronha 579ad2eeea Second arg of the_widget is an array. 2017-08-07 00:04:22 +01:00
Tiago Noronha e72ba5b291 Remove global variable. 2017-08-07 00:00:35 +01:00
Tiago Noronha b0a272a755 Merge array with wp_parse_args. 2017-08-06 23:55:29 +01:00
Tiago Noronha 3e5f77d27c Remove unnecessary filters. 2017-08-06 23:49:25 +01:00
Tiago Noronha 115319d206 Remove extra line break between the function and the hook. 2017-08-06 23:46:41 +01:00
Tiago Noronha bf725e430f Replace see with @link 2017-08-06 23:44:38 +01:00
Thomas Guillot 92bcf64ba4 Merge remote-tracking branch 'origin/add-featured-image-content-options' into add-featured-image-content-options 2017-08-03 12:44:05 +01:00
Thomas Guillot 387df73308 _s: Add featured images to Post and Pages with the ability to hide them via Content Options.
_s: Fix Travis CI error

_s: Add missing coma in array
2017-08-03 12:40:39 +01:00
Thomas Guillot 10b9a6673a _s: Add featured images to Post and Pages with the ability to hide them via Content Options.
_s: Fix Travis CI error

_s: Add missing coma in array
2017-08-03 10:50:32 +01:00
Tiago Noronha ee3aa735cf Move translators comment to the correct line. 2017-08-01 16:06:15 +01:00
Tiago Noronha 14d29b036d Add missing PHP opening and closing tags. 2017-08-01 15:55:25 +01:00
Tiago Noronha 46a41b2042 Newlines, data validation, and translators comment. 2017-08-01 15:42:22 +01:00
Tiago Noronha 27e68252f6 Basic WooCommerce Integration. 2017-08-01 14:21:13 +01:00
Truong Giang 9fcb8dab40 Correct code indentation 2017-07-27 00:37:56 +07:00
Siddharth Thevaril d1f1f30983 Replace underscore with hyphen (#1163)
Fixes #1160
2017-07-07 19:11:38 -04:00
Sami Keijonen ef422bc160 Add selective refresh for site title and description. (#1063)
Fixes #995.
2017-06-28 17:50:48 -04:00
Ulrich Pogson c71baced96 Correct code indention (#1135) 2017-06-26 16:06:01 -04:00
Thomas Guillot d3ab4c0da4 _s: Add basic support for Content Options Post Details (#1131)
* _s: Add basic support for Content Options Post Details

This allows us to always display the category and author since it can
be hidden via Customizer -> Content Options

We don’t need to check for `is_multi_author` or `_s_categorized_blog()`
anymore.
2017-06-23 12:00:39 -04:00
jrfnl 7b8db5678f Move pingback function back to the `template-functions` file. 2017-06-16 01:17:42 +02:00
David A. Kennedy 1e9b0c686e Fix build errors related to #1066
Tweak #1066 to fix build errors

Adjust location of placeholder text
2017-06-09 16:29:17 -04:00