360Tactics
Forum Replies Created
-
Forum: Plugins
In reply to: [Inactive Logout] PHP Notice wp_localize_script with WP v5.7Thanks for the quick reply! When disabling the plugin it goes away. I only notice it pop up in the debug log when I’m navigating the wp back-end.
I’m getting the php notice and I’m not using WPML. Please update.
PHP Notice: WP_Scripts::localize was called incorrectly. The
$l10n
parameter must be an array. To pass arbitrary data to scripts, use thewp_add_inline_script()
function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313Hi, This seems to be a problem with line #92 of “frontend-registration-opt-cf7.php”. The code needs to be updated from:
do_action( ‘wp_login’, $user->user_login );
To
do_action( ‘wp_login’, $user->user_login, $user );
It seems that the missing parameter creates a conflict with WooCommerce.
I’ve changed it in my copy of the plugin, but hopefully the developer makes the change in the next update, so my change won’t get overwritten with the old, non-working code.
Forum: Plugins
In reply to: [CataBlog] Using Italics breaking the %EXCERPT%Oops… here’s the link to the Live site: https://www.chetrossrarebooks.com
Forum: Plugins
In reply to: [CataBlog] Using Italics breaking the %EXCERPT%They are all disabled except for the Catablog Plugin.
Here is the site I’m using for testing: https://site.chetrossrarebooks.com/test/
and here is the actual live site with my theme implemented:
https://site.chetrossrarebooks.com/test/It seems that the excerpt function is not closing tags appropriately.
Forum: Plugins
In reply to: [CataBlog] Using Italics breaking the %EXCERPT%I’m sorry I didn’t reply sooner… I never received a notification email that you had replied. I appreciate your help.
I tested in Twenty Fifteen and am having the same problems.
I’ve notice a few things that seem to throw off the html.
1. If there are apostrophes in the title.
2. If there are apostrophes in the file name of the image that’s been uploaded.Example:
Description of Problem: An extra closing Div tag is being placed at the end of each Item ONLY if there is an apostrophe in the title. In the hidden input field ‘item-name’ the value includes an apostrophe in the title so that it throws off the html.<div class="catablog-row archive test"> <div class="catablog-images-column"> <a href='https://site.chetrossrarebooks.com/wp-content/uploads/catablog/fullsize/1.-500.pandora.box.sc.4.jpg' class='catablog-image' target='_self' rel='index'><img src="https://site.chetrossrarebooks.com/wp-content/uploads/catablog/thumbnails/1.-500.pandora.box.sc.4.jpg" alt="" /></a> <a href='https://site.chetrossrarebooks.com/wp-content/uploads/catablog/fullsize/pandora.t.jpg' class='catablog-subimage catablog-image'><img src="https://site.chetrossrarebooks.com/wp-content/uploads/catablog/thumbnails/pandora.t.jpg" /></a> </div> <h3 class="catablog-title">Cruise of the 'Pandora'</h3> <div class="catablog-description"> <p><em>Cruise of the ‘Pandora’. From the Private Journal kept by Allen Young, R.N.R., F.R.G.S., F.R.A.S., &c., Commander of the Expedition.</em></p> <br /> <p><em>PRESENTATION COPY,... <form method='post' action='https://www.paypal.com/cgi-bin/webscr' target='paypal'> <input type='hidden' name='cmd' value='_cart'> <input type='hidden' name='business' value='YOUR EMAIL HERE'> <input type='hidden' name='item_name' value='Cruise of the 'Pandora''> <input type='hidden' name='item_number' value='SOLD'> <input type='hidden' name='amount' value='16000.00'> <input type='hidden' name='shipping' value='0.00'> <input type='hidden' name='currency_code' value='USD'> <input type='hidden' name='return' value=''> <input type='hidden' name='quantity' value='1'> <input type='hidden' name='add' value='1'> <input type='image' src='https://images.paypal.com/en_US/i/btn/x-click-but22.gif' border='0' name='submit' width='87' height='23' alt='Add to Cart'> </form> </div> </div><!-- end catablog-row --> </div><!-- Here is the Extra Closing Div Tag - why? -->
Forum: Plugins
In reply to: [CataBlog] Using Italics breaking the %EXCERPT%It’s actually breaking in a number of different cases. For example if the first few hundred (excerpt length) characters in the post contain the following 1839-1843 (two 4 digit numbers separated by a hyphen). It worked fine when I added spaces to either side of the hyphen.