-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #649 from publishpress/release-v2.10.0
Release v2.10.0
- Loading branch information
Showing
53 changed files
with
4,703 additions
and
2,143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
use OrganizeSeries\application\Root; | ||
use OrganizeSeries\domain\model\ClassOrInterfaceFullyQualifiedName; | ||
use OrganizeSeries\GroupingAddon\domain\Meta; | ||
use OrganizeSeries\GroupingAddon\domain\services\Bootstrap; | ||
|
||
|
||
Root::initializeExtensionMeta( | ||
__FILE__, | ||
OS_GROUPING_VERSION, | ||
new ClassOrInterfaceFullyQualifiedName( | ||
Meta::class | ||
) | ||
); | ||
$fully_qualified_bootstrap_class = new ClassOrInterfaceFullyQualifiedName(Bootstrap::class); | ||
Root::registerAndLoadExtensionBootstrap($fully_qualified_bootstrap_class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "organize-series/organize-series-grouping", | ||
"description": "An add-on for PublishPress Series that allows one to group series together.", | ||
"type": "wordpress-plugin", | ||
"keywords": ["wordpress", "plugin", "organize-series", "organize-series-extension"], | ||
"license": "GPLv2", | ||
"authors": [ | ||
{ | ||
"name": "Darren Ethier", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.6", | ||
"composer/installers": "v1.0.6" | ||
}, | ||
"autoload": { | ||
"psr-4": {"OrganizeSeries\\GroupingAddon\\": "src/"} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"versionFile":"organize-series-grouping.php","slug":"organize-series-grouping","textDomain":"organize-series-grouping","name":"PublishPress Series Grouping","releaseFilesRemove":["src\/tests\/**","src\/acceptance_tests\/**","src\/docs\/**","src\/info.json","src\/readme.txt","src\/wp-assets\/**","src\/.travis.yml","src\/ISSUE_TEMPLATE.md","src\/PULL_REQUEST_TEMPLATE.md","src\/assets\/src\/**"],"wpOrgRelease":"2.2.6"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
jQuery(document).ready(function($) { | ||
$('#the-list').on('click', '.editinline', function() { | ||
var id, type, editRowData, rowData, group_check, group_text; | ||
var r_id = inlineEditTax.getId(this); | ||
type = $('#the-list').attr('data-wp-lists').substr(5); | ||
rowData = $('#inline_group_'+r_id); | ||
id = $('series_group_id', rowData).text(); | ||
$('#hidden_group_id', 'div.inline_edit_group_old').remove(); | ||
$('div.inline_edit_group_old').attr('class', 'inline_edit_group_'); | ||
$('div.inline_edit_group_').attr('class', 'inline_edit_group_'+id); | ||
editRowData = $('.inline_edit_group_'+id); | ||
/*editRow = $('#inline-edit').clone(true);*/ | ||
|
||
if ( type == 'tag' ) { | ||
group_check = $('.group_inline_edit', rowData).text(); | ||
group_text = $('.group_inline_name', rowData).text(); | ||
|
||
if ( group_check === '' ) { | ||
group_check = -1; | ||
} | ||
|
||
$('.group_inline_edit', rowData).each(function() { | ||
if ( term_ids = $(this).text() ) | ||
{ | ||
taxname = 'category'; | ||
|
||
$('ul.'+taxname+'-checklist :checkbox', editRowData).val(term_ids.split(',')); | ||
|
||
} | ||
}); | ||
|
||
} | ||
|
||
$('span.catshow').click(function() { | ||
$(this).hide().next().show().parent().next().addClass("cat-hover"); | ||
}); | ||
|
||
$('span.cathide').click(function() { | ||
$(this).hide().prev().show().parent().next().removeClass("cat-hover"); | ||
}); | ||
$(editRowData).attr('class', 'inline_edit_group_old'); | ||
}); | ||
|
||
var series_filter = $('#series_group_filter'); | ||
|
||
$('.col-wrap', '#col-right').prepend(series_filter); | ||
}); |
Oops, something went wrong.