Skip to content

Commit

Permalink
Merge pull request #818 from publishpress/master
Browse files Browse the repository at this point in the history
Sync master to development
  • Loading branch information
richaferry authored Oct 21, 2024
2 parents e530d13 + dcdbf85 commit 886fa42
Show file tree
Hide file tree
Showing 28 changed files with 3,194 additions and 2,783 deletions.
40 changes: 20 additions & 20 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions core/Requirement/Featured_image.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @package PublishPress\Checklists
* @author PublishPress <[email protected]>
Expand Down Expand Up @@ -30,7 +31,7 @@ class Featured_image extends Base_simple
/**
* @var int
*/
public $position = 140;
public $position = 102;

/**
* Initialize the language strings for the instance
Expand All @@ -39,8 +40,8 @@ class Featured_image extends Base_simple
*/
public function init_language()
{
$this->lang['label'] = __('Featured image', 'publishpress-checklists');
$this->lang['label_settings'] = __('Featured image', 'publishpress-checklists');
$this->lang['label'] = __('Featured image is added', 'publishpress-checklists');
$this->lang['label_settings'] = __('Featured image is added', 'publishpress-checklists');
}

/**
Expand Down
9 changes: 5 additions & 4 deletions core/Requirement/Featured_image_alt.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @package PublishPress\Checklists
* @author PublishPress <[email protected]>
Expand Down Expand Up @@ -30,7 +31,7 @@ class Featured_image_alt extends Base_simple
/**
* @var int
*/
public $position = 150;
public $position = 105;

/**
* Initialize the language strings for the instance
Expand All @@ -39,8 +40,8 @@ class Featured_image_alt extends Base_simple
*/
public function init_language()
{
$this->lang['label'] = __('Alt text for featured images', 'publishpress-checklists');
$this->lang['label_settings'] = __('Alt text for featured images', 'publishpress-checklists');
$this->lang['label'] = __('Featured image has Alt text', 'publishpress-checklists');
$this->lang['label_settings'] = __('Featured image has Alt text', 'publishpress-checklists');
}

/**
Expand All @@ -58,7 +59,7 @@ public function get_current_status($post, $option_value)
* check if new post
* new post will have no thumbnail in initialize page
*/
if($thumbnail_id === 0) return true;
if ($thumbnail_id === 0) return true;

$thumbnail_alt = get_post_meta($thumbnail_id, '_wp_attachment_image_alt', true);

Expand Down
5 changes: 3 additions & 2 deletions core/Requirement/Image_alt.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @package PublishPress\Checklists
* @author PublishPress <[email protected]>
Expand Down Expand Up @@ -40,8 +41,8 @@ class Image_alt extends Base_simple
*/
public function init_language()
{
$this->lang['label'] = __('Alt text for all images', 'publishpress-checklists');
$this->lang['label_settings'] = __('Alt text for all images', 'publishpress-checklists');
$this->lang['label'] = __('All images have Alt text', 'publishpress-checklists');
$this->lang['label_settings'] = __('All images have Alt text', 'publishpress-checklists');
}

/**
Expand Down
Binary file modified languages/publishpress-checklists-de_DE.mo
Binary file not shown.
Loading

0 comments on commit 886fa42

Please sign in to comment.