PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.3.10
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.3.10
2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 2.7.1 All 27 releases
← All changes | insert_php.php +21 -9 2.2.72.3.10 View file →
@@ -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.2.7
7 + * Version: 2.3.10
8 8 * Text Domain: insert-php
9 9 * Domain Path: /languages/
10 10 * Author URI: http://webcraftic.com
11 11 */
@@ -49,13 +49,14 @@
49 49 *
50 50 * Personal repo: https://github.com/nechin
51 51 * ---------------------------------------------------------------------------------
52 52 *
53 - * Alexander Teshabaev
53 + * Artem Prihodko
54 54 * ---------------------------------------------------------------------------------
55 - * 2.0.6v. - 2.2.1v - Development snippets library and block for the Guttenberg editor.
55 + * 2.3.2v - current
56 56 *
57 - * Personal repo: https://github.com/bologer
57 + * Email: webtemyk@yandex.ru
58 + * Personal repo: https://github.com/temyk
58 59 * ---------------------------------------------------------------------------------
59 60 *
60 61 * All development rights belong to @webcraftic studio.
61 62 * http://webcraftic.com
@@ -97,8 +98,16 @@
97 98 'docs' => 'getting-started-with-woody-ad-snippets', // {site}/docs
98 99 ),
99 100 ),
100 101
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 +
101 110 // PLUGIN UPDATED SETTINGS
102 111 /*'has_updates' => false,
103 112 'updates_settings' => array(
104 113 'repository' => 'wordpress',
@@ -127,17 +136,19 @@
127 136 ),
128 137
129 138 // FRAMEWORK MODULES
130 139 'load_factory_modules' => array(
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' ),
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' ),
134 143 array( 'libs/factory/types', 'factory_types_410' ),
135 144 array( 'libs/factory/taxonomies', 'factory_taxonomies_330' ),
136 145 array( 'libs/factory/metaboxes', 'factory_metaboxes_409', 'admin' ),
137 146 array( 'libs/factory/viewtables', 'factory_viewtables_410', 'admin' ),
138 147 array( 'libs/factory/shortcodes', 'factory_shortcodes_329', 'all' ),
139 - array( 'libs/factory/freemius', 'factory_freemius_108', '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')
140 151 ),
141 152 );
142 153
143 154 /**
@@ -142,9 +153,9 @@
142 153
143 154 /**
144 155 * Checks compatibility with WordPress, php and other plugins.
145 156 */
146 -$wbcr_compatibility = new Wbcr_Factory419_Requirements( __FILE__, array_merge( $plugin_info, array(
157 +$wbcr_compatibility = new Wbcr_Factory432_Requirements( __FILE__, array_merge( $plugin_info, array(
147 158 'plugin_already_activate' => defined( 'WINP_PLUGIN_ACTIVE' ),
148 159 'required_php_version' => '5.4',
149 160 'required_wp_version' => '4.2.0',
150 161 ) ) );
@@ -186,8 +197,9 @@
186 197 define( 'WINP_SNIPPET_TYPE_UNIVERSAL', 'universal' );
187 198 define( 'WINP_SNIPPET_TYPE_CSS', 'css' );
188 199 define( 'WINP_SNIPPET_TYPE_JS', 'js' );
189 200 define( 'WINP_SNIPPET_TYPE_HTML', 'html' );
201 +define( 'WINP_SNIPPET_TYPE_AD', 'advert' );
190 202
191 203 // The snippet automatic insertion locations
192 204 define( 'WINP_SNIPPET_AUTO_HEADER', 'header' );
193 205 define( 'WINP_SNIPPET_AUTO_FOOTER', 'footer' );