Changeset 2918111
- Timestamp:
- 05/27/2023 03:25:43 PM (3 years ago)
- Location:
- redirect-editor/trunk
- Files:
-
- 3 edited
-
form.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
redirect-editor.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
redirect-editor/trunk/form.php
r2918031 r2918111 1 <?php if ( ! defined( 'ABSPATH' ) ) { 2 exit; 3 } 4 ?> 5 1 6 <div id="banner"> 2 7 <div class='wrap'> -
redirect-editor/trunk/readme.txt
r2918031 r2918111 56 56 It adds in some protection from certain SEO software that has flaws which we patched. 57 57 == Screenshots == 58 == 3.0.2 == 59 Security enhanced in conjunction with Planet Zuda and AI 58 60 == 3.0.1 == 59 61 sped up load time using AI on the existing code -
redirect-editor/trunk/redirect-editor.php
r2918031 r2918111 3 3 /* 4 4 Plugin Name: Search Engine Optimization Redirect Editor 5 Version: 3.0. 15 Version: 3.0.2 6 6 Plugin URI: https://planetzuda.com 7 7 Description: If you need to redirect whether for search engine optimization purposes or otherwise you can use our app to redirect to any page. We provide a direct link to your xml sitemap which you can submit to search engines manually. We protect you against popular SEO plugins that damage your rankings by making your sitemap invisible to Google's bots by telling them to not index it, which is a free and automatically applied feature. More search features are coming. Our redirect editor is extremely useful and highly secure, which has been tested in bug bounties by white hat hackers, including our security and seo company. … … 26 26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 27 */ 28 if ( ! defined( 'ABSPATH' ) ) { 29 exit; 30 } 28 31 $redirectEditorPlugin = new Redirect_Editor_Plugin(); 29 32 … … 248 251 ]); 249 252 250 require_once ('form.php');253 require_once(plugin_dir_path(__FILE__) . 'form.php'); 251 254 } 252 255 … … 306 309 307 310 // run if we're actually processing data for the redirect_editor. Researchers we secured this, if you do find a flaw, please let us know. Also we did not write the original code. We made a security update, adopted it, fixed it, released security update. 308 if (current_user_can('manage_options') ) {311 if (current_user_can('manage_options') && is_user_logged_in()) { 309 312 if (! isset($_POST['function']) || $_POST['function'] != $this->_redirectEditorSaveActionFunctionName) { 310 313 if (isset($_POST['function']) && $_POST['function'] == $this->_redirectEditorSaveExperimentalActionName) { 311 314 if ($this->checkNonce($this->_redirectEditorSaveExperimentalActionNonceName, $this->_redirectEditorSaveExperimentalActionName)) { 312 print 'Sorry, your nonce did not verify.';313 exit();315 wp_die('failed, that nonce was incorrect.'); 316 314 317 } else { 315 318 $this->save_experimental(); 316 319 } 317 320 } 318 // edirect-editor-activate319 321 if (isset($_POST['function']) && $_POST['function'] == $this->_redirectEditorActivateActionName) { 320 322 if ($this->checkNonce($this->_redirectEditorActivateActionNonceName, $this->_redirectEditorActivateActionName)) { 321 print 'Sorry, your nonce did not verify.';322 exit();323 wp_die('Sorry, your nonce did not verify.'); 324 323 325 } else { 324 326 $this->activate(); … … 329 331 330 332 if ($this->checkNonce($this->_redirectEditorSaveActionNonceName, $this->_redirectEditorSaveActionName)) { 331 print 'Sorry, your nonce did not verify.';332 exit();333 wp_die('Sorry, your nonce did not verify.'); 334 333 335 } else { 334 336 if (isset($_POST['redirects'])) {
Note: See TracChangeset
for help on using the changeset viewer.