Skip to content

Commit

Permalink
📦 New release 3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel-James committed Jul 2, 2019
1 parent 5065c28 commit e3d3466
Show file tree
Hide file tree
Showing 13 changed files with 90 additions and 52 deletions.
Binary file added .freemius_assets/404-to-301-log-manager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .freemius_assets/404-to-301.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
32 changes: 16 additions & 16 deletions 404-to-301.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* Plugin Name: 404 to 301
* Plugin Name: 404 to 301 - Redirect, Log and Notify 404 Errors
* Plugin URI: https://duckdev.com/products/404-to-301/
* Description: Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool.
* Version: 3.0.4
* Version: 3.0.5
* Author: Joel James
* Author URI: https://duckdev.com/
* Donate link: https://paypal.me/JoelCJ
Expand All @@ -25,11 +25,11 @@
* You should have received a copy of the GNU General Public License
* along with 404 to 301. If not, see <http://www.gnu.org/licenses/>.
*
* @category Core
* @package JJ4T3
* @author Joel James <[email protected]>
* @license http://www.gnu.org/licenses/ GNU General Public License
* @link https://duckdev.com/products/404-to-301/
* @license http://www.gnu.org/licenses/ GNU General Public License
* @package JJ4T3
* @category Core
*/

// If this file is called directly, abort.
Expand Down Expand Up @@ -63,7 +63,7 @@ function jj4t3_set_constants() {
'JJ4T3_DIR' => plugin_dir_path( __FILE__ ),
'JJ4T3_URL' => plugin_dir_url( __FILE__ ),
'JJ4T3_BASE_FILE' => __FILE__,
'JJ4T3_VERSION' => '3.0.4',
'JJ4T3_VERSION' => '3.0.5',
'JJ4T3_DB_VERSION' => '11.0',
'JJ4T3_TABLE' => $GLOBALS['wpdb']->prefix . '404_to_301',
// Set who all can access plugin settings.
Expand Down Expand Up @@ -120,15 +120,15 @@ function jj4t3_freemius() {

// Initialize freemius sdk.
$jj4t3_fs = fs_dynamic_init( array(
'id' => '2192',
'slug' => '404-to-301',
'type' => 'plugin',
'public_key' => 'pk_9d470f3128e5e491ea5a2da6bf4bf',
'is_premium' => false,
'has_addons' => true,
'has_paid_plans' => false,
'anonymous_mode' => true, // Temporary fix.
'menu' => array(
'id' => '2192',
'slug' => '404-to-301',
'type' => 'plugin',
'public_key' => 'pk_9d470f3128e5e491ea5a2da6bf4bf',
'is_premium' => false,
'has_addons' => true,
'has_paid_plans' => false,
'anonymous_mode' => true, // Temporary fix.
'menu' => array(
'slug' => 'jj4t3-logs',
'account' => false,
'support' => false,
Expand All @@ -152,7 +152,7 @@ function jj4t3_freemius() {
// Uninstaller for 404 to 301.
jj4t3_freemius()->add_action( 'after_uninstall', array(
'JJ4T3_Activator_Deactivator_Uninstaller',
'uninstall'
'uninstall',
) );

// Signal that SDK was initiated.
Expand Down
10 changes: 9 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ module.exports = function ( grunt ) {
files: {
src: conf.plugin_branches.include_files,
dest: 'releases/<%= pkg.name %>/'
},
freemius: {
expand: true,
flatten: true,
src: '.freemius_assets/**',
dest: 'releases/<%= pkg.name %>/vendor/freemius/assets/img/',
filter: 'isFile'
}
},

Expand Down Expand Up @@ -159,7 +166,8 @@ module.exports = function ( grunt ) {
grunt.registerTask( 'build', 'Run all tasks.', function () {
grunt.task.run( 'clean' );
grunt.task.run( 'translate' );
grunt.task.run( 'copy' );
grunt.task.run( 'copy:files' );
grunt.task.run( 'copy:freemius' );
grunt.task.run( 'makepot:release' );
grunt.task.run( 'po2mo:release' );
grunt.task.run( 'compress' );
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Automatically redirect all 404 errors to any page using 301 redirect to boost yo

##### Contributors: <a href="https://github.com/joel-james/">Joel James</a>
##### Requires at least: WordPress 3.0
##### Tested up to: WordPress 5.1
##### Stable tag: 3.0.4
##### Tested up to: WordPress 5.2
##### Stable tag: 3.0.5

Before starting development make sure you read and understand everything in this README.

Expand Down
Binary file modified languages/404-to-301.mo
Binary file not shown.
72 changes: 48 additions & 24 deletions languages/404-to-301.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: 404 to 301 3.0.2\n"
"Project-Id-Version: 404 to 301 - Redirect, Log and Notify 404 Errors 3.0.5\n"
"Report-Msgid-Bugs-To: https://duckdev.com/products/404-to-301/\n"
"POT-Creation-Date: 2019-03-16 07:05:41+00:00\n"
"POT-Creation-Date: 2019-07-02 05:19:53+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -22,74 +22,98 @@ msgstr ""
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-Bookmarks: \n"
"X-Textdomain-Support: yes\n"
"X-Generator: grunt-wp-i18n1.0.2\n"
"X-Generator: grunt-wp-i18n 1.0.3\n"

#: includes/admin/class-jj4t3-admin.php:127
#: includes/admin/class-jj4t3-admin.php:139
msgid "Custom Redirect"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:151
#: includes/admin/class-jj4t3-admin.php:212
#: includes/admin/class-jj4t3-admin.php:163
#: includes/admin/class-jj4t3-admin.php:230
#: includes/admin/class-jj4t3-log-listing.php:47
msgid "404 Error Logs"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:151
#: includes/admin/class-jj4t3-admin.php:163
msgid "404 Errors"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:157
#: includes/admin/class-jj4t3-admin.php:172
msgid "404 to 301 Settings"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:157
#: includes/admin/class-jj4t3-admin.php:172
msgid "404 Settings"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:186
#: includes/admin/class-jj4t3-admin.php:204
msgid "Error Logs"
msgstr ""

#. Plugin Name of the plugin/theme
#: includes/admin/class-jj4t3-admin.php:288 includes/admin/views/admin.php:21
msgid "404 to 301"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:339 includes/admin/views/admin.php:27
#: includes/admin/class-jj4t3-admin.php:357 includes/admin/views/admin.php:27
msgid "Settings"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:340
#: includes/admin/class-jj4t3-admin.php:358
msgid "Logs"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:435
msgid ""
"Hey %1$s, I noticed you've been using %2$s404 to 301%3$s for more than 1 "
"week – that’s awesome! Could you please do me a BIG favor and give it a "
"5-star rating on WordPress? Just to help us spread the word and boost our "
"motivation."
msgstr ""

#: includes/admin/class-jj4t3-admin.php:436
msgid "there"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:442
msgid "Ok, you deserve it"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:445
msgid "Nope, maybe later"
msgstr ""

#: includes/admin/class-jj4t3-admin.php:448
msgid "I already did"
msgstr ""

#: includes/admin/class-jj4t3-log-listing.php:46
msgid "404 Error Log"
msgstr ""

#: includes/admin/class-jj4t3-log-listing.php:328
#: includes/functions/jj4t3-general-functions.php:318
#: includes/functions/jj4t3-general-functions.php:317
msgid "Date"
msgstr ""

#: includes/admin/class-jj4t3-log-listing.php:329
#: includes/functions/jj4t3-general-functions.php:319
#: includes/functions/jj4t3-general-functions.php:318
#: includes/public/class-jj4t3-404-email.php:193
msgid "404 Path"
msgstr ""

#: includes/admin/class-jj4t3-log-listing.php:330
#: includes/functions/jj4t3-general-functions.php:320
#: includes/functions/jj4t3-general-functions.php:319
msgid "From"
msgstr ""

#: includes/admin/class-jj4t3-log-listing.php:331
#: includes/functions/jj4t3-general-functions.php:321
#: includes/functions/jj4t3-general-functions.php:320
#: includes/public/class-jj4t3-404-email.php:198
msgid "IP Address"
msgstr ""

#: includes/admin/class-jj4t3-log-listing.php:332
#: includes/functions/jj4t3-general-functions.php:322
#: includes/functions/jj4t3-general-functions.php:321
msgid "User Agent"
msgstr ""

Expand Down Expand Up @@ -145,7 +169,7 @@ msgid "Redirecting from"
msgstr ""

#: includes/admin/views/custom-redirect.php:15
#: includes/functions/jj4t3-general-functions.php:323
#: includes/functions/jj4t3-general-functions.php:322
msgid "Redirect"
msgstr ""

Expand Down Expand Up @@ -177,7 +201,7 @@ msgstr ""
#: includes/admin/views/custom-redirect.php:42
msgid ""
"Enter the url if you want to set custom redirect for above 404 path. Enter "
"the full url including http://. Leave empty if you want to follow deafult "
"the full url including http://. Leave empty if you want to follow default "
"settings."
msgstr ""

Expand Down Expand Up @@ -311,10 +335,6 @@ msgstr ""
msgid "307 Redirect"
msgstr ""

#: includes/functions/jj4t3-general-functions.php:286
msgid "404 Not Found"
msgstr ""

#: includes/public/class-jj4t3-404-email.php:141
msgid "Snap! One more 404 on "
msgstr ""
Expand All @@ -335,6 +355,10 @@ msgstr ""
msgid "Alert sent by the %s404 to 301%s plugin for WordPress."
msgstr ""

#. Plugin Name of the plugin/theme
msgid "404 to 301 - Redirect, Log and Notify 404 Errors"
msgstr ""

#. Plugin URI of the plugin/theme
msgid "https://duckdev.com/products/404-to-301/"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "404-to-301",
"version": "3.0.4",
"version": "3.0.5",
"private": true,
"description": "Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool",
"keywords": [
Expand Down
20 changes: 13 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== 404 to 301 ===
=== 404 to 301 - Redirect, Log and Notify 404 Errors ===
Contributors: joelcj91,duckdev
Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect, seo redirect, error redirect, 404 seo, custom 404 page
Donate link: https://www.paypal.me/JoelCJ
Requires at least: 3.5
Tested up to: 5.1
Stable tag: 3.0.4
Tested up to: 5.2
Stable tag: 3.0.5
Requires PHP: 5.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -128,6 +128,12 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://duckdev.com

== Changelog ==

= 3.0.5 (02/07/2019) =
**👌 Improvements**

* Updated Freemius SDK.
* Tested with WP 5.2.

= 3.0.4 (16/03/2019) =
**📦 New**

Expand Down Expand Up @@ -408,8 +414,8 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://duckdev.com

== Upgrade Notice ==

= 3.0.4 (16/03/2019) =
**📦 New**
= 3.0.5 (02/07/2019) =
**👌 Improvements**

* Added option to disable URL guessing.
* Added review notice.
* Updated Freemius SDK.
* Tested with WP 5.2.
2 changes: 1 addition & 1 deletion vendor/freemius
Submodule freemius updated 71 files
+11 −0 .gitattributes
+2 −2 README.md
+1 −1 assets/css/admin/account.css
+2 −2 assets/css/admin/add-ons.css
+1 −1 assets/css/admin/common.css
+1 −1 assets/css/admin/connect.css
+1 −1 assets/css/admin/dialog-boxes.css
+14 −0 assets/scss/admin/_badge.scss
+5 −5 assets/scss/admin/_license-activation.scss
+4 −4 assets/scss/admin/_multisite-options.scss
+28 −0 assets/scss/admin/_tag.scss
+21 −14 assets/scss/admin/_themes.scss
+5 −0 assets/scss/admin/account.scss
+172 −12 assets/scss/admin/add-ons.scss
+1 −1 assets/scss/admin/connect.scss
+12 −0 assets/scss/admin/plugins.scss
+1 −1 composer.json
+3 −3 config.php
+1,844 −355 includes/class-freemius.php
+77 −38 includes/class-fs-api.php
+164 −36 includes/class-fs-plugin-updater.php
+2 −0 includes/class-fs-storage.php
+58 −0 includes/entities/class-fs-payment.php
+22 −1 includes/entities/class-fs-plugin-license.php
+12 −2 includes/entities/class-fs-plugin-tag.php
+12 −0 includes/entities/class-fs-plugin.php
+4 −1 includes/entities/class-fs-site.php
+17 −0 includes/entities/class-fs-user.php
+35 −6 includes/fs-core-functions.php
+557 −90 includes/fs-plugin-info-dialog.php
+2 −2 includes/i18n.php
+25 −14 includes/managers/class-fs-admin-menu-manager.php
+10 −3 includes/managers/class-fs-option-manager.php
+ languages/freemius-da_DK.mo
+1,010 −722 languages/freemius-da_DK.po
+ languages/freemius-en.mo
+510 −444 languages/freemius-en.po
+ languages/freemius-es_ES.mo
+585 −510 languages/freemius-es_ES.po
+ languages/freemius-fr_FR.mo
+585 −510 languages/freemius-fr_FR.po
+ languages/freemius-he_IL.mo
+585 −510 languages/freemius-he_IL.po
+ languages/freemius-hu_HU.mo
+586 −511 languages/freemius-hu_HU.po
+ languages/freemius-it_IT.mo
+586 −511 languages/freemius-it_IT.po
+ languages/freemius-ja_JP.mo
+586 −511 languages/freemius-ja_JP.po
+ languages/freemius-nl_NL.mo
+585 −510 languages/freemius-nl_NL.po
+ languages/freemius-ru_RU.mo
+585 −510 languages/freemius-ru_RU.po
+504 −438 languages/freemius.pot
+1 −1 start.php
+164 −24 templates/account.php
+8 −16 templates/account/billing.php
+81 −24 templates/account/partials/addon.php
+2 −2 templates/account/partials/site.php
+1 −1 templates/account/payments.php
+260 −16 templates/add-ons.php
+11 −3 templates/checkout.php
+51 −12 templates/connect.php
+88 −46 templates/forms/deactivation/form.php
+32 −31 templates/forms/license-activation.php
+3 −1 templates/forms/premium-versions-upgrade-metadata.php
+3 −3 templates/forms/subscription-cancellation.php
+1 −1 templates/js/open-license-activation.php
+10 −2 templates/js/style-premium-theme.php
+12 −4 templates/partials/network-activation.php
+5 −0 templates/pricing.php

0 comments on commit e3d3466

Please sign in to comment.