Skip to content

Commit

Permalink
Merge pull request #830 from publishpress/release-v2.11.5
Browse files Browse the repository at this point in the history
Release v2.11.5
  • Loading branch information
olatechpro authored Jul 20, 2023
2 parents 5b50e31 + e5507b6 commit 81d7794
Show file tree
Hide file tree
Showing 23 changed files with 3,106 additions and 2,167 deletions.
2 changes: 1 addition & 1 deletion addons/grouping/legacy-includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function series_grouping_delete_output() {
?>
<tr valign="top">
<th scope="row"><label for="kill_grouping_on_delete">
<?php _e('Series Categories Feature', 'organize-series'); ?>
<?php _e('Series Categories', 'organize-series'); ?>
</label>
</th>
<td>
Expand Down
2 changes: 2 additions & 0 deletions addons/publisher/css/series_im_sort_articles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
max-width: 910px;
}

.pp-series-publisher-wrap.series-publish table tbody tr,
.pp-series-publisher-wrap.series-order table tbody tr,
.pp-series-publisher-wrap.series-order-pending table tbody tr {
cursor: move;
}

.pp-series-publisher-wrap.series-publish .postbox-container #submitdiv,
.pp-series-publisher-wrap.series-order .postbox-container #submitdiv,
.pp-series-publisher-wrap.series-order-pending .postbox-container #submitdiv {
margin-top: 45px;
Expand Down
6 changes: 5 additions & 1 deletion addons/publisher/js/series_im_sort_articles.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ jQuery(document).ready( function($) {
axis: "y",
});

$(".pp-series-publisher-wrap.series-publish table tbody").sortable({
axis: "y",
});

function im_update_post_order() {
var im_post_IDs = new Array();
jQuery(".im_article_list tr").each( function() {
im_post_IDs.push(jQuery(this).attr('id').substring(5));
});
jQuery("#im_publish_posts").val(im_post_IDs.join(','));
jQuery(".im_publish_posts").val(im_post_IDs.join(','));
}

});
4 changes: 2 additions & 2 deletions addons/publisher/series-pending-post-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function get_table_data()
{

$series_id = isset($_GET['series_ID']) ? (int) $_GET['series_ID'] : false;
$meta_key = apply_filters('orgseries_part_key', SERIES_PART_KEY, $series_id);
$meta_key = apply_filters('orgseries_pending_part_key', '_pending_series_part', $series_id);
$series_posts = [];

if ($series_id) {
Expand Down Expand Up @@ -185,7 +185,7 @@ protected function column_default($item, $column_name)
*/
public function no_items()
{
_e('There are no pending posts in this series.', 'organize-series');
_e('There are no unpublished posts in this series.', 'organize-series');
}

/**
Expand Down
6 changes: 3 additions & 3 deletions addons/publisher/series-publish-post-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ public function get_table_data()
{

$series_id = isset($_GET['series_ID']) ? (int)$_GET['series_ID'] : false;
$meta_key = apply_filters('orgseries_part_key', SERIES_PART_KEY, $series_id);
$meta_key = apply_filters('orgseries_pending_part_key', '_pending_series_part', $series_id);
$series_posts = [];

if ($series_id) {
$per_page = $this->get_items_per_page('pp_series_publisher_per_page', 20);
$per_page = $this->get_items_per_page('pp_series_publisher_per_page', 999);
$current_page = $this->get_pagenum();

$arg = array(
Expand Down Expand Up @@ -447,7 +447,7 @@ public function prepare_items()
/**
* First, lets decide how many records per page to show
*/
$per_page = $this->get_items_per_page('pp_series_publisher_per_page', 20);
$per_page = $this->get_items_per_page('pp_series_publisher_per_page', 999);

/**
* Fetch the data
Expand Down
4 changes: 2 additions & 2 deletions addons/publisher/series_im_admin_main.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="wrap">
<h2><?php _e('Manage Series to Publish', 'organize-series'); ?></h2>
<h2><?php _e('Manage Series', 'organize-series'); ?></h2>

<table class="widefat im_category_list wp-list-table fixed">
<thead>
Expand Down Expand Up @@ -31,7 +31,7 @@
</table>

<?php if(count($series) === 0) { ?>
<div class="ppseries-warning"><?php esc_html_e('You have no series available to publish.', 'organize-series'); ?> <a href="<?php echo esc_url(admin_url('/edit-tags.php?taxonomy='. ppseries_get_series_slug() .'')); ?>"><?php esc_html_e('Add new Series.', 'organize-series'); ?></a></div>
<div class="ppseries-warning"><?php esc_html_e('You have no series available.', 'organize-series'); ?> <a href="<?php echo esc_url(admin_url('/edit-tags.php?taxonomy='. ppseries_get_series_slug() .'')); ?>"><?php esc_html_e('Add new Series.', 'organize-series'); ?></a></div>
<?php }
?>
</div>
157 changes: 123 additions & 34 deletions addons/publisher/series_issue_manager.php

Large diffs are not rendered by default.

Binary file modified languages/organize-series-es_ES.mo
100755 → 100644
Binary file not shown.
Loading

0 comments on commit 81d7794

Please sign in to comment.