Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: wp-content/plugins/spectacula-page-widget/spec-page-widget.php
- ===================================================================
- --- wp-content/plugins/spectacula-page-widget/spec-page-widget.php (revision 424269)
- +++ wp-content/plugins/spectacula-page-widget/spec-page-widget.php (working copy)
- @@ -81,9 +81,9 @@
- if (!post_password_required($page_id)) {
- if ($excerpt_toggle) {
- - $content = $page->post_excerpt ? apply_filters('the_excerpt', $page->post_excerpt) : $this->excerptify($page->post_content);
- + $content = $page->post_excerpt ? apply_filters('the_excerpt', $page->post_excerpt, $page->ID) : $this->excerptify($page->post_content);
- } else {
- - $content = apply_filters('the_content', $page->post_content);
- + $content = apply_filters('the_content', $page->post_content, $page->ID);
- }
- } else {
- $content = __('Password protected page', SPEC_PAGEWIDGET_DOM);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement