| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Plugin Name: Woody ad snippets (PHP snippets | Insert PHP) |
| 4 | 4 | * Plugin URI: http://woody-ad-snippets.webcraftic.com/ |
| 5 | 5 | * Description: Executes PHP code, uses conditional logic to insert ads, text, media content and external service’s code. Ensures no content duplication. |
| 6 | 6 | * Author: Will Bontrager Software, LLC <will@willmaster.com>, Webcraftic <wordpress.webraftic@gmail.com> |
| 7 | - * Version: 2.3.10 | |
| 7 | + * Version: 2.2.7 | |
| 8 | 8 | * Text Domain: insert-php |
| 9 | 9 | * Domain Path: /languages/ |
| 10 | 10 | * Author URI: http://webcraftic.com |
| 11 | 11 | */ |
| @@ -49,14 +49,13 @@ | ||
| 49 | 49 | * |
| 50 | 50 | * Personal repo: https://github.com/nechin |
| 51 | 51 | * --------------------------------------------------------------------------------- |
| 52 | 52 | * |
| 53 | - * Artem Prihodko | |
| 53 | + * Alexander Teshabaev | |
| 54 | 54 | * --------------------------------------------------------------------------------- |
| 55 | - * 2.3.2v - current | |
| 55 | + * 2.0.6v. - 2.2.1v - Development snippets library and block for the Guttenberg editor. | |
| 56 | 56 | * |
| 57 | - * Email: webtemyk@yandex.ru | |
| 58 | - * Personal repo: https://github.com/temyk | |
| 57 | + * Personal repo: https://github.com/bologer | |
| 59 | 58 | * --------------------------------------------------------------------------------- |
| 60 | 59 | * |
| 61 | 60 | * All development rights belong to @webcraftic studio. |
| 62 | 61 | * http://webcraftic.com |
| @@ -98,16 +97,8 @@ | ||
| 98 | 97 | 'docs' => 'getting-started-with-woody-ad-snippets', // {site}/docs |
| 99 | 98 | ), |
| 100 | 99 | ), |
| 101 | 100 | |
| 102 | - // PLUGIN ADVERTS | |
| 103 | - 'render_adverts' => true, | |
| 104 | - 'adverts_settings' => array( | |
| 105 | - 'dashboard_widget' => true, // show dashboard widget (default: false) | |
| 106 | - 'right_sidebar' => true, // show adverts sidebar (default: false) | |
| 107 | - 'notice' => true, // show notice message (default: false) | |
| 108 | - ), | |
| 109 | - | |
| 110 | 101 | // PLUGIN UPDATED SETTINGS |
| 111 | 102 | /*'has_updates' => false, |
| 112 | 103 | 'updates_settings' => array( |
| 113 | 104 | 'repository' => 'wordpress', |
| @@ -136,19 +127,17 @@ | ||
| 136 | 127 | ), |
| 137 | 128 | |
| 138 | 129 | // FRAMEWORK MODULES |
| 139 | 130 | 'load_factory_modules' => array( |
| 140 | - array( 'libs/factory/bootstrap', 'factory_bootstrap_433', 'admin' ), | |
| 141 | - array( 'libs/factory/forms', 'factory_forms_430', 'admin' ), | |
| 142 | - array( 'libs/factory/pages', 'factory_pages_432', 'admin' ), | |
| 131 | + array( 'libs/factory/bootstrap', 'factory_bootstrap_420', 'admin' ), | |
| 132 | + array( 'libs/factory/forms', 'factory_forms_417', 'admin' ), | |
| 133 | + array( 'libs/factory/pages', 'factory_pages_419', 'admin' ), | |
| 143 | 134 | array( 'libs/factory/types', 'factory_types_410' ), |
| 144 | 135 | array( 'libs/factory/taxonomies', 'factory_taxonomies_330' ), |
| 145 | 136 | array( 'libs/factory/metaboxes', 'factory_metaboxes_409', 'admin' ), |
| 146 | 137 | array( 'libs/factory/viewtables', 'factory_viewtables_410', 'admin' ), |
| 147 | 138 | array( 'libs/factory/shortcodes', 'factory_shortcodes_329', 'all' ), |
| 148 | - array( 'libs/factory/freemius', 'factory_freemius_120', 'all' ), | |
| 149 | - array( 'libs/factory/adverts', 'factory_adverts_112', 'admin'), | |
| 150 | - array( 'libs/factory/feedback', 'factory_feedback_106', 'admin') | |
| 139 | + array( 'libs/factory/freemius', 'factory_freemius_108', 'all' ), | |
| 151 | 140 | ), |
| 152 | 141 | ); |
| 153 | 142 | |
| 154 | 143 | /** |
| @@ -153,9 +142,9 @@ | ||
| 153 | 142 | |
| 154 | 143 | /** |
| 155 | 144 | * Checks compatibility with WordPress, php and other plugins. |
| 156 | 145 | */ |
| 157 | -$wbcr_compatibility = new Wbcr_Factory432_Requirements( __FILE__, array_merge( $plugin_info, array( | |
| 146 | +$wbcr_compatibility = new Wbcr_Factory419_Requirements( __FILE__, array_merge( $plugin_info, array( | |
| 158 | 147 | 'plugin_already_activate' => defined( 'WINP_PLUGIN_ACTIVE' ), |
| 159 | 148 | 'required_php_version' => '5.4', |
| 160 | 149 | 'required_wp_version' => '4.2.0', |
| 161 | 150 | ) ) ); |
| @@ -197,9 +186,8 @@ | ||
| 197 | 186 | define( 'WINP_SNIPPET_TYPE_UNIVERSAL', 'universal' ); |
| 198 | 187 | define( 'WINP_SNIPPET_TYPE_CSS', 'css' ); |
| 199 | 188 | define( 'WINP_SNIPPET_TYPE_JS', 'js' ); |
| 200 | 189 | define( 'WINP_SNIPPET_TYPE_HTML', 'html' ); |
| 201 | -define( 'WINP_SNIPPET_TYPE_AD', 'advert' ); | |
| 202 | 190 | |
| 203 | 191 | // The snippet automatic insertion locations |
| 204 | 192 | define( 'WINP_SNIPPET_AUTO_HEADER', 'header' ); |
| 205 | 193 | define( 'WINP_SNIPPET_AUTO_FOOTER', 'footer' ); |