daymobrew
Forum Replies Created
-
Perfect. Tested on 3 sites and it works. Thank you.
Forum: Plugins
In reply to: [Adminer] Export includes data from tables that were not selectedI think that I have made a mistake – I unchecked the checkboxes in ‘Tables’ but did not see the ‘Data’ column.
Search the source code for “apply_filters” and look for those just before calls to wp_mail().
Using the library from CDN could improve site load speed as it would be at least 2 files that could be loaded from the CDN simultaneously.
> so admin can’t select a new icon for the wishlist button.
There are a number of filters that allow you change the icons used that would allow the admin select a new icon:
– yith_wcwl_edit_title_icon
– yith_wcwl_save_wishlist_title_icon
– yith_wcwl_cancel_wishlist_title_icon
– yith_wcwl_ask_an_estimate_icon
– yith_wcwl_add_to_cart_std_icon
– yith_wcwl_admin_optionsI suggest the following patch: http://pastebin.com/EgNmFz6q
It includes a filter to allow the FontAwesome version be changed.The support policy makes sense.
I will continue debugging it.
@angelo: I manually deleted the past events before seeing your post.
This morning I created an event with a date in the past.
I updated my code to display $past_events:
$output .= '<pre>'.var_export($past_events, true).'</pre>';It displayed the newly added event and all the recurring events.
It displayed a massive amount of info about each event, beginning like:array ( 0 => EM_Event::__set_state(array( 'event_id' => '234', 'post_id' => 1054, 'event_slug' => 'learn-an-irish-jig-ceili-mor-2015-01-03', 'event_owner' => '2', 'event_name' => 'Learn An Irish Jig - Ceili Mor', 'event_start_time' => '18:30:00', 'event_end_time' => '20:30:00', 'event_all_day' => '0', 'event_start_date' => '2015-01-03', 'event_end_date' => '2015-01-03', 'post_content' => '', 'event_rsvp' => '0', 'event_rsvp_date' => '2015-01-03', 'event_rsvp_time' => '18:30:00', -snip- Much, much more removed.I invoked it via a shortcode (that is how I get the cron job to run).
wp-config.php has:define('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', false); define('WP_DEBUG_LOG', true);Nothing in the debug log file.
@otto: You are right, my code is not right thing to do – though it is much better than modifying core files.
My fix was the impatient solution.
Using @stanlight’s code I wrote a tiny plugin that will implement the same change without modifying the core file.
Save the code to a file, upload to wp-content/plugins, activate it and try your updates again.
<?php /* Plugin Name: Skip SSL Verify Plugin URI: http://www.damiencarbery.com Description: Skip SSL verify in curl downloads - fixes: Download failed. error:0D0890A1:asn1 encoding routines:func(137):reason(161). Author: Damien Carbery Version: 0.1 $Id: $ */ function ssv_skip_ssl_verify($ssl_verify) { return false; } add_filter('https_ssl_verify', 'ssv_skip_ssl_verify'); add_filter('https_local_ssl_verify', 'ssv_skip_ssl_verify');Forum: Plugins
In reply to: [WP Store Locator] .csv importWhat was the format of the Lat/Lng fields in the CSV?
Were they floating point numbers? Decimal numbers?
Maybe they need to be NN.MMMM (2 numbers before decimal point and 4 after).Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] Fatal error after 5.0.9 updateError message continues for me too with 5.0.10.
WordPress 4.2.2, PHP 5.5.24.[16-Jul-2015 09:48:09 UTC] PHP Fatal error: Call to a member function getConfigs() on a non-object in /var/www/vhosts/wp-content/plugins/addthis/addthis_social_widget.php on line 1255It is a development site so I am open to giving someone from the AddThis theme access.
Forum: Plugins
In reply to: [WP Store Locator] .csv importIt would be a matter of making your CSV columns match those in the wp_wpsl_stores table.
Look at the table in phpMyAdmin and modify your CSV to match.Forum: Plugins
In reply to: [Change Uploaded File Permissions] Deprecated WP function parametersI have updated my patch – the issue is that the ‘8’ parameter should have been ‘upload_files’.
This worked for me, thanks.
I had the following error:
[30-Jun-2015 06:40:59] 1. Trying to create backup archive … [30-Jun-2015 06:40:59] Compressing files as TarGz. Please be patient, this may take a moment. [30-Jun-2015 06:41:00] Backup archive created. [30-Jun-2015 06:41:00] Archive size is 530.96 kB. [30-Jun-2015 06:41:00] 8 Files with 226.00 B in Archive. [30-Jun-2015 06:41:00] 1. Trying to send backup file to S3 Service … [30-Jun-2015 06:41:01] Connected to S3 Bucket "wordpress-backups" in eu-west-1 [30-Jun-2015 06:41:01] Checking for not aborted multipart Uploads … [30-Jun-2015 06:41:01] Starting upload to S3 Service … [30-Jun-2015 06:41:01] ERROR: Signal 15 is sent to script! [30-Jun-2015 06:41:01] Restart will be executed now. [30-Jun-2015 06:41:03] 2. Trying to send backup file to S3 Service … [30-Jun-2015 06:41:03] Connected to S3 Bucket "wordpress-backups" in eu-west-1 [30-Jun-2015 06:41:03] Checking for not aborted multipart Uploads … [30-Jun-2015 06:41:03] Starting upload to S3 Service … [30-Jun-2015 06:41:04] Backup transferred to https://s3-eu-west-1.amazonaws.com/wordpress-backups/my-db-backwpup_8f4690_2015063006-4059.tar.gz. [30-Jun-2015 06:41:04] ERROR: Job has ended with errors in 5 seconds. You must resolve the errors for correct execution.@angelo: Thanks for the pastebin.com link. It led me to look at the EM source code where I found the ’em_locations_output_args’ filter. I used this to specify the tag. I had to check for em_is_locations_page().
add_filter('em_locations_output_args', 'ce_no_hotels', 1, 2); function ce_no_hotels($args, $locations){ // Exclude locations with the 'hotel' tag from Venues list. if (em_is_locations_page()) { $args['tag'] = '-hotel'; } return $args; }