Skip to content

Commit

Permalink
updated theme name in updater class
Browse files Browse the repository at this point in the history
  • Loading branch information
alt-sandip-baikare committed Dec 20, 2023
1 parent eb9a69e commit c81e0aa
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified footer.php
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion functions.php
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

define('NICE_THEME_VERSION', 1.1);
define('NICE_THEME_VERSION', 1.2);

add_action( 'after_setup_theme', function() {
get_template_part( 'inc/classes/Updater' );
Expand Down
Empty file modified header.php
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion inc/classes/Updater.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function update_themes( $transient ) {

new Updater(
[
'name' => 'Nice', // Theme Name.
'name' => 'nice', // Theme Name.
'repo' => 'alt-sandip-baikare/nice', // Theme repository.
'slug' => 'nice', // Theme Slug.
'url' => 'https://github.com/alt-sandip-baikare/nice/', // Theme URL.
Expand Down
Empty file modified index.php
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion style.css
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Nice is the simple WordPress theme.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.1
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nice
Expand Down

0 comments on commit c81e0aa

Please sign in to comment.