get_the_excerpt deprecated argument
-
On my local development machine, I have the WP_DEBUG mode ON and got an error on the page displaying the carousel. It displayed well but this showed:
Notice: get_the_excerpt was called with an argument that is deprecated since version 2.3 with no alternative available. in C:\******\wp-includes\functions.php on line 3320
I was able to fix it by removing the argument of the
cr3ativ-recentposts.php
within theif
conditional block on line 94.Once it was removed, the error disappeared and the posts still kept rolling with their proper images, titles and excerpts.
I did not know where else to share this so I decided to place it here.
Edit: minor typo fixes and WP version selection.
- The topic ‘get_the_excerpt deprecated argument’ is closed to new replies.