Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sybrew committed Nov 8, 2018
1 parent 476d04b commit af2f90d
Show file tree
Hide file tree
Showing 48 changed files with 186 additions and 163 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# [The SEO Framework Extension Manager](https://premium.theseoframework.com) #
# [The SEO Framework - Extension Manager](https://theseoframework.com/extension-manager/) #

## WordPress.org trunk ##

[![The SEO Framework Plugin](https://img.shields.io/wordpress/plugin/v/the-seo-framework-extension-manager.svg)](https://wordpress.org/plugins/the-seo-framework-extension-manager/)
[![The SEO Framework Stats](https://img.shields.io/wordpress/plugin/dt/the-seo-framework-extension-manager.svg)](https://wordpress.org/plugins/the-seo-framework-extension-manager/advanced/)
[![The SEO Framework Reviews](https://img.shields.io/wordpress/plugin/r/the-seo-framework-extension-manager.svg)](https://wordpress.org/support/plugin/the-seo-framework-extension-manager/reviews/)

> A free plugin for The SEO Framework. Get the Extension Manager [from WordPress.org](https://wordpress.org/plugins/the-seo-framework-extension-manager/).
# Issues are managed elsewhere

See [Extension Manager issues](https://github.com/sybrew/the-seo-framework/labels/%5BExtension%20Manager%5D).
For more information, see the [overview page](https://theseoframework.com/extension-manager/).
18 changes: 11 additions & 7 deletions bootstrap/define.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// @NOTE The definable constants should be defined in `wp-config.php`.
// Alternatively, you may define them conditionally in a mu-plugin.
// These constants may fail to work as intended when defined in a regular plugin. The plugin load sequence affects this behavior.
// These constants won't work in a theme.
/**
* NOTE:
* The definable constants should be defined in `wp-config.php`.
* Alternatively, you may define them conditionally in a mu-plugin.
*
* These constants may fail to work as intended when defined in a regular plugin. The plugin load sequence affects this behavior.
* These constants won't work in a theme, this file is loaded before themes are.
*/

/**
* The forced plugin license information.
Expand Down Expand Up @@ -63,7 +67,7 @@
* The plugin map URL. Used for calling browser files.
* @since 1.0.0
*/
define( 'TSF_EXTENSION_MANAGER_DIR_URL', \plugin_dir_url( TSF_EXTENSION_MANAGER_PLUGIN_BASE_FILE ) );
define( 'TSF_EXTENSION_MANAGER_DIR_URL', plugin_dir_url( TSF_EXTENSION_MANAGER_PLUGIN_BASE_FILE ) );

/**
* The plugin map absolute path. Used for calling php files.
Expand Down Expand Up @@ -114,14 +118,14 @@
define( 'TSF_EXTENSION_MANAGER_EXTENSION_OPTIONS', 'tsf-extension-manager-extension-settings' );

/**
* The extension options base name.
* The extension post meta options base name.
* Has an underscore to hide it from custom fields.
* @since 1.5.0
*/
define( 'TSF_EXTENSION_MANAGER_EXTENSION_POST_META', '_tsfem-extension-post-meta' );

/**
* The extension options base name.
* The extension term meta options base name.
* Has an underscore to conform to TSF_EXTENSION_MANAGER_EXTENSION_POST_META.
* @since 1.5.0
*/
Expand Down
6 changes: 3 additions & 3 deletions bootstrap/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function _hook_plugins_api( $res, $action, $args ) {

$http_args = [
'timeout' => 15,
'user-agent' => 'WordPress/' . $wp_version . '; ' . \home_url( '/' ),
'user-agent' => 'WordPress/' . $wp_version . '; ' . PHP_VERSION_ID . '; ' . \home_url( '/' ),
'body' => [
'action' => $action,
'request' => serialize( $args ),
Expand All @@ -99,7 +99,7 @@ function _hook_plugins_api( $res, $action, $args ) {
$res = new WP_Error( 'plugins_api_failed',
sprintf(
/* translators: %s: support forums URL */
\__( 'An unexpected error occurred. Something may be wrong with TheSEOFramework.com or this server&#8217;s configuration. If you continue to have problems, please <a href="%s">contact us</a>.' ),
\__( 'An unexpected error occurred. Something may be wrong with TheSEOFramework.com or this server&#8217;s configuration. If you continue to have problems, please <a href="%s">contact us</a>.', 'the-seo-framework-extension-manager' ),
'https://theseoframework.com/contact/'
),
\wp_remote_retrieve_body( $request )
Expand Down Expand Up @@ -162,7 +162,7 @@ function _push_update( $value, $transient ) {

$http_args = [
'timeout' => 4,
'user-agent' => 'WordPress/' . $wp_version . '; ' . \home_url( '/' ),
'user-agent' => 'WordPress/' . $wp_version . '; ' . PHP_VERSION_ID . '; ' . \home_url( '/' ),
'body' => [
'plugins' => [
TSF_EXTENSION_MANAGER_PLUGIN_BASENAME => $this_plugin,
Expand Down
4 changes: 2 additions & 2 deletions extensions/essentials/articles/trunk/articles.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Extension Name: Articles
* Extension URI: https://theseoframework.com/extensions/articles/
* Extension Description: The Articles extension enhances your published posts by automatically adding important [Structured Data](https://developers.google.com/search/docs/data-types/articles).
* Extension Version: 1.3.0
* Extension Version: 1.3.1
* Extension Author: Sybre Waaijer
* Extension Author URI: https://cyberwire.nl/
* Extension License: GPLv3
Expand Down Expand Up @@ -38,7 +38,7 @@
* @since 1.0.0
* NOTE: The presence does NOT guarantee the extension is loaded!!!
*/
define( 'TSFEM_E_ARTICLES_VERSION', '1.3.0' );
define( 'TSFEM_E_ARTICLES_VERSION', '1.3.1' );

/**
* The extension file, absolute unix path.
Expand Down
7 changes: 6 additions & 1 deletion extensions/essentials/articles/trunk/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Articles
Location: https://theseoframework.com/extensions/articles/
Tags: blogging, news
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -172,6 +171,12 @@ add_filter( 'the_seo_framework_articles_default_meta', function( $meta = [] ) {

## Changelog

### 1.3.1

[tsfep-release time="-1"]

* **Changed:** This is now an Essentials extension.

### 1.3.0

[tsfep-release time="August 28th, 2018"]
Expand Down
4 changes: 2 additions & 2 deletions extensions/essentials/focus/trunk/focus.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Extension Name: Focus
* Extension URI: https://theseoframework.com/extensions/focus/
* Extension Description: The Focus extension guides you through the process of writing targeted content that ranks with focus keywords, and for Premium users also their inflections and synonyms.
* Extension Version: 1.1.0
* Extension Version: 1.1.1
* Extension Author: Sybre Waaijer
* Extension Author URI: https://cyberwire.nl/
* Extension License: GPLv3
Expand Down Expand Up @@ -38,7 +38,7 @@
* @since 1.0.0
* NOTE: The presence does NOT guarantee the extension is loaded!!!
*/
define( 'TSFEM_E_FOCUS_VERSION', '1.1.0' );
define( 'TSFEM_E_FOCUS_VERSION', '1.1.1' );

/**
* The extension file, absolute unix path.
Expand Down
3 changes: 3 additions & 0 deletions extensions/essentials/focus/trunk/inc/classes/admin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ public function _enqueue_inpost_scripts( $inpostgui ) {
'focusElements' => $this->get_focus_elements(),
'defaultLexicalForm' => json_encode( $this->default_lexical_form ),
'languageSupported' => $this->is_language_supported(),
'i18n' => [
'noExampleAvailable' => \__( 'No example available.', 'the-seo-framework-extension-manager' ),
],
],
],
'tmpl' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ window.tsfem_e_focus_inpost = function( $ ) {
for ( let _i = 0; _i < synonyms.length; _i++ ) {
_option = _option.cloneNode();
_option.value = _i;
_option.innerHTML = tsfem_inpost.escapeStr( synonyms[ _i ].example );
_option.innerHTML = tsfem_inpost.escapeStr( synonyms[ _i ].example || l10n.i18n.noExampleAvailable );
definitionDropdownClone.appendChild( _option );
}
definitionDropdown.innerHTML = definitionDropdownClone.innerHTML;
Expand Down

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion extensions/essentials/focus/trunk/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Focus
Location: https://theseoframework.com/extensions/focus/
Tags: audit, content, keywords
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -154,6 +153,13 @@ We're currently working on inflection lookups. When it's ready, an update will b

## Changelog

### 1.1.1

[tsfep-release time="-1"]

* **Improved:** When no homonymous example can be found, the option now displays "No example available.".
* **Changed:** This is now an Essentials+ extension.

### 1.1.0

[tsfep-release time="August 28th, 2018"]
Expand Down
4 changes: 2 additions & 2 deletions extensions/essentials/honeypot/trunk/honeypot.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Extension Name: Honeypot
* Extension URI: https://theseoframework.com/extensions/honeypot/
* Extension Description: The Honeypot extension catches comment spammers through four lightweight yet powerful ways.
* Extension Version: 1.1.1
* Extension Version: 1.1.2
* Extension Author: Sybre Waaijer
* Extension Author URI: https://cyberwire.nl/
* Extension License: GPLv3
Expand Down Expand Up @@ -40,7 +40,7 @@
* The extension version.
* @since 1.0.0
*/
define( 'TSFEM_E_HONEYPOT_VERSION', '1.1.1' );
define( 'TSFEM_E_HONEYPOT_VERSION', '1.1.2' );

\add_action( 'plugins_loaded', __NAMESPACE__ . '\\honeypot_init', 11 );
/**
Expand Down
7 changes: 6 additions & 1 deletion extensions/essentials/honeypot/trunk/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Honeypot
Location: https://theseoframework.com/extensions/honeypot/
Tags: spam
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -199,6 +198,12 @@ add_filter( 'the_seo_framework_honeypot_nonce_scale', function( $scale = 43200,

## Changelog

### 1.1.2

[tsfep-release time="-1"]

* **Changed:** This is now an Essentials extension.

### 1.1.1

[tsfep-release time="March 31st, 2018"]
Expand Down
1 change: 0 additions & 1 deletion extensions/free/amp/trunk/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# AMP
Location: https://theseoframework.com/extensions/amp/
Tags: general
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Incognito
Location: https://theseoframework.com/extensions/incognito/
Tags: general
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Extension Name: Origin
* Extension URI: https://theseoframework.com/extensions/origin/
* Extension Description: The Origin extension redirects attachment-page visitors back to the parent post.
* Extension Version: 1.0.0
* Extension Version: 1.1.0
* Extension Author: Sybre Waaijer
* Extension Author URI: https://cyberwire.nl/
* Extension License: GPLv3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Origin
Location: https://theseoframework.com/extensions/origin/
Tags: Uptime, syntax
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -35,6 +34,12 @@ For an attachment page to redirect, it must be uploaded through the post edit sc

## Changelog

### 1.1.0

[tsfep-release time="-1"]

* **Added:** Attachment pages that don't have a parent now get redirected to the attachment itself.

### 1.0.0

[tsfep-release time="November 10th, 2017"]
Expand Down
28 changes: 15 additions & 13 deletions extensions/free/title-fix/assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion extensions/free/title-fix/trunk/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Title Fix
Location: https://theseoframework.com/extensions/title-fix/
Tags: theme
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ protected function pre_seo_settings_file_stream( &$content = '', &$filesize = 0,
return $ajax ? $this->get_ajax_notice( false, 1060301 ) : false;
}

//* Arbitrary header cleanup test.
//* Arbitrary header cleanup.
\tsf_extension_manager()->_clean_response_header();

if ( headers_sent() ) {
Expand Down
18 changes: 13 additions & 5 deletions extensions/premium/local/trunk/lib/schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,19 @@
},
"_handlers" : {
"_escape" : "sanitize_key",
"_condition" : {
"_if" : "this",
"_op" : "empty",
"_do" : "kill_pack"
},
"_condition" : [
{
"_if" : "this",
"_op" : "empty",
"_do" : "set",
"_to" : "$it"
},
{
"_if" : "this",
"_op" : "empty",
"_do" : "kill_pack"
}
],
"_out" : "string"
}
},
Expand Down
4 changes: 2 additions & 2 deletions extensions/premium/local/trunk/local.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Extension Name: Local
* Extension URI: https://theseoframework.com/extensions/local/
* Extension Description: The Local extension lets you set up important local business information for search engines to consume.
* Extension Version: 1.1.0
* Extension Version: 1.1.1
* Extension Author: Sybre Waaijer
* Extension Author URI: https://cyberwire.nl/
* Extension License: GPLv3
Expand Down Expand Up @@ -39,7 +39,7 @@
* @since 1.0.0
* NOTE: The presence does NOT guarantee the extension is loaded!!!
*/
define( 'TSFEM_E_LOCAL_VERSION', '1.1.0' );
define( 'TSFEM_E_LOCAL_VERSION', '1.1.1' );

/**
* The extension file, absolute unix path.
Expand Down
7 changes: 6 additions & 1 deletion extensions/premium/local/trunk/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Local SEO
Location: https://theseoframework.com/extensions/local/
Tags: local, business
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -127,6 +126,12 @@ Also, when department URLs are filled in, then each specific department's data w

## Changelog

### 1.1.1

[tsfep-release time="-1"]

* **Fixed:** When a non-ASCII department name is filled in, a department ID now be generated by using the department number instead.

### 1.1.0

[tsfep-release time="August 28th, 2018"]
Expand Down
1 change: 0 additions & 1 deletion extensions/premium/monitor/trunk/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Monitor
Location: https://theseoframework.com/extensions/monitor/
Tags: spam
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down
Loading

0 comments on commit af2f90d

Please sign in to comment.