Skip to content

Commit

Permalink
Merge pull request #39 from uriweb/release-1.7
Browse files Browse the repository at this point in the history
Bump version to 1.7.0
  • Loading branch information
alexandragauss authored Jun 29, 2023
2 parents 4c623b2 + ea9701e commit e387364
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

Add `[programs-categories]` to a page and a form magically appears.

## What's new in 1.6.0
## What's new in 1.7.0

Program Finder 1.6.0 is a minor release.
Program Finder 1.7.0 is a minor release.

* Adds a composer.json file
* Adds field for customizing the accelerated program link

For complete details, see the [commit history](https://github.com/uriweb/uri-program-finder/pull/20/commits) and the [issue tracker](https://github.com/uriweb/uri-program-finder/issues).

Expand All @@ -26,6 +26,6 @@ __Contributors:__ [johnpennypacker](https://github.com/johnpennypacker), [bjcful
__Tags:__ plugins, shortcodes
__Requires at least:__ 4.0
__Tested up to:__ 5.5
__Stable tag:__ 1.6.0
__Stable tag:__ 1.7.0
__License:__ GPL-3.0
__Licence URI:__ https://www.gnu.org/licenses/gpl-3.0.html
4 changes: 2 additions & 2 deletions 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,7 +1,7 @@
{
"name": "uri-program-finder",
"description": "URI Program Finder",
"version": "1.6.0",
"version": "1.7.0",
"homepage": "https://www.uri.edu",
"repository": {
"type": "git",
Expand Down
12 changes: 6 additions & 6 deletions template-parts/single-program.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@
$accelerated_link = 'https://' . uri_modern_get_the_domain() . '/programs/abm/';
$accelerated_language = 'Optional bachelor's to master's in five years';

if ( $accelerated_custom_language = uri_modern_get_field( 'accelerated_language' ) ) {
$accelerated_language = $accelerated_custom_language;
}
if ( $accelerated_custom_language = uri_modern_get_field( 'accelerated_language' ) ) {
$accelerated_language = $accelerated_custom_language;
}

if ( $accelerated_custom_link = uri_modern_get_field( 'accelerated_link' ) ) {
$accelerated_link = $accelerated_custom_link;
}
if ( $accelerated_custom_link = uri_modern_get_field( 'accelerated_link' ) ) {
$accelerated_link = $accelerated_custom_link;
}

echo '<a href="' . $accelerated_link . '">' . $accelerated_language . '</a>';
?>
Expand Down
2 changes: 1 addition & 1 deletion uri-program-finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: URI Program Finder
* Plugin URI: http://www.uri.edu
* Description: Program finder tools
* Version: 1.6.0
* Version: 1.7.0
* Author: URI Web Communications
* Author URI:
*
Expand Down

0 comments on commit e387364

Please sign in to comment.