Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add defaults for more_link and use_more in largo_excerpt #765

Merged
merged 1 commit into from
Jun 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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