Skip to content

Commit 6f6ddeb

Browse files
author
Philip Morkisch
committed
Added error string
1 parent 004eaa2 commit 6f6ddeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

byscripts_ajax_posts_loader.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public function start() {
7878
'page_link_model' => get_pagenum_link(9999999999),
7979
'load_more_str' => __('Load more news', $this->identifier),
8080
'loading_str' => __('Loading...', $this->identifier),
81+
'error_str' => __('An error occured. Could not load more posts.', $this->identifier),
8182
'no_more_str' => __('No more news to load', $this->identifier),
8283
'content_css_selector' => get_option($this->prefix('content_css_selector'), '#content'),
8384
'pagination_css_selector' => get_option($this->prefix('pagination_css_selector'), '.pagination'),
@@ -132,4 +133,4 @@ public function settingsLink($links) {
132133
}
133134
}
134135

135-
new ByScriptsAjaxPostsLoader();
136+
new ByScriptsAjaxPostsLoader();

0 commit comments

Comments
 (0)