Code
Increase the maximum upload file size for WordPress
The default file upload size is 2M.
If we are supposed to increase the size, a few update would be required.
The default file upload size is 2M.
If we are supposed to increase the size, a few update would be required.
对 string 稍作处理, 避免在写 query 的时候被 SQL 注入, 这是常识. 我们若变更 PHP 版本, 有时候会出现 Call To Undefined Function 这样的错误. 很多时候, 我们需要做出一些兼容性的处理.
不过, 若我们是在 WordPress 的平台上写插件, 则不必这么麻烦了.