Roberto Villarreal
Forum Replies Created
-
Forum: Plugins
In reply to: [WDContactFormBuilder] Pathing IssueI submitted this to the wrong place, sorry!
If you are having the same issue as me, this is caused by the fact that
get_currentuserinfo()is deprecated in 4.5 and has been moved to pluggable-deprecated.phpThe fix is to edit
admin/includes/data_options.phpNeed to change:
if ( !function_exists('wp_get_current_user') ) {
require_once (ABSPATH . WPINC . '/pluggable.php');
}to:
if ( !function_exists('wp_get_current_user') ) {
require_once (ABSPATH . WPINC . '/pluggable-deprecated.php');
}ALTERNATE_WP_CRON is defined in the plugin itself. The plugin checks to see if it is defined either way and if not, it defaults it to true.
The issue is not so much whether or not you have it defined in wp-config because the plugin itself defines it.
Lines 281 – 283 in /wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php:
// Use alternative cron Version to bypass problems in wp_remot_* calls if( ! defined( 'ALTERNATE_WP_CRON' ) ) { define( 'ALTERNATE_WP_CRON', true ); }This is the reason why if you set define it to false elsewhere, it removes that from your URLs.
Forum: Hacks
In reply to: Second Loop of Multiloop Setup Only Visible When Logged InThanks very much. I changed category to category_name and it worked perfect. I then went on the change query_posts() to get_posts() and it is still working great.
Thanks very much for your help!