Skip to content

Commit

Permalink
Updated default amount of automatically linked related posts.
Browse files Browse the repository at this point in the history
  • Loading branch information
barrykooij committed Aug 11, 2014
1 parent 705775c commit b94701a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct() {
'label' => __( 'Amount of Posts', 'related-posts-for-wp' ),
'description' => __( 'The amount of automatically linked post', 'related-posts-for-wp' ),
'type' => 'text',
'default' => '',
'default' => '3',
)
) )
);
Expand Down
2 changes: 1 addition & 1 deletion classes/hooks/class-hook-page-install.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function content() {
<p style="font-weight: bold;">Do NOT close this window if you click the "Link now" button, wait for this process to finish and this wizard to take you to the next step.</p>
<br class="clear" />
<p class="rp4wp-install-link-box">
<label for="rp4wp_related_posts_amount">Amount of related posts per post:</label><input class="form-input-tip" type="text" id="rp4wp_related_posts_amount" value="5" />
<label for="rp4wp_related_posts_amount">Amount of related posts per post:</label><input class="form-input-tip" type="text" id="rp4wp_related_posts_amount" value="3" />
<a href="javascript:;" class="button button-primary button-large rp4wp-link-now-btn" id="rp4wp-link-now">Link now</a>
<a href="<?php echo admin_url(); ?>?page=rp4wp_install&step=3" class="button">Skip linking</a>
</p>
Expand Down

0 comments on commit b94701a

Please sign in to comment.