srsimonson
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [Widget for Social Page Feeds] Crash on PHP8If you need to fix it, open the plugin file fb_class.php, around lines 139 is where it breaks.
in_array( $tab, $select) ? ‘selected=”selected”‘ : ”, the $selected may be defined as a string. I changed it to the below and it works. I don’t know if it’s the referred solution of the plugin author, but it gets you by until a fix is released.
$tabs = array( 'timeline','events','messages' ); foreach( $tabs as $tab ) { if ( is_array($select) ) { printf( '<option value="%s" class="hot-topic" %s style="margin-bottom:3px;">%s</option>', $tab, in_array( $tab, $select) ? 'selected="selected"' : '', $tab ); } else { printf( '<option value="%s" class="hot-topic" %s style="margin-bottom:3px;">%s</option>', $tab, $select ? 'selected="selected"' : '', $tab ); } }
Forum: Plugins
In reply to: [Search Exclude] Queryable in WP DB?Thank you for the quick response, this was helpful! The purpose is to generate reports about URLs. One of the columns would be which pages have Search Exclude visible/hidden, so ideally writing a JOIN on the post.id. As you said, the sterilized JSON would be pretty limiting. It could be parsed out, but that would be not worth the effort for the few URLs we’re talking about. Thanks again!
- This reply was modified 2 years, 7 months ago by srsimonson.
Viewing 2 replies - 1 through 2 (of 2 total)