Skip to content
Merged
Show file tree
Hide file tree
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/client/discussion/comments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const Comments = moduleSettingsForm(
toggleModule={ m => this.props.updateFormStateModuleOption( m, 'wpcom_publish_comments_with_markdown' ) }>
<span className="jp-form-toggle-explanation">
{
__( 'Enable Markdown use for comments.' )
__( 'Enable Markdown use for comments' )
}
</span>
</ModuleToggle>
Expand Down
2 changes: 1 addition & 1 deletion _inc/client/discussion/subscriptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const Subscriptions = moduleSettingsForm(
onChange={ e => this.updateOptions( 'stc_enabled' ) }>
<span className="jp-form-toggle-explanation">
{
__( 'Show a "follow comments" option in the comment form.' )
__( 'Show a "follow comments" option in the comment form' )
}
</span>
</FormToggle>
Expand Down
2 changes: 1 addition & 1 deletion _inc/client/security/antispam.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Antispam = moduleSettingsForm(
<ModuleSettingCheckbox
name={ 'akismet_show_user_comments_approved' }
{ ...this.props }
label={ __( 'Show the number of approved comments beside each comment author.' ) } />
label={ __( 'Show the number of approved comments beside each comment author' ) } />
</FormFieldset>
</SettingsGroup>
</SettingsCard>
Expand Down
4 changes: 2 additions & 2 deletions _inc/client/security/sso.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const SSO = moduleSettingsForm(
onChange={ e => this.updateOptions( 'jetpack_sso_match_by_email' ) }>
<span className="jp-form-toggle-explanation">
{
__( 'Match accounts using email addresses.' )
__( 'Match accounts using email addresses' )
}
</span>
</FormToggle>
Expand All @@ -90,7 +90,7 @@ export const SSO = moduleSettingsForm(
onChange={ e => this.updateOptions( 'jetpack_sso_require_two_step' ) }>
<span className="jp-form-toggle-explanation">
{
__( 'Require accounts to use WordPress.com Two-Step Authentication.' )
__( 'Require accounts to use WordPress.com Two-Step Authentication' )
}
</span>
</FormToggle>
Expand Down
2 changes: 1 addition & 1 deletion _inc/client/traffic/related-posts.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const RelatedPosts = moduleSettingsForm(
toggleModule={ this.props.toggleModuleNow }>
<span className="jp-form-toggle-explanation">
{
__( 'Show related content after posts.' )
__( 'Show related content after posts' )
}
</span>
</ModuleToggle>
Expand Down
4 changes: 2 additions & 2 deletions _inc/client/traffic/site-stats.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const SiteStats = moduleSettingsForm(
toggleModule={ m => this.props.updateFormStateModuleOption( m, 'admin_bar' ) }>
<span className="jp-form-toggle-explanation">
{
__( 'Put a chart showing 48 hours of views in the admin bar.' )
__( 'Put a chart showing 48 hours of views in the admin bar' )
}
</span>
</ModuleToggle>
Expand All @@ -115,7 +115,7 @@ export const SiteStats = moduleSettingsForm(
toggleModule={ m => this.props.updateFormStateModuleOption( m, 'hide_smile' ) }>
<span className="jp-form-toggle-explanation">
{
__( 'Hide the stats smiley face image. The image helps collect stats, but should work when hidden.' )
__( 'Hide the stats smiley face image (The image helps collect stats, but should work when hidden.)' )
}
</span>
</ModuleToggle>
Expand Down
2 changes: 1 addition & 1 deletion modules/after-the-deadline.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Module Name: Spelling and Grammar
* Module Description: Check your spelling, style, and grammar.
* Module Description: Check your spelling, style, and grammar
* Sort Order: 6
* First Introduced: 1.1
* Requires Connection: Yes
Expand Down
2 changes: 1 addition & 1 deletion modules/carousel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Module Name: Carousel
* Module Description: Display images and galleries in a gorgeous, full-screen browsing experience.
* Module Description: Display images and galleries in a gorgeous, full-screen browsing experience
* Jumpstart Description: Brings your photos and images to life as full-size, easily navigable galleries.
* Sort Order: 22
* Recommendation Order: 12
Expand Down
2 changes: 1 addition & 1 deletion modules/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Module Name: Comments
* Module Description: Let readers use WordPress.com, Twitter, Facebook, or Google+ accounts to comment.
* Module Description: Let readers use WordPress.com, Twitter, Facebook, or Google+ accounts to comment
* First Introduced: 1.4
* Sort Order: 20
* Requires Connection: Yes
Expand Down
2 changes: 1 addition & 1 deletion modules/gravatar-hovercards.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Module Name: Gravatar Hovercards
* Module Description: Enable pop-up business cards over commenters’ Gravatars.
* Module Description: Enable pop-up business cards over commenters’ Gravatars
* Jumpstart Description: Let commenters link their profiles to their Gravatar accounts, making it easy for your visitors to learn more about your community.
* Sort Order: 11
* Recommendation Order: 13
Expand Down
2 changes: 1 addition & 1 deletion modules/infinite-scroll.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Module Name: Infinite Scroll
* Module Description: Automatically load new content when a visitor scrolls.
* Module Description: Automatically load new content when a visitor scrolls
* Sort Order: 26
* First Introduced: 2.0
* Requires Connection: No
Expand Down
2 changes: 1 addition & 1 deletion modules/markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Module Name: Markdown
* Module Description: Write posts or pages in plain-text Markdown syntax.
* Module Description: Write posts or pages in plain-text Markdown syntax
* Sort Order: 31
* First Introduced: 2.8
* Requires Connection: No
Expand Down
2 changes: 1 addition & 1 deletion modules/minileven.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Module Name: Mobile Theme
* Module Description: Optimize your site for smartphones and tablets.
* Module Description: Optimize your site for smartphones and tablets
* Sort Order: 21
* Recommendation Order: 11
* First Introduced: 1.8
Expand Down
2 changes: 1 addition & 1 deletion modules/photon.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Module Name: Photon
* Module Description: Speed up images and photos.
* Module Description: Speed up images and photos
* Jumpstart Description: Mirrors and serves your images from our free and fast image CDN, improving your site’s performance with no additional load on your servers.
* Sort Order: 25
* Recommendation Order: 1
Expand Down
2 changes: 1 addition & 1 deletion modules/post-by-email.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Module Name: Post by Email
* Module Description: Publish posts by sending an email.
* Module Description: Publish posts by sending an email
* First Introduced: 2.0
* Sort Order: 14
* Requires Connection: Yes
Expand Down
8 changes: 4 additions & 4 deletions modules/protect.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Module Name: Protect
* Module Description: Block suspicious-looking login activity from unknown IP addresses.
* Module Description: Block suspicious-looking login activity from unknown IP addresses
* Sort Order: 1
* Recommendation Order: 4
* First Introduced: 3.4
Expand Down Expand Up @@ -433,9 +433,9 @@ function check_login_ability( $preauth = false ) {
ob_end_clean();
return true;
}

/**
* Short-circuit check_login_ability.
* Short-circuit check_login_ability.
*
* If there is an alternate way to validate the current IP such as
* a hard-coded list of IP addresses, we can short-circuit the rest
Expand All @@ -450,7 +450,7 @@ function check_login_ability( $preauth = false ) {
if ( apply_filters( 'jpp_allow_login', false, $ip ) ) {
return true;
}

$headers = $this->get_headers();
$header_hash = md5( json_encode( $headers ) );
$transient_name = 'jpp_li_' . $header_hash;
Expand Down
4 changes: 2 additions & 2 deletions modules/sso.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* Module Name: Single Sign On
* Module Description: Allow users to log into this site using WordPress.com accounts.
* Module Description: Allow users to log into this site using WordPress.com accounts
* Jumpstart Description: Lets you log in to all your Jetpack-enabled sites with one click using your WordPress.com account.
* Sort Order: 30
* Recommendation Order: 5
Expand Down Expand Up @@ -667,7 +667,7 @@ function handle_login() {
* user, then we know that email is unused, so it's safe to add.
*/
if ( Jetpack_SSO_Helpers::match_by_email() || ! get_user_by( 'email', $user_data->email ) ) {

if ( $new_user_override_role ) {
$user_data->role = $new_user_override_role;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/subscriptions.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Module Name: Subscriptions
* Module Description: Allow users to subscribe to your posts and comments and receive notifications via email.
* Module Description: Allow users to subscribe to your posts and comments and receive notifications via email
* Jumpstart Description: Give visitors two easy subscription options — while commenting, or via a separate email subscription widget you can display.
* Sort Order: 9
* Recommendation Order: 8
Expand Down