Skip to content

Commit

Permalink
Version 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretumTheme committed May 24, 2019
1 parent bd54107 commit 7bfdcd9
Show file tree
Hide file tree
Showing 14 changed files with 45 additions and 36 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
@@ -1,9 +1,15 @@
# Changelog

# 1.7.2
**2019-05-24 - Hotfix**

* Added frontpage/home check around entry-footer within post template part content.php.
* Re-added recaptcha dequeues for Contact 7 Form when recaptcha is in use.
* Corrected missing variable checks in frontpage post_meta calls.

# 1.7.1
**2019-05-24 - Hotfix**

* Corrected footer enable/disable wrap to include footer tags.
* Corrected edit post/page link returning its container when a parent container has been disabled.
* Corrected frontpage post_meta call to allow empty when displaying the default template.
* Corrected navwalker fallback to display pages menu when no menu is set and pages are published.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -3,7 +3,7 @@
* **Contributors:** SecretumTheme
* **Requires at least:** WordPress 4.8
* **Tested up to:** 5.2.1
* **Version:** 1.7.1
* **Version:** 1.7.2
* **License:** GPLv2 or later
* **License URI:** http://www.gnu.org/licenses/gpl-2.0.html
* **Tags:** one-column, two-columns, three-columns, right-sidebar, left-sidebar, flexible-header, custom-colors, custom-header, custom-background, custom-menu, custom-logo, editor-style, featured-image-header, featured-images, footer-widgets, post-formats, sticky-post, full-width-template, threaded-comments, theme-options, blog, e-commerce, translation-ready
Expand Down Expand Up @@ -150,9 +150,9 @@ Manual Tested With: [WordPress themeunittestdata.wordpress.xml](https://github.c

## Changelog

### 1.7.1
### 1.7.2
* Released: 2019-05-24
* Changelog: https://github.com/SecretumTheme/secretum/blob/master/CHANGELOG.md#0171
* Changelog: https://github.com/SecretumTheme/secretum/blob/master/CHANGELOG.md#0172


## Licenses
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Expand Up @@ -13,7 +13,7 @@
namespace Secretum;

// Constants.
define( 'SECRETUM_THEME_VERSION', '1.7.1' );
define( 'SECRETUM_THEME_VERSION', '1.7.2' );

define( 'SECRETUM_DIR', dirname( __FILE__ ) );
define( 'SECRETUM_BASE_URL', esc_url( home_url() ) );
Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js/tasks/translate.js
Expand Up @@ -12,15 +12,15 @@ var notify = require('gulp-notify');
var wpPot = require('gulp-wp-pot');
var text_domain = 'secretum';
var bug_report = 'https://github.com/SecretumTheme/secretum/issues';
var translator_contact = 'SecretumTheme <hostmaster@secretumtheme.com>';
var team_contact = 'SecretumTheme <hostmaster@secretumtheme.com>';
var translator_contact = 'SecretumTheme <author@secretumtheme.com>';
var team_contact = 'SecretumTheme <author@secretumtheme.com>';


/**
* Create Translation File
*/
gulp.task('translate', function () {
return gulp.src(['!/node_modules', './**/*.php', './*.php'])
return gulp.src(['!/node_modules', '!/css', '!/fonts', '!/js', '!/lang', './**/*.php', './*.php'])
.pipe(sort())
.pipe(wpPot({domain: text_domain, package: text_domain, bugReport: bug_report, lastTranslator: translator_contact, team: team_contact}))
.pipe(gulp.dest('./lang/secretum.pot'))
Expand Down
2 changes: 1 addition & 1 deletion inc/classes/class-navwalker.php
Expand Up @@ -426,7 +426,7 @@ public static function fallback( $args = [] ) {
]
);

$wp_list_pages = wp_list_pages( [ 'echo' => false ] );
$wp_list_pages = wp_list_pages( [ 'echo' => false ] );

if ( true === empty( $wp_list_pages ) ) {

Expand Down
3 changes: 2 additions & 1 deletion inc/enqueue.php
Expand Up @@ -3,7 +3,6 @@
* Hook Scripts and Styles
*
* @package Secretum
* @subpackage Core\Enqueue
* @author SecretumTheme <author@secretumtheme.com>
* @copyright 2018-2019 Secretum
* @license https://github.com/SecretumTheme/secretum/blob/master/license.txt GPL-2.0
Expand Down Expand Up @@ -209,6 +208,8 @@ function secretum_enqueue_scripts() {
// Custom Contact Form 7 Styles.
if ( true === defined( 'WPCF7_PLUGIN' ) ) {
wp_dequeue_style( 'contact-form-7' );
wp_dequeue_script( 'google-recaptcha' );
wp_dequeue_script( 'wpcf7_recaptcha_enqueue_scripts' );

wp_enqueue_style(
'secretum-contact-form-7',
Expand Down
4 changes: 2 additions & 2 deletions inc/template-functions/frontpage.php
Expand Up @@ -25,11 +25,11 @@ function secretum_frontpage_display() {
get_template_part( 'template-parts/frontpage/body' );
}

if ( 'page-templates/empty-content-only.php' === $secretum_page_template[0] ) {
if ( true === isset( $secretum_page_template[0] ) && 'page-templates/empty-content-only.php' === $secretum_page_template[0] ) {
get_template_part( 'template-parts/frontpage/body', 'empty' );
}

if ( 'page-templates/post-page-title-off.php' === $secretum_page_template[0] ) {
if ( true === isset( $secretum_page_template[0] ) && 'page-templates/post-page-title-off.php' === $secretum_page_template[0] ) {
get_template_part( 'template-parts/frontpage/body', 'notitle' );
}
}
Expand Down
12 changes: 6 additions & 6 deletions lang/secretum.pot
Expand Up @@ -6,8 +6,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: SecretumTheme <hostmaster@secretumtheme.com>\n"
"Last-Translator: SecretumTheme <hostmaster@secretumtheme.com>\n"
"Language-Team: SecretumTheme <author@secretumtheme.com>\n"
"Last-Translator: SecretumTheme <author@secretumtheme.com>\n"
"Report-Msgid-Bugs-To: https://github.com/SecretumTheme/secretum/issues\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
Expand All @@ -32,7 +32,7 @@ msgstr ""
msgid "Refresh Preview"
msgstr ""

#: inc/template-functions.php:163, inc/classes/class-navwalker.php:454
#: inc/template-functions.php:163, inc/classes/class-navwalker.php:453
msgid "Home"
msgstr ""

Expand Down Expand Up @@ -385,7 +385,7 @@ msgstr ""
msgid "Fluid, full-width"
msgstr ""

#: inc/classes/class-navwalker.php:440
#: inc/classes/class-navwalker.php:439
msgid "Create Menu"
msgstr ""

Expand Down Expand Up @@ -890,11 +890,11 @@ msgstr ""
msgid "Comment navigation"
msgstr ""

#: template-parts/post/content-none.php:24
#: template-parts/post/content-none.php:23
msgid "Ready to publish your first post?"
msgstr ""

#: template-parts/post/content-none.php:24
#: template-parts/post/content-none.php:23
msgid "Get started here"
msgstr ""

Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "Secretum",
"author": "SecretumTheme",
"version": "1.7.1",
"version": "1.7.2",
"license": "GPL-2.0",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Expand Up @@ -3,7 +3,7 @@ Contributors: SecretumTheme
Requires at least: WordPress 4.8
Tested up to: 5.2.1
Requires PHP: 5.6
Version: 1.7.1
Version: 1.7.2
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -81,9 +81,9 @@ Return to the Pages admin and customize the Front Page page as desired.

== Changelog ==

= 1.7.1 =
= 1.7.2 =
* Released: 2019-05-24
* Changelog: https://github.com/SecretumTheme/secretum/blob/master/CHANGELOG.md#0171
* Changelog: https://github.com/SecretumTheme/secretum/blob/master/CHANGELOG.md#0172


== Licenses ==
Expand Down
2 changes: 1 addition & 1 deletion style.css
Expand Up @@ -4,7 +4,7 @@ Description: Secretum is a highly customizable fluid-responsive cross-device mul
Theme URI: https://github.com/SecretumTheme/secretum
Author: SecretumTheme
Author URI: https://github.com/SecretumTheme
Version: 1.7.1
Version: 1.7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: secretum
Expand Down
2 changes: 2 additions & 0 deletions template-parts/post/content.php
Expand Up @@ -58,6 +58,7 @@
?>
</div><!-- .entry-content -->

<?php if ( true !== is_front_page() && true !== is_home() ) { ?>
<footer class="entry-footer py-4">
<?php
secretum_post_date_linked_to_post( get_the_title() );
Expand All @@ -72,6 +73,7 @@
get_template_part( 'template-parts/post/content', 'comments-links' );
?>
</footer><!-- .entry-footer -->
<?php } ?>
</article><!-- #post-## -->

<?php secretum_edit_link( get_the_ID() ); ?>
4 changes: 2 additions & 2 deletions updates.json
@@ -1,5 +1,5 @@
{
"version": "1.7.1",
"version": "1.7.2",
"details_url": "https://github.com/SecretumTheme/",
"download_url": "https://github.com/SecretumTheme/secretum/archive/1.7.1.zip"
"download_url": "https://github.com/SecretumTheme/secretum/archive/1.7.2.zip"
}

0 comments on commit 7bfdcd9

Please sign in to comment.