Skip to content

Commit

Permalink
Merge pull request #765 from INN/764-largo_excerpt-defaults
Browse files Browse the repository at this point in the history
Re-add defaults for more_link and use_more in largo_excerpt
  • Loading branch information
benlk committed Jun 30, 2015
2 parents 8a89483 + 0085380 commit 8c3d64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/post-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function largo_custom_wp_link_pages( $args ) {
* @since 0.3
*/
if ( ! function_exists( 'largo_excerpt' ) ) {
function largo_excerpt( $the_post=null, $sentence_count = 5, $use_more, $more_link, $echo = true, $strip_tags = true, $strip_shortcodes = true ) {
function largo_excerpt( $the_post=null, $sentence_count = 5, $use_more = false, $more_link = '', $echo = true, $strip_tags = true, $strip_shortcodes = true ) {
if (!empty($use_more))
_deprecated_argument(__FUNCTION__, '0.5.1', 'Parameter $use_more is deprecated.');
if (!empty($more_link))
Expand Down

0 comments on commit 8c3d64d

Please sign in to comment.