Skip to content

Commit 3f03c0e

Browse files
Merge pull request #97 from MachoThemes/master
Bug-fixing round #2
2 parents 97d4b2b + 5793a1d commit 3f03c0e

File tree

5 files changed

+50
-53
lines changed

5 files changed

+50
-53
lines changed

changelog.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
### 1.0.7
2+
<a href="https://github.com/puikinsh/shapely/issues">Issues</a>
3+
#23 - html was missing a closing tag
4+
#85 - sanitized with strip_tags
5+
#85 - sanitized dropdown with strip_tags
6+
#56 - removed admin styles
7+
#66 - moved to plugin
8+
#79 - re-added the quotes for q element
9+
#82 - this was no longer used, widgets were moved to a plugin
10+
#68 - this should be in the plugin repo, fixed
11+
#93 #47 - Post thumb is now shown in content ( above the title )
12+
#63 - escapes/sanitizes where needed
13+
#60 - Default string is now translatable
14+
#58 - removed sanitization function that's no longer used
15+
#28 - this should be in the companion plugin, fixed.
16+
117
### 1.0.6
218
<a href="https://github.com/puikinsh/shapely/issues">Issues</a>
319

inc/customizer.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,6 @@ function shapely_sanitize_hexcolor( $color ) {
240240
}
241241

242242

243-
/**
244-
* Adds sanitization callback function: Number.
245-
*/
246-
function shapely_sanitize_number( $input ) {
247-
if ( isset( $input ) && is_numeric( $input ) ) {
248-
return $input;
249-
}
250-
}
251-
252243
/**
253244
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
254245
*/

languages/shapely.pot

Lines changed: 32 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the GNU General Public License v3.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Shapely 1.0.5\n"
5+
"Project-Id-Version: Shapely 1.0.6\n"
66
"Report-Msgid-Bugs-To: https://www.colorlib.com/\n"
7-
"POT-Creation-Date: 2016-12-08 12:16:12+00:00\n"
7+
"POT-Creation-Date: 2016-12-09 08:04:09+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -93,19 +93,19 @@ msgstr ""
9393
msgid "Used for footer widget area"
9494
msgstr ""
9595

96-
#: functions.php:310
96+
#: functions.php:294
9797
msgid "Left Sidebar"
9898
msgstr ""
9999

100-
#: functions.php:311
100+
#: functions.php:295
101101
msgid "Right Sidebar"
102102
msgstr ""
103103

104-
#: functions.php:312
104+
#: functions.php:296
105105
msgid "No Sidebar"
106106
msgstr ""
107107

108-
#: functions.php:313
108+
#: functions.php:297
109109
msgid "Full Width"
110110
msgstr ""
111111

@@ -456,110 +456,100 @@ msgstr ""
456456
msgid "Type Here"
457457
msgstr ""
458458

459-
#: inc/extras.php:277 inc/extras.php:577
459+
#: inc/extras.php:277 inc/extras.php:547
460460
msgid "Search"
461461
msgstr ""
462462

463-
#: inc/extras.php:437
463+
#: inc/extras.php:407
464464
#. translators: 1: date, 2: time
465465
msgid "%1$s at %2$s"
466466
msgstr ""
467467

468-
#: inc/extras.php:437
468+
#: inc/extras.php:407
469469
msgid "Edit"
470470
msgstr ""
471471

472-
#: inc/extras.php:449
472+
#: inc/extras.php:419
473473
msgid "Your comment is awaiting moderation."
474474
msgstr ""
475475

476-
#: inc/extras.php:483
476+
#: inc/extras.php:453
477477
msgid "Your Name"
478478
msgstr ""
479479

480-
#: inc/extras.php:487
480+
#: inc/extras.php:457
481481
msgid "Email Address"
482482
msgstr ""
483483

484-
#: inc/extras.php:491
484+
#: inc/extras.php:461
485485
msgid "Your Website (optional)"
486486
msgstr ""
487487

488-
#: inc/extras.php:496
488+
#: inc/extras.php:466
489489
msgid "Leave Comment"
490490
msgstr ""
491491

492-
#: inc/extras.php:579 inc/extras.php:581
492+
#: inc/extras.php:549 inc/extras.php:551
493493
msgid "Portfolio"
494494
msgstr ""
495495

496-
#: inc/metaboxes.php:16
496+
#: inc/metaboxes.php:15
497497
msgid ""
498498
"Select layout for this specific Page only ( Note: This setting only "
499499
"reflects if page Template is set as Default Template and Blog Type "
500500
"Templates.)"
501501
msgstr ""
502502

503-
#: inc/metaboxes.php:21
503+
#: inc/metaboxes.php:20
504504
msgid "Select layout for this specific Post only"
505505
msgstr ""
506506

507-
#: inc/metaboxes.php:28
507+
#: inc/metaboxes.php:27
508508
msgid "Select layout for this specific Product only"
509509
msgstr ""
510510

511-
#: inc/metaboxes.php:36
511+
#: inc/metaboxes.php:35
512512
msgid "Select layout for this specific Portfolio only"
513513
msgstr ""
514514

515-
#: inc/template-tags.php:44 inc/template-tags.php:50
515+
#: inc/metaboxes.php:64
516+
msgid "Default"
517+
msgstr ""
518+
519+
#: inc/template-tags.php:47 inc/template-tags.php:53
516520
#. translators: used between list items, there is a space after the comma
517521
msgid ", "
518522
msgstr ""
519523

520-
#: inc/template-tags.php:46
524+
#: inc/template-tags.php:49
521525
msgid "Posted in %1$s"
522526
msgstr ""
523527

524-
#: inc/template-tags.php:53
528+
#: inc/template-tags.php:56
525529
msgid "Tagged %1$s"
526530
msgstr ""
527531

528-
#: inc/template-tags.php:59
532+
#: inc/template-tags.php:62
529533
msgid "Leave a comment"
530534
msgstr ""
531535

532-
#: inc/template-tags.php:59
536+
#: inc/template-tags.php:62
533537
msgid "1 Comment"
534538
msgstr ""
535539

536-
#: inc/template-tags.php:59
540+
#: inc/template-tags.php:62
537541
msgid "% Comments"
538542
msgstr ""
539543

540-
#: inc/template-tags.php:66 template-parts/content-page.php:33
544+
#: inc/template-tags.php:69 template-parts/content-page.php:33
541545
#. translators: %s: Name of current post
542546
msgid "Edit %s"
543547
msgstr ""
544548

545-
#: inc/template-tags.php:127
549+
#: inc/template-tags.php:131
546550
msgid "View all posts in %s"
547551
msgstr ""
548552

549-
#: inc/woo-setup.php:98
550-
msgid "View your shopping cart"
551-
msgstr ""
552-
553-
#: inc/woo-setup.php:99
554-
msgid "Start shopping"
555-
msgstr ""
556-
557-
#: inc/woo-setup.php:103
558-
msgid "%d item"
559-
msgid_plural "%d items"
560-
msgstr[0] ""
561-
msgstr[1] ""
562-
563553
#: search.php:21
564554
msgid "Search Results for: %s"
565555
msgstr ""
@@ -650,7 +640,7 @@ msgctxt "Read More"
650640
msgid "Read More"
651641
msgstr ""
652642

653-
#: inc/extras.php:497
643+
#: inc/extras.php:467
654644
msgctxt "noun"
655645
msgid "Comment"
656646
msgstr ""

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: https://colorlib.com/wp/themes/shapely
44
Author: colorlib
55
Author URI: https://colorlib.com/
66
Description: Shapely is a powerful and versatile one page WordPress theme with pixel perfect design and outstanding functionality. It is by far the most advanced free WordPress theme available today with loads of unmatched customization options. This theme comes with several homepage widgets that can be used to add portfolio, testimonials, parallax sections, your product or service information, call for action and much more. Shapely supports most free and premium WordPress plugins such as WooCommerce, Jetpack, Gravity Forms, Contact Form 7, Yoast SEO, Google Analytics by Yoast and much more. This theme is the best suited for business, landing page, portfolio, ecommerce, store, local business, personal websites but can be tweaked to be used as blog, magazine or any other awesome website while highlighting its unique one page setup. This is going to be the last WordPress theme you will ever want to use because it is so much better than anything you have seen. Needless to say that this theme is SEO friendly thanks to its well optimized strucutre. Shapely theme is mobile friendly and fully responsive making it your best multipurpose partnert for any project and website.
7-
Version: 1.0.6
7+
Version: 1.0.7
88
License: GNU General Public License v3
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010
Text Domain: shapely

template-parts/content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<article id="post-<?php the_ID(); ?>" <?php post_class('post-snippet mb64'.( is_single() ? ' content': "")); ?>>
1313
<header class="entry-header nolist">
1414
<?php
15-
if( has_post_thumbnail() && !is_single() ){ ?>
15+
if( has_post_thumbnail() ){ ?>
1616
<a class="text-center" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php
1717
the_post_thumbnail( 'shapely-featured', array( 'class' => 'mb24')); ?>
1818
</a><?php

0 commit comments

Comments
 (0)