Skip to content
Permalink
Browse files

Merge branch 'master' into feat/tests-with-git

  • Loading branch information...
LeoColomb committed Sep 21, 2019
2 parents 1fd8550 + 858d6ab commit e9f1bc0dbad0423f89fb5dbe997bffc65b73e4ee
Showing with 2,405 additions and 2,161 deletions.
  1. +0 βˆ’47 .github/CONTRIBUTING.md
  2. +0 βˆ’39 .github/ISSUE_TEMPLATE.md
  3. +0 βˆ’4 .github/MISSING_ISSUE_TEMPLATE_AUTOREPLY.md
  4. +0 βˆ’26 .github/probot.js
  5. +7 βˆ’9 .travis.yml
  6. +42 βˆ’109 README.md
  7. +4 βˆ’0 admin/index.php
  8. +7 βˆ’4 composer.json
  9. +57 βˆ’57 composer.lock
  10. +1 βˆ’1 includes/Config/Config.php
  11. +5 βˆ’5 includes/functions-auth.php
  12. +2 βˆ’2 includes/functions-formatting.php
  13. +18 βˆ’6 includes/functions-html.php
  14. +2 βˆ’2 includes/functions-install.php
  15. +48 βˆ’7 includes/functions.php
  16. +27 βˆ’44 includes/vendor/aura/sql/README.md
  17. +111 βˆ’2 includes/vendor/aura/sql/src/ConnectionLocator.php
  18. +4 βˆ’1 includes/vendor/aura/sql/src/ExtendedPdo.php
  19. +5 βˆ’0 includes/vendor/aura/sql/src/ExtendedPdoInterface.php
  20. +8 βˆ’1 includes/vendor/aura/sql/src/Profiler.php
  21. +26 βˆ’4 includes/vendor/aura/sql/src/Rebuilder.php
  22. +1 βˆ’0 includes/vendor/build-script/yourls-build.sh
  23. +4 βˆ’4 includes/vendor/composer/ClassLoader.php
  24. +19 βˆ’0 includes/vendor/composer/ca-bundle/LICENSE
  25. +8 βˆ’0 includes/vendor/composer/ca-bundle/README.md
  26. +54 βˆ’0 includes/vendor/composer/ca-bundle/composer.json
  27. +257 βˆ’663 includes/vendor/composer/ca-bundle/res/cacert.pem
  28. +18 βˆ’1 includes/vendor/composer/ca-bundle/src/CaBundle.php
  29. +268 βˆ’268 includes/vendor/composer/installed.json
  30. +5 βˆ’8 includes/vendor/geoip2/geoip2/README.md
  31. +0 βˆ’27 includes/vendor/geoip2/geoip2/src/Compat/JsonSerializable.php
  32. +62 βˆ’60 includes/vendor/geoip2/geoip2/src/Database/Reader.php
  33. +1 βˆ’2 includes/vendor/geoip2/geoip2/src/Exception/HttpException.php
  34. +1 βˆ’1 includes/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php
  35. +16 βˆ’11 includes/vendor/geoip2/geoip2/src/Model/AbstractModel.php
  36. +7 βˆ’11 includes/vendor/geoip2/geoip2/src/Model/AnonymousIp.php
  37. +3 βˆ’4 includes/vendor/geoip2/geoip2/src/Model/Asn.php
  38. +16 βˆ’19 includes/vendor/geoip2/geoip2/src/Model/City.php
  39. +2 βˆ’2 includes/vendor/geoip2/geoip2/src/Model/ConnectionType.php
  40. +4 βˆ’6 includes/vendor/geoip2/geoip2/src/Model/Country.php
  41. +2 βˆ’2 includes/vendor/geoip2/geoip2/src/Model/Domain.php
  42. +0 βˆ’9 includes/vendor/geoip2/geoip2/src/Model/Enterprise.php
  43. +0 βˆ’9 includes/vendor/geoip2/geoip2/src/Model/Insights.php
  44. +3 βˆ’6 includes/vendor/geoip2/geoip2/src/Model/Isp.php
  45. +6 βˆ’6 includes/vendor/geoip2/geoip2/src/ProviderInterface.php
  46. +17 βˆ’8 includes/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php
  47. +10 βˆ’9 includes/vendor/geoip2/geoip2/src/Record/AbstractRecord.php
  48. +1 βˆ’4 includes/vendor/geoip2/geoip2/src/Record/City.php
  49. +4 βˆ’7 includes/vendor/geoip2/geoip2/src/Record/Continent.php
  50. +11 βˆ’11 includes/vendor/geoip2/geoip2/src/Record/Country.php
  51. +5 βˆ’12 includes/vendor/geoip2/geoip2/src/Record/Location.php
  52. +1 βˆ’1 includes/vendor/geoip2/geoip2/src/Record/MaxMind.php
  53. +2 βˆ’3 includes/vendor/geoip2/geoip2/src/Record/Postal.php
  54. +8 βˆ’9 includes/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php
  55. +6 βˆ’11 includes/vendor/geoip2/geoip2/src/Record/Subdivision.php
  56. +32 βˆ’25 includes/vendor/geoip2/geoip2/src/Record/Traits.php
  57. +79 βˆ’82 includes/vendor/geoip2/geoip2/src/WebService/Client.php
  58. +21 βˆ’5 includes/vendor/maxmind-db/reader/README.md
  59. +47 βˆ’37 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php
  60. +161 βˆ’129 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php
  61. +6 βˆ’14 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Metadata.php
  62. +3 βˆ’5 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Util.php
  63. +3 βˆ’3 includes/vendor/maxmind/web-service-common/README.md
  64. +7 βˆ’5 includes/vendor/maxmind/web-service-common/src/WebService/Client.php
  65. +24 βˆ’14 includes/vendor/pomo/pomo/src/MO.php
  66. +64 βˆ’46 includes/vendor/pomo/pomo/src/PO.php
  67. +347 βˆ’0 includes/vendor/pomo/pomo/src/Parser/PluralForms.php
  68. +1 βˆ’1 includes/vendor/pomo/pomo/src/Streams/FileReader.php
  69. +0 βˆ’3 includes/vendor/pomo/pomo/src/Streams/NOOPReader.php
  70. +3 βˆ’4 includes/vendor/pomo/pomo/src/Streams/Reader.php
  71. +9 βˆ’3 includes/vendor/pomo/pomo/src/Streams/StreamInterface.php
  72. +14 βˆ’14 includes/vendor/pomo/pomo/src/Translations/EntryTranslations.php
  73. +28 βˆ’19 includes/vendor/pomo/pomo/src/Translations/GettextTranslations.php
  74. +1 βˆ’6 includes/vendor/pomo/pomo/src/Translations/NOOPTranslations.php
  75. +4 βˆ’8 includes/vendor/pomo/pomo/src/Translations/Translations.php
  76. +26 βˆ’18 includes/vendor/pomo/pomo/src/Translations/TranslationsInterface.php
  77. +19 βˆ’0 includes/vendor/symfony/polyfill-mbstring/LICENSE
  78. +166 βˆ’30 includes/vendor/symfony/polyfill-mbstring/Mbstring.php
  79. +1 βˆ’6 includes/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php
  80. +5 βˆ’0 includes/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php
  81. +1 βˆ’6 includes/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php
  82. +2 βˆ’0 includes/vendor/symfony/polyfill-mbstring/bootstrap.php
  83. +34 βˆ’0 includes/vendor/symfony/polyfill-mbstring/composer.json
  84. +1 βˆ’1 includes/version.php
  85. +2 βˆ’2 js/infos.js
  86. +2 βˆ’0 js/jquery-3.3.1.min.js
  87. +1 βˆ’0 js/jquery-3.tablesorter.min.js
  88. +0 βˆ’47 js/jquery.tablesorter.min.js
  89. +3 βˆ’3 js/share.js
  90. +40 βˆ’0 js/tablesorte.js
  91. +50 βˆ’51 readme.html
  92. +2 βˆ’10 yourls-go.php

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -4,32 +4,30 @@ env:
global:
- DB=mysql

