You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at my logs, I'm seeing a lot of warnings about a filter I added to the_title, many of which come from WPeC.
According to the the_title docs, the filter takes exactly 2 arguments: The string to be filtered, and the post ID.
There are plenty of places in WPeC where we're passing just a single argument, (for example, wpsc-components/theme-engine-v1/widgets/latest_product_widget.php, line 150).
In Line 362 of wpsc-includes/cart-item.class.php we're even passing an instance of the WPSC_Cart_Item class as the second argument, instead of an ID.
The text was updated successfully, but these errors were encountered:
Looking at my logs, I'm seeing a lot of warnings about a filter I added to
the_title
, many of which come from WPeC.According to the
the_title
docs, the filter takes exactly 2 arguments: The string to be filtered, and the post ID.There are plenty of places in WPeC where we're passing just a single argument, (for example,
wpsc-components/theme-engine-v1/widgets/latest_product_widget.php
, line 150).In Line 362 of
wpsc-includes/cart-item.class.php
we're even passing an instance of theWPSC_Cart_Item
class as the second argument, instead of an ID.The text was updated successfully, but these errors were encountered: