Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring: Copyright update, php version bump etc... #8

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
composer.lock
/vendor
/.idea
11 changes: 10 additions & 1 deletion changelog.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Change Log

You can see the changes made via the [commit log](https://github.com/justintadlock/hybrid-breadcrumbs/commits/master) for the latest release.
You can see the changes made via the [commit log](https://github.com/themehybrid/hybrid-breadcrumbs/commits/master) for the latest release.

## [1.1.1] - 2023-02-18

### Updated

- Update copyright year
- Update copyright author
- Bump php version from 5.6 -> 7.4
- Fix typo `Query\WeekArchive` to `Query\Week`

## [1.1.0] - 2019-06-10

Expand Down
2 changes: 1 addition & 1 deletion contributing.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

The code for the this project is handled via its [GitHub Repository](https://github.com/justintadlock/hybrid-breadcrumbs). You can open tickets, create patches, and send pull requests there.
The code for this project is handled via its [GitHub Repository](https://github.com/themehybrid/hybrid-breadcrumbs). You can open tickets, create patches, and send pull requests there.

## Pull requests

Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions readme.md → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This project was [originally launched in 2009](http://justintadlock.com/archives
## Requirements

* WordPress 4.9+.
* PHP 5.6+ (preferably 7+).
* PHP 7.4+ (preferably 8+).
* [Composer](https://getcomposer.org/) for managing PHP dependencies.

## Documentation
Expand All @@ -27,7 +27,7 @@ cd path/to/wp-content/themes/<your-theme-name>
Then, use Composer to install the package.

```bash
composer require justintadlock/hybrid-breadcrumbs
composer require themehybrid/hybrid-breadcrumbs
```

Assuming you're not already including the Composer autoload file for your theme and are shipping this as part of your theme package, you'll want something like the following bit of code in your theme's `functions.php` to autoload this package (and any others).
Expand All @@ -44,7 +44,7 @@ if ( file_exists( get_parent_theme_file_path( 'vendor/autoload.php' ) ) ) {

Because this script has a few internationalized text strings within it, you'll want to overwrite the textdomain or use something like this [one theme with two textdomains trick](https://gist.github.com/justintadlock/7a605c29ae26c80878d0) (the textdomain in this project is `'hybrid-core'`).

If you're creating a theme using the [Hybrid Core framework](https://github.com/justintadlock/hybrid-core), you don't have to worry about this. Hybrid Core will appropriately handle translations for you.
If you're creating a theme using the [Hybrid Core framework](https://github.com/themehybrid/hybrid-core), you don't have to worry about this. Hybrid Core will appropriately handle translations for you.

### Usage

Expand Down Expand Up @@ -187,4 +187,4 @@ $defaults = [

This project is licensed under the [GNU GPL](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html), version 2 or later.

2018-2019 &copy; [Justin Tadlock](http://justintadlock.com).
2008&thinsp;&ndash;&thinsp;2023 &copy; [Theme Hybrid](https://themehybrid.com).
43 changes: 25 additions & 18 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
{
"name" : "themehybrid/hybrid-breadcrumbs",
"description" : "A powerful breadcrumb script for inclusion with WordPress themes.",
"keywords" : [ "wordpress" ],
"homepage" : "https://github.com/justintadlock/hybrid-breadcrumbs",
"license" : "GPL-2.0-or-later",
"authors" : [
"name": "themehybrid/hybrid-breadcrumbs",
"description": "A powerful breadcrumb script for inclusion with WordPress themes.",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress"
],
"authors": [
{
"name" : "Justin Tadlock",
"email" : "justintadlock@gmail.com",
"homepage" : "https://themehybrid.com",
"role" : "Developer"
"name": "Theme Hybrid",
"email": "themehybrid@gmail.com",
"homepage": "https://themehybrid.com",
"role": "Developer"
}
],
"support" : {
"issues" : "https://github.com/themehybrid/hybrid-breadcrumbs/issues",
"forum" : "https://themehybrid.com/board/topics"
"homepage": "https://github.com/themehybrid/hybrid-breadcrumbs",
"support": {
"issues": "https://github.com/themehybrid/hybrid-breadcrumbs/issues",
"forum": "https://themehybrid.com/board/topics"
},
"require": {
"php": ">=7.4"
},
"autoload" : {
"psr-4" : {
"Hybrid\\Breadcrumbs\\" : "src/"
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Hybrid\\Breadcrumbs\\": "src/"
}
},
"require" : {
"php" : ">=5.6"
"config": {
"sort-packages": true
}
}
Loading