php - WC_Cart::get_cart_url 自 2.5 版起已弃用
问题描述
我在调试日志中收到错误 -
[22-Mar-2019 12:25:33 UTC] PHP Notice: WC_Cart::get_cart_url is <strong>deprecated</strong> since version 2.5! Use wc_get_cart_url instead. in /home/176860.cloudwaysapps.com/tzshvjkjbz/public_html/wp-includes/functions.php on line 4329
什么可能导致此错误?aove 指定的代码行位于注释中,该注释说:
* A return value of `1` means the file path contains directory traversal.
所以我不知道从这个错误消息中去哪里。我还搜索了我的整个目录WC_Cart::get_cart_url
,但它没有在任何地方使用。
解决方案
推荐阅读
- linux - 在一个文本文件中插入一个新列并匹配另一个文件中的模式
- c++ - 派生类中的 sizeof(*this) 和 decltype(*this)
- python-3.x - 帕斯卡三角阵列
- c# - C# Word 文档用合并域替换纯文本
- symfony - 嵌入式控制器中的表单未提交
- python-3.x - 如何在 pandas 列中搜索字符串并根据该字符串追加到行?
- c# - C# 中的时间相关着色
- python - 单个变量上的 Python 箱线图
- sql - SQL select distinct by max(value) 在多个表上
- api - powerbi 为 IBM netezza 创建数据源 api