-
Notifications
You must be signed in to change notification settings - Fork 4
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 #818 from publishpress/master
Sync master to development
- Loading branch information
Showing
28 changed files
with
3,194 additions
and
2,783 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
/** | ||
* @package PublishPress\Checklists | ||
* @author PublishPress <[email protected]> | ||
|
@@ -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 | ||
|
@@ -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'); | ||
} | ||
|
||
/** | ||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
/** | ||
* @package PublishPress\Checklists | ||
* @author PublishPress <[email protected]> | ||
|
@@ -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 | ||
|
@@ -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'); | ||
} | ||
|
||
/** | ||
|
@@ -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); | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
/** | ||
* @package PublishPress\Checklists | ||
* @author PublishPress <[email protected]> | ||
|
@@ -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'); | ||
} | ||
|
||
/** | ||
|
Binary file not shown.
Oops, something went wrong.