services:
- mysql

matrix:
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
- php: nightly
fast_finish: true
allow_failures:
- php: nightly
- php: 7.2


before_script:
- which phpunit
- phpunit --version
- mysql --version
- git clone git://github.com/ozh/YOURLS-fr_FR.git user/languages/fr
- cp user/languages/fr/fr_FR.* user/languages
- mysql -e 'create database IF NOT EXISTS yourls_tests;'
- cp tests/data/config/yourls-tests-config-travis.php user/config.php
- cd test/ && composer install

script: phpunit --configuration phpunit-travis.xml.dist
script: tests/vendor/bin/phpunit --configuration ./phpunit-travis.xml.dist

notifications:
email: false
151 README.md
@@ -1,127 +1,60 @@
[![yourls](images/yourls-logo.png)](https://yourls.org) [![Build Status](https://api.travis-ci.org/YOURLS/YOURLS.svg?branch=master)](https://travis-ci.org/YOURLS/YOURLS) [![OpenCollective](https://opencollective.com/yourls/backers/badge.svg)](#backers)
[![OpenCollective](https://opencollective.com/yourls/sponsors/badge.svg)](#sponsors) ![♥](https://img.shields.io/badge/made%20with-%E2%9D%A4-ff69b4.svg)
========
<h1 align="center">
<a href="https://yourls.org">
<img src="images/yourls-logo.png" alt="YOURLS">
</a>
</h1>

**YOURLS** is a set of PHP scripts that will allow you to run <strong>Y</strong>our <strong>O</strong>wn <strong>URL</strong> <strong>S</strong>hortener. You'll have full control over your data, detailed stats, analytics, plugins, and more. It's free.
> Your Own URL Shortener
[![Build Status](https://api.travis-ci.org/YOURLS/YOURLS.svg?branch=master)](https://travis-ci.org/YOURLS/YOURLS) [![Packagist](https://img.shields.io/packagist/v/yourls/yourls.svg)](https://packagist.org/packages/yourls/yourls) [![OpenCollective](https://opencollective.com/yourls/backers/badge.svg)](https://opencollective.com/yourls#contributors)
[![OpenCollective](https://opencollective.com/yourls/sponsors/badge.svg)](#sponsors)

Quick Start
-----------
To get started, check [yourls.org](https://yourls.org)!
**YOURLS** is a set of PHP scripts that will allow you to run <strong>Y</strong>our <strong>O</strong>wn <strong>URL</strong> <strong>S</strong>hortener. You'll have full control over your data, detailed stats, analytics, plugins, and more. It's free and open-source.

## Quick Start

To get started, check [yourls.org](https://yourls.org)!
Learn more tweaks in the [Wiki documentation](https://github.com/YOURLS/YOURLS/wiki/).


Community news, tips and tricks
-------------------------------
## Community news, tips and tricks

* Read and subscribe to the [The Official YOURLS Blog](http://blog.yourls.org)
* Follow [@yourls](https://twitter.com/yourls)
* Subscribe to the [YOURLS User Newsletter](http://yourls.org/newsletter) (infrequent, low volume)
* Follow [@yourls](https://twitter.com/yourls) on Twitter
* Subscribe to the [YOURLS User Newsletter](https://yourls.org/newsletter) (infrequent, low volume)


Keep track of development
-------------------------
* Follow [@yourls_dev](http://twitter.com/yourls_dev)
## Keep track of development

* Follow [@yourls_dev](https://twitter.com/yourls_dev)
* Check [commit messages](https://github.com/YOURLS/YOURLS/commits/master)
* Check the [Road map](https://github.com/YOURLS/YOURLS/wiki/Road-Map)
* Check the [Road map](https://github.com/orgs/YOURLS/projects/1)


## Contributing

Bug Tracker
-----------
__Before opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/YOURLS/YOURLS/wiki/Bug-Report).__

Have a **new bug** to report? [Please open a new issue](https://github.com/YOURLS/YOURLS/issues/new?title=Issue+title+--+be+DESCRIPTIVE).


Versioning
----------
For transparency, YOURLS will be maintained under the [Semantic Versioning](http://semver.org) principles as much as possible. Releases are numbered with the following format: `<major>.<minor>.<patch>` and the following guidelines:
* Breaking backward compatibility bumps the major (and resets the minor and patch)
* New additions without breaking backward compatibility bumps the minor (and resets the patch)
* Bug fixes and misc changes bumps the patch

*[Release Archive](https://github.com/YOURLS/YOURLS/releases)*


Sponsors
-------
Does your company use YOURLS? Help the project, become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/yourls#sponsor)]

<a href="https://opencollective.com/yourls/sponsor/0/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/1/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/2/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/3/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/4/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/5/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/6/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/7/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/8/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/9/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/10/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/10/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/11/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/11/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/12/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/12/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/13/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/13/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/14/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/14/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/15/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/15/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/16/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/16/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/17/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/17/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/18/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/18/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/19/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/19/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/20/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/20/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/21/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/21/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/22/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/22/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/23/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/23/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/24/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/24/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/25/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/25/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/26/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/26/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/27/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/27/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/28/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/28/avatar.svg"></a>
<a href="https://opencollective.com/yourls/sponsor/29/website" target="_blank"><img src="https://opencollective.com/yourls/sponsor/29/avatar.svg"></a>
Backers
-------
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/yourls#backer)]
<a href="https://opencollective.com/yourls/backer/0/website" target="_blank"><img src="https://opencollective.com/yourls/backer/0/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/1/website" target="_blank"><img src="https://opencollective.com/yourls/backer/1/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/2/website" target="_blank"><img src="https://opencollective.com/yourls/backer/2/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/3/website" target="_blank"><img src="https://opencollective.com/yourls/backer/3/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/4/website" target="_blank"><img src="https://opencollective.com/yourls/backer/4/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/5/website" target="_blank"><img src="https://opencollective.com/yourls/backer/5/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/6/website" target="_blank"><img src="https://opencollective.com/yourls/backer/6/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/7/website" target="_blank"><img src="https://opencollective.com/yourls/backer/7/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/8/website" target="_blank"><img src="https://opencollective.com/yourls/backer/8/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/9/website" target="_blank"><img src="https://opencollective.com/yourls/backer/9/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/10/website" target="_blank"><img src="https://opencollective.com/yourls/backer/10/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/11/website" target="_blank"><img src="https://opencollective.com/yourls/backer/11/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/12/website" target="_blank"><img src="https://opencollective.com/yourls/backer/12/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/13/website" target="_blank"><img src="https://opencollective.com/yourls/backer/13/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/14/website" target="_blank"><img src="https://opencollective.com/yourls/backer/14/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/15/website" target="_blank"><img src="https://opencollective.com/yourls/backer/15/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/16/website" target="_blank"><img src="https://opencollective.com/yourls/backer/16/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/17/website" target="_blank"><img src="https://opencollective.com/yourls/backer/17/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/18/website" target="_blank"><img src="https://opencollective.com/yourls/backer/18/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/19/website" target="_blank"><img src="https://opencollective.com/yourls/backer/19/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/20/website" target="_blank"><img src="https://opencollective.com/yourls/backer/20/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/21/website" target="_blank"><img src="https://opencollective.com/yourls/backer/21/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/22/website" target="_blank"><img src="https://opencollective.com/yourls/backer/22/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/23/website" target="_blank"><img src="https://opencollective.com/yourls/backer/23/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/24/website" target="_blank"><img src="https://opencollective.com/yourls/backer/24/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/25/website" target="_blank"><img src="https://opencollective.com/yourls/backer/25/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/26/website" target="_blank"><img src="https://opencollective.com/yourls/backer/26/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/27/website" target="_blank"><img src="https://opencollective.com/yourls/backer/27/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/28/website" target="_blank"><img src="https://opencollective.com/yourls/backer/28/avatar.svg"></a>
<a href="https://opencollective.com/yourls/backer/29/website" target="_blank"><img src="https://opencollective.com/yourls/backer/29/avatar.svg"></a>
Contributors
------------
YOURLS is made by these fine folks :
<a href="graphs/contributors"><img src="https://opencollective.com/yourls/contributors.svg?width=890" /></a>
License
-------
Free software. Do whatever the hell you want with it.
YOURLS is released under the [MIT license](LICENSE.md)
## Sponsors

Does your company use YOURLS? Help support our open-source development efforts by [becoming a sponsor](https://opencollective.com/yourls).

[![](https://opencollective.com/yourls/backer/0/avatar.svg)](https://opencollective.com/yourls/backer/0/website)
[![](https://opencollective.com/yourls/backer/1/avatar.svg)](https://opencollective.com/yourls/backer/1/website)
[![](https://opencollective.com/yourls/backer/2/avatar.svg)](https://opencollective.com/yourls/backer/2/website)
[![](https://opencollective.com/yourls/backer/3/avatar.svg)](https://opencollective.com/yourls/backer/3/website)
[![](https://opencollective.com/yourls/backer/4/avatar.svg)](https://opencollective.com/yourls/backer/4/website)
[![](https://opencollective.com/yourls/sponsor/0/avatar.svg)](https://opencollective.com/yourls/sponsor/0/website)
[![](https://opencollective.com/yourls/sponsor/1/avatar.svg)](https://opencollective.com/yourls/sponsor/1/website)
[![](https://opencollective.com/yourls/sponsor/2/avatar.svg)](https://opencollective.com/yourls/sponsor/2/website)
[![](https://opencollective.com/yourls/sponsor/3/avatar.svg)](https://opencollective.com/yourls/sponsor/3/website)
[![](https://opencollective.com/yourls/sponsor/4/avatar.svg)](https://opencollective.com/yourls/sponsor/4/website)


## License

Free software. Do whatever the hell you want with it.
YOURLS is released under the [MIT license](LICENSE).
@@ -120,6 +120,10 @@
$sort_by_text = yourls__( 'URL' );
$sort_by = 'url';
break;
case 'title':
$sort_by_text = yourls__( 'Title' );
$sort_by = 'title';
break;
case 'timestamp':
$sort_by_text = yourls__( 'Date' );
$sort_by = 'timestamp';

0 comments on commit e9f1bc0

Please sign in to comment.
You can’t perform that action at this time.