Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
T
Taxonomy List Widget
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WP Plugins
Taxonomy List Widget
Commits
97704d4a
Commit
97704d4a
authored
Aug 30, 2020
by
Erick Hitter
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bump-wp-compat' into 'master'
Bump WP compatibility See merge request
!5
parents
3ac4060c
86b11308
Pipeline
#2761
passed with stages
in 12 minutes
Changes
7
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
76 additions
and
103 deletions
+76
-103
.gitlab-ci.yml
.gitlab-ci.yml
+2
-55
Gruntfile.js
Gruntfile.js
+2
-2
README.md
README.md
+1
-1
languages/taxonomy-list-widget.pot
languages/taxonomy-list-widget.pot
+68
-43
readme.txt
readme.txt
+1
-1
taxonomy-list-widget.php
taxonomy-list-widget.php
+1
-0
tests/bootstrap.php
tests/bootstrap.php
+1
-1
No files found.
.gitlab-ci.yml
View file @
97704d4a
variables
:
# Configure mysql service (https://hub.docker.com/_/mysql/)
MYSQL_DATABASE
:
wordpress_tests
MYSQL_ROOT_PASSWORD
:
mysql
cache
:
paths
:
-
$HOME/.composer
-
/root/.composer
before_script
:
# Set up WordPress tests
-
bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql latest
true
# PHPUnit
-
|
if [[ $(php -v) =~ "PHP 7." ]]; then
composer global require "phpunit/phpunit=6.1.*"
else
composer global require "phpunit/phpunit=4.8.*"
fi
# Install PHPCS and WPCS
-
composer global require automattic/vipwpcs
-
composer global require phpcompatibility/phpcompatibility-wp
-
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs,$HOME/.composer/vendor/phpcompatibility/php-compatibility,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-paragonie,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-wp
PHPunit:PHP7.2:MySQL:
image
:
containers.ethitter.com:443/docker/images/php:7.2
services
:
-
mysql:5.6
script
:
-
find . -type "f" -iname "*.php" | xargs -L "1" php -l
-
phpcs -n
-
phpunit
allow_failure
:
true
PHPunit:PHP7.3:MySQL:
image
:
containers.ethitter.com:443/docker/images/php:7.3
services
:
-
mysql:5.6
script
:
-
find . -type "f" -iname "*.php" | xargs -L "1" php -l
-
phpcs -n
-
phpunit
allow_failure
:
true
PluginSVN
:
stage
:
deploy
image
:
containers.ethitter.com:443/docker/images/php:7.3
before_script
:
-
curl -o ./bin/deploy.sh https://git-cdn.e15r.co/open-source/wp-org-plugin-deploy/raw/master/scripts/deploy.sh
-
chmod +x ./bin/deploy.sh
script
:
./bin/deploy.sh
when
:
on_success
include
:
-
remote
:
https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/default.yml
Gruntfile.js
View file @
97704d4a
...
...
@@ -32,8 +32,8 @@ module.exports = function( grunt ) {
options
:
{
domainPath
:
'
/languages
'
,
exclude
:
[
'
\
.git/*
'
,
'
bin/*
'
,
'
node_modules/*
'
,
'
tests/*
'
],
mainFile
:
'
ta
g
-list-widget.php
'
,
potFilename
:
'
ta
g
-list-widget.pot
'
,
mainFile
:
'
ta
xonomy
-list-widget.php
'
,
potFilename
:
'
ta
xonomy
-list-widget.pot
'
,
potHeaders
:
{
poedit
:
true
,
'
x-poedit-keywordslist
'
:
true
...
...
README.md
View file @
97704d4a
...
...
@@ -3,7 +3,7 @@
**Donate link:**
https://ethitter.com/donate/
**Tags:**
tag, tags, taxonomy, sidebar, widget, widgets, list
**Requires at least:**
2.8
**Tested up to:**
5.
4
**Tested up to:**
5.
5
**Stable tag:**
1.3.1
**License:**
GPLv2 or later
**License URI:**
http://www.gnu.org/licenses/gpl-2.0.html
...
...
languages/ta
g
-list-widget.pot
→
languages/ta
xonomy
-list-widget.pot
View file @
97704d4a
# Copyright (C) 2020
# This file is distributed under the same license as the package.
# Copyright (C) 2020
Erick Hitter
# This file is distributed under the same license as the
Taxonomy List Widget
package.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/tag-list-widget\n"
"POT-Creation-Date: 2020-03-26 17:48:35+00:00\n"
"Project-Id-Version: Taxonomy List Widget 1.3.1\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/taxonomy-list-widget\n"
"POT-Creation-Date: 2020-08-30 21:07:15+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
...
...
@@ -24,158 +25,182 @@ msgstr ""
"X-Poedit-Bookmarks: \n"
"X-Textdomain-Support: yes\n"
#: taxonomy-list-widget.php:52
6
#: taxonomy-list-widget.php:52
7
msgid "Basic Settings"
msgstr ""
#: taxonomy-list-widget.php:5
29
#: taxonomy-list-widget.php:5
30
msgid "Taxonomy"
msgstr ""
#: taxonomy-list-widget.php:53
8
#: taxonomy-list-widget.php:53
9
msgid "Title:"
msgstr ""
#: taxonomy-list-widget.php:54
2
#: taxonomy-list-widget.php:54
3
msgid "List Style"
msgstr ""
#: taxonomy-list-widget.php:54
5
#: taxonomy-list-widget.php:54
6
msgid "Bulleted list"
msgstr ""
#: taxonomy-list-widget.php:54
6
#: taxonomy-list-widget.php:54
7
msgid "Numbered list"
msgstr ""
#: taxonomy-list-widget.php:54
7
#: taxonomy-list-widget.php:54
8
msgid "Line break"
msgstr ""
#: taxonomy-list-widget.php:54
8
#: taxonomy-list-widget.php:54
9
msgid "Custom, as specified below"
msgstr ""
#: taxonomy-list-widget.php:55
1
#: taxonomy-list-widget.php:55
2
msgid "Custom list style"
msgstr ""
#: taxonomy-list-widget.php:57
3
#: taxonomy-list-widget.php:57
4
msgid "Order"
msgstr ""
#: taxonomy-list-widget.php:57
6
#: taxonomy-list-widget.php:57
7
msgid "Order terms by:"
msgstr ""
#: taxonomy-list-widget.php:5
79
#: taxonomy-list-widget.php:5
80
msgid "Name"
msgstr ""
#: taxonomy-list-widget.php:58
2
#: taxonomy-list-widget.php:58
3
msgid "Post count"
msgstr ""
#: taxonomy-list-widget.php:58
6
#: taxonomy-list-widget.php:58
7
msgid "Order terms:"
msgstr ""
#: taxonomy-list-widget.php:5
89
#: taxonomy-list-widget.php:5
90
msgid "Ascending"
msgstr ""
#: taxonomy-list-widget.php:59
2
#: taxonomy-list-widget.php:59
3
msgid "Descending"
msgstr ""
#: taxonomy-list-widget.php:59
5
#: taxonomy-list-widget.php:59
6
msgid "Term Display"
msgstr ""
#: taxonomy-list-widget.php:59
8
#: taxonomy-list-widget.php:59
9
msgid "Limit number of terms shown to:"
msgstr ""
#: taxonomy-list-widget.php:60
0
#: taxonomy-list-widget.php:60
1
msgid "<small>Enter <strong>0</strong> for no limit."
msgstr ""
#: taxonomy-list-widget.php:60
4
#: taxonomy-list-widget.php:60
5
msgid "Trim long term names to <em>x</em> characters:</label>"
msgstr ""
#: taxonomy-list-widget.php:60
6
#: taxonomy-list-widget.php:60
7
msgid "<small>Enter <strong>0</strong> to show full tag names."
msgstr ""
#: taxonomy-list-widget.php:61
0
#: taxonomy-list-widget.php:61
1
msgid "Indicator that term names are trimmed:"
msgstr ""
#: taxonomy-list-widget.php:61
2
#: taxonomy-list-widget.php:61
3
msgid "<small>Leave blank to use an elipsis (…).</small>"
msgstr ""
#: taxonomy-list-widget.php:61
7
#: taxonomy-list-widget.php:61
8
msgid "Include terms that aren't assigned to any objects (empty terms)."
msgstr ""
#: taxonomy-list-widget.php:62
2
#: taxonomy-list-widget.php:62
3
msgid "Display object (post) counts after term names."
msgstr ""
#: taxonomy-list-widget.php:62
5
#: taxonomy-list-widget.php:62
6
msgid "Include/Exclude Terms"
msgstr ""
#: taxonomy-list-widget.php:62
8
#: taxonomy-list-widget.php:62
9
msgid "Include/exclude terms:"
msgstr ""
#: taxonomy-list-widget.php:63
1
#: taxonomy-list-widget.php:63
2
msgid "Include only the term IDs listed below"
msgstr ""
#: taxonomy-list-widget.php:63
4
#: taxonomy-list-widget.php:63
5
msgid "Exclude the term IDs listed below"
msgstr ""
#: taxonomy-list-widget.php:63
8
#: taxonomy-list-widget.php:63
9
msgid "Term IDs to include/exclude based on above setting:"
msgstr ""
#: taxonomy-list-widget.php:64
0
#: taxonomy-list-widget.php:64
1
msgid "<small>Enter comma-separated list of term IDs.</small>"
msgstr ""
#: taxonomy-list-widget.php:64
3
#: taxonomy-list-widget.php:64
4
msgid "Advanced"
msgstr ""
#: taxonomy-list-widget.php:64
6
#: taxonomy-list-widget.php:64
7
msgid "Show terms assigned to at least this many posts:"
msgstr ""
#: taxonomy-list-widget.php:64
8
#: taxonomy-list-widget.php:64
9
msgid ""
"<small>Set to <strong>0</strong> to display all terms matching the above "
"criteria.</small>"
msgstr ""
#: taxonomy-list-widget.php:65
2
#: taxonomy-list-widget.php:65
3
msgid "Link relationship:"
msgstr ""
#: taxonomy-list-widget.php:65
5
#: taxonomy-list-widget.php:65
6
msgid "nofollow"
msgstr ""
#: taxonomy-list-widget.php:65
8
#: taxonomy-list-widget.php:65
9
msgid "dofollow"
msgstr ""
#: taxonomy-list-widget.php:66
0
#: taxonomy-list-widget.php:66
1
msgid ""
"The above setting determines whether or not search engines visit linked "
"pages from links in this widget's list."
msgstr ""
#. Plugin Name of the plugin/theme
msgid "Taxonomy List Widget"
msgstr ""
#. Plugin URI of the plugin/theme
msgid "https://ethitter.com/plugins/taxonomy-list-widget/"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Creates a list of non-hierarchical taxonomies as an alternative to the term "
"(tag) cloud. Widget provides numerous options to tailor the output to fit "
"your site. List function can also be called directly for use outside of the "
"widget. Formerly known as <strong><em>Tag List Widget</em></strong>."
msgstr ""
#. Author of the plugin/theme
msgid "Erick Hitter"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://ethitter.com/"
msgstr ""
\ No newline at end of file
readme.txt
View file @
97704d4a
...
...
@@ -3,7 +3,7 @@ Contributors: ethitter
Donate link: https://ethitter.com/donate/
Tags: tag, tags, taxonomy, sidebar, widget, widgets, list
Requires at least: 2.8
Tested up to: 5.
4
Tested up to: 5.
5
Stable tag: 1.3.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
...
...
taxonomy-list-widget.php
View file @
97704d4a
<?php
// phpcs:ignoreFile -- legacy code in need of refactoring.
/*
Plugin Name: Taxonomy List Widget
Plugin URI: https://ethitter.com/plugins/taxonomy-list-widget/
...
...
tests/bootstrap.php
View file @
97704d4a
...
...
@@ -23,7 +23,7 @@ require_once $_tests_dir . '/includes/functions.php';
* Manually load the plugin being tested.
*/
function
_manually_load_plugin
()
{
require
dirname
(
dirname
(
__FILE__
)
)
.
'/ta
g
-list-widget.php'
;
require
dirname
(
dirname
(
__FILE__
)
)
.
'/ta
xonomy
-list-widget.php'
;
}
tests_add_filter
(
'muplugins_loaded'
,
'_manually_load_plugin'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment