Skip to content

Commit

Permalink
Merge pull request #59 from asdfdotdev/development
Browse files Browse the repository at this point in the history
Well that's embarrassing...
  • Loading branch information
chrislarrycarl authored Feb 23, 2022
2 parents 0ac2272 + 59db47e commit f0f0e30
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 26 deletions.
6 changes: 5 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: analytics, utm codes, analytics, google analytics, campaign marketing, lin
Requires at least: 4.7.0
Tested up to: 5.9
Requires PHP: 5.6.0
Stable tag: 1.8.0
Stable tag: 1.8.1
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -97,6 +97,10 @@ That isn't a question. But thank you.

== Changelog ==

= 1.8.1 =

- Fix marketing links post list filters

= 1.8.0 =

- Supports WordPress v5.9
Expand Down
8 changes: 4 additions & 4 deletions classes/class-utmdotcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function( $key, $entry ) use ( $post ) {
'<p><label for="%1$s_%2$s" class="selectit"><input type="checkbox" name="%1$s_%2$s" id="%1$s_%2$s">%3$s</label></p>',
self::POST_TYPE,
'batch',
__( 'Create Social Links in Batch', 'utm-dot-codes' )
esc_html__( 'Create Social Links in Batch', 'utm-dot-codes' )
)
);
}
Expand All @@ -340,7 +340,7 @@ function( $key, $entry ) use ( $post ) {
if ( $this->is_test() ) {
return $contents;
} else {
echo esc_html( implode( PHP_EOL, $contents ) );
echo implode( PHP_EOL, $contents );
}
}

Expand Down Expand Up @@ -1310,15 +1310,15 @@ function( $key, $value ) {
$markup[] = sprintf(
'<select id="filter-by-%1$s" name="%1$s"><option value="">%2$s</option>%3$s</select>',
self::POST_TYPE . '-label',
__( 'Any Label', 'utm-dot-codes' ),
esc_html__( 'Any Label', 'utm-dot-codes' ),
implode( PHP_EOL, $term_options )
);
}

if ( $this->is_test() ) {
return $markup;
} else {
echo esc_html( implode( PHP_EOL, $markup ) );
echo implode( PHP_EOL, $markup );
}
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asdfdotdev/utm.codes",
"version": "1.8.0",
"version": "1.8.1",
"description": "A plugin that makes building analytics friendly links quick and easy.",
"type": "wordpress-plugin",
"require-dev": {
Expand Down
32 changes: 16 additions & 16 deletions languages/utm-dot-codes.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPL v2.
msgid ""
msgstr ""
"Project-Id-Version: utm.codes 1.8.0\n"
"Project-Id-Version: utm.codes 1.8.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/_utm-dot-codes\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2022-02-20T14:45:34+00:00\n"
"POT-Creation-Date: 2022-02-23T20:31:58+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.6.0\n"
"X-Domain: utm-dot-codes\n"
Expand Down Expand Up @@ -191,8 +191,8 @@ msgid "Notes"
msgstr ""

#: classes/class-utmdotcodes.php:334
#: _test/tests/test-integration.php:725
#: _test/tests/test-integration.php:789
#: _test/tests/test-integration.php:717
#: _test/tests/test-integration.php:781
msgid "Create Social Links in Batch"
msgstr ""

Expand Down Expand Up @@ -315,14 +315,14 @@ msgid "Adding your own custom link shortener is easy."
msgstr ""

#: classes/class-utmdotcodes.php:707
#: _test/tests/test-unit.php:366
#: _test/tests/test-unit.php:383
#: _test/tests/test-unit.php:358
#: _test/tests/test-unit.php:375
msgid "Settings"
msgstr ""

#: classes/class-utmdotcodes.php:711
#: _test/tests/test-unit.php:370
#: _test/tests/test-unit.php:387
#: _test/tests/test-unit.php:362
#: _test/tests/test-unit.php:379
msgid "Code"
msgstr ""

Expand Down Expand Up @@ -404,42 +404,42 @@ msgid "Save"
msgstr ""

#: classes/class-utmdotcodes.php:1760
#: _test/tests/test-unit.php:262
#: _test/tests/test-unit.php:254
msgid "Invalid URL format. Replaced with site URL. Please update as needed."
msgstr ""

#: classes/class-utmdotcodes.php:1768
#: _test/tests/test-unit.php:274
#: _test/tests/test-unit.php:266
msgid "Unable to save link. Please try again, your changes were not saved."
msgstr ""

#: classes/class-utmdotcodes.php:1776
#: _test/tests/test-unit.php:286
#: _test/tests/test-unit.php:278
msgid "Invalid URL shortener config."
msgstr ""

#: classes/class-utmdotcodes.php:1786
#: _test/tests/test-unit.php:298
#: _test/tests/test-unit.php:290
msgid "Unable to connect to Bitly API to shorten url. Please try again later."
msgstr ""

#: classes/class-utmdotcodes.php:1792
#: _test/tests/test-unit.php:310
#: _test/tests/test-unit.php:302
msgid "Bitly API responded with unauthorized error. API Key is invalid or rate limit exceeded."
msgstr ""

#: classes/class-utmdotcodes.php:1798
#: _test/tests/test-unit.php:322
#: _test/tests/test-unit.php:314
msgid "Bitly API experienced an error when shortening the link, please try again later."
msgstr ""

#: classes/class-utmdotcodes.php:1808
#: _test/tests/test-unit.php:334
#: _test/tests/test-unit.php:326
msgid "Rebrandly API responded with unauthorized error. API Key is invalid or rate limit exceeded."
msgstr ""

#: classes/class-utmdotcodes.php:1814
#: _test/tests/test-unit.php:346
#: _test/tests/test-unit.php:338
msgid "Rebrandly API experienced an error when shortening the link, please try again later."
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "utm-dot-codes",
"version": "1.8.0",
"version": "1.8.1",
"description": "A plugin that makes building analytics friendly links quick and easy.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions utm-dot-codes.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: utm.codes
* Plugin URI: https://utm.codes
* Description: A plugin that makes building analytics friendly links quick and easy.
* Version: 1.8.0
* Version: 1.8.1
* Author: Chris Carlevato
* Author URI: https://asdf.dev
* License: GPL v2
Expand All @@ -26,7 +26,7 @@
die( '-1' );
}

define( 'UTMDC_VERSION', '1.8.0' );
define( 'UTMDC_VERSION', '1.8.1' );
define( 'UTMDC_MINIMUM_WP_VERSION', '4.7' );
define( 'UTMDC_MINIMUM_PHP_VERSION', '5.6' );
define( 'UTMDC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
Expand Down

0 comments on commit f0f0e30

Please sign in to comment.