Changeset 2955951
- Timestamp:
- 08/21/2023 03:22:58 AM (3 years ago)
- Location:
- easy-search
- Files:
-
- 80 added
- 10 deleted
- 4 edited
- 1 copied
-
assets/banner-772x250.jpg (deleted)
-
assets/banner-772x250.png (added)
-
assets/icon-128x128.png (added)
-
assets/screenshot-1.png (deleted)
-
assets/screenshot-2.png (deleted)
-
assets/screenshot-3.png (deleted)
-
assets/screenshot-4.png (deleted)
-
assets/screenshot-5.png (deleted)
-
tags/1.2.0 (copied) (copied from easy-search/trunk)
-
tags/1.2.0/.eslintrc.json (added)
-
tags/1.2.0/assets (added)
-
tags/1.2.0/assets/css (added)
-
tags/1.2.0/assets/css/editor.css (added)
-
tags/1.2.0/assets/css/style.css (added)
-
tags/1.2.0/assets/js (added)
-
tags/1.2.0/assets/js/blocks.js (added)
-
tags/1.2.0/assets/js/frontend.js (added)
-
tags/1.2.0/assets/scss (added)
-
tags/1.2.0/assets/src (added)
-
tags/1.2.0/dist (deleted)
-
tags/1.2.0/easy-search.php (modified) (1 diff)
-
tags/1.2.0/includes (added)
-
tags/1.2.0/includes/class-block.php (added)
-
tags/1.2.0/readme.txt (modified) (2 diffs)
-
tags/1.2.0/src (deleted)
-
tags/1.2.0/surror (added)
-
tags/1.2.0/surror/dashboard (added)
-
tags/1.2.0/surror/dashboard/assets (added)
-
tags/1.2.0/surror/dashboard/assets/css (added)
-
tags/1.2.0/surror/dashboard/assets/css/style.css (added)
-
tags/1.2.0/surror/dashboard/assets/images (added)
-
tags/1.2.0/surror/dashboard/assets/images/icon.svg (added)
-
tags/1.2.0/surror/dashboard/assets/images/logo.svg (added)
-
tags/1.2.0/surror/dashboard/assets/js (added)
-
tags/1.2.0/surror/dashboard/assets/js/script.js (added)
-
tags/1.2.0/surror/dashboard/includes (added)
-
tags/1.2.0/surror/dashboard/includes/class-base.php (added)
-
tags/1.2.0/surror/dashboard/includes/class-dashboard.php (added)
-
tags/1.2.0/surror/dashboard/index.php (added)
-
tags/1.2.0/vendor (added)
-
tags/1.2.0/vendor/autoload.php (added)
-
tags/1.2.0/vendor/composer (added)
-
tags/1.2.0/vendor/composer/ClassLoader.php (added)
-
tags/1.2.0/vendor/composer/InstalledVersions.php (added)
-
tags/1.2.0/vendor/composer/LICENSE (added)
-
tags/1.2.0/vendor/composer/autoload_classmap.php (added)
-
tags/1.2.0/vendor/composer/autoload_namespaces.php (added)
-
tags/1.2.0/vendor/composer/autoload_psr4.php (added)
-
tags/1.2.0/vendor/composer/autoload_real.php (added)
-
tags/1.2.0/vendor/composer/autoload_static.php (added)
-
tags/1.2.0/vendor/composer/installed.json (added)
-
tags/1.2.0/vendor/composer/installed.php (added)
-
trunk/.eslintrc.json (added)
-
trunk/assets (added)
-
trunk/assets/css (added)
-
trunk/assets/css/editor.css (added)
-
trunk/assets/css/style.css (added)
-
trunk/assets/js (added)
-
trunk/assets/js/blocks.js (added)
-
trunk/assets/js/frontend.js (added)
-
trunk/assets/scss (added)
-
trunk/assets/src (added)
-
trunk/dist (deleted)
-
trunk/easy-search.php (modified) (1 diff)
-
trunk/includes (added)
-
trunk/includes/class-block.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src (deleted)
-
trunk/surror (added)
-
trunk/surror/dashboard (added)
-
trunk/surror/dashboard/assets (added)
-
trunk/surror/dashboard/assets/css (added)
-
trunk/surror/dashboard/assets/css/style.css (added)
-
trunk/surror/dashboard/assets/images (added)
-
trunk/surror/dashboard/assets/images/icon.svg (added)
-
trunk/surror/dashboard/assets/images/logo.svg (added)
-
trunk/surror/dashboard/assets/js (added)
-
trunk/surror/dashboard/assets/js/script.js (added)
-
trunk/surror/dashboard/includes (added)
-
trunk/surror/dashboard/includes/class-base.php (added)
-
trunk/surror/dashboard/includes/class-dashboard.php (added)
-
trunk/surror/dashboard/index.php (added)
-
trunk/vendor (added)
-
trunk/vendor/autoload.php (added)
-
trunk/vendor/composer (added)
-
trunk/vendor/composer/ClassLoader.php (added)
-
trunk/vendor/composer/InstalledVersions.php (added)
-
trunk/vendor/composer/LICENSE (added)
-
trunk/vendor/composer/autoload_classmap.php (added)
-
trunk/vendor/composer/autoload_namespaces.php (added)
-
trunk/vendor/composer/autoload_psr4.php (added)
-
trunk/vendor/composer/autoload_real.php (added)
-
trunk/vendor/composer/autoload_static.php (added)
-
trunk/vendor/composer/installed.json (added)
-
trunk/vendor/composer/installed.php (added)
Legend:
- Unmodified
- Added
- Removed
-
easy-search/tags/1.2.0/easy-search.php
r2319514 r2955951 1 1 <?php 2 2 /** 3 * Plugin Name: Easy Search 4 * Description: Zero configuration Gutenberg block for quick search the post, pages, and custom post types. Not using the Gutenberg block then simply use the shortcode <code>[easy_search]</code> anywhere. 5 * Plugin URI: https://github.com/maheshwaghmare/easy-search/ 6 * Author: Mahesh M. Waghmare 7 * Author URI: https://maheshwaghmare.com/ 8 * Version: 1.1.0 9 * License: GPL2 10 * Text Domain: easy-search 3 * Easy Search Plugin. 11 4 * 12 * @package Easy Search 5 * @package Easy_Search 6 * @copyright Copyright (C) 2014-2023, Surror - dev@surror.com 7 * @link https://surror.com 8 * @since 1.2.0 9 * 10 * @wordpress-plugin 11 * Plugin Name: Easy Search 12 * Version: 1.2.0 13 * Plugin URI: https://surror.com/easy-search/ 14 * Description: Zero configuration search box Gutenberg block. 🚀 15 * Author: Surror 16 * Author URI: https://surror.com/ 17 * License: GPL v3 18 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt 19 * Text Domain: easy-search 20 * Domain Path: /languages 13 21 */ 14 22 15 // Exit if accessed directly. 16 if ( ! defined( 'ABSPATH' ) ) { 17 exit; 23 defined( 'ABSPATH' ) || exit; 24 25 /** 26 * Easy_Search class. 27 * 28 * @class Main class of the plugin. 29 */ 30 final class Easy_Search { 31 32 /** 33 * Plugin version. 34 * 35 * @var string 36 */ 37 public $version = '1.2.0'; 38 39 /** 40 * The single instance of the class. 41 * 42 * @var Easy_Search 43 */ 44 protected static $instance = null; 45 46 /** 47 * Retrieve main Easy_Search instance. 48 * 49 * Ensure only one instance is loaded or can be loaded. 50 * 51 * @see easy_search() 52 * @return Easy_Search 53 */ 54 public static function get() { 55 if ( is_null( self::$instance ) && ! ( self::$instance instanceof Easy_Search ) ) { 56 self::$instance = new Easy_Search(); 57 self::$instance->setup(); 58 } 59 60 return self::$instance; 61 } 62 63 /** 64 * Instantiate the plugin. 65 */ 66 private function setup() { 67 // Define plugin constants. 68 $this->define_constants(); 69 70 // Include required files. 71 $this->includes(); 72 73 // Instantiate classes. 74 $this->instantiate(); 75 76 // Loaded action. 77 do_action( 'easy_search/loaded' ); 78 } 79 80 /** 81 * Define the plugin constants. 82 */ 83 private function define_constants() { 84 define( 'EASY_SEARCH_VERSION', $this->version ); 85 define( 'EASY_SEARCH_FILE', __FILE__ ); 86 define( 'EASY_SEARCH_BASE', plugin_basename( EASY_SEARCH_FILE ) ); 87 define( 'EASY_SEARCH_DIR', plugin_dir_path( EASY_SEARCH_FILE ) ); 88 define( 'EASY_SEARCH_URI', plugins_url( '/', EASY_SEARCH_FILE ) ); 89 } 90 91 /** 92 * Include the required files. 93 */ 94 private function includes() { 95 include dirname( __FILE__ ) . '/vendor/autoload.php'; 96 } 97 98 /** 99 * Instantiate classes. 100 */ 101 private function instantiate() { 102 new \Easy_Search\Block(); 103 new \Easy_Search\Surror\Dashboard(); 104 } 105 18 106 } 19 107 20 // Set constants. 21 define( 'EASY_SEARCH_VER', '1.1.0' ); 22 define( 'EASY_SEARCH_FILE', __FILE__ ); 23 define( 'EASY_SEARCH_BASE', plugin_basename( EASY_SEARCH_FILE ) ); 24 define( 'EASY_SEARCH_DIR', plugin_dir_path( EASY_SEARCH_FILE ) ); 25 define( 'EASY_SEARCH_URI', plugins_url( '/', EASY_SEARCH_FILE ) ); 108 /** 109 * Returns the main instance of FAL to prevent the need to use globals. 110 * 111 * @return easy_search 112 */ 113 function easy_search() { 114 return Easy_Search::get(); 115 } 26 116 27 require_once EASY_SEARCH_DIR . 'src/init.php'; 117 // Start it. 118 easy_search(); -
easy-search/tags/1.2.0/readme.txt
r2319514 r2955951 1 1 === Easy Search === 2 Contributors: Mahesh9011222 Contributors: surror 3 3 Tags: gutenberg, search, ajax search, quick search, autocomplete 4 Donate link: https://www.paypal.me/ mwaghmare7/5 Tested up to: 5.46 Stable tag: 1. 1.04 Donate link: https://www.paypal.me/surror/ 5 Tested up to: 6.2.2 6 Stable tag: 1.2.0 7 7 Requires at least: 5.0 8 8 Requires PHP: 7.0 … … 30 30 == Changelog == 31 31 32 = 1.2.0 = 33 * Improvements: Minor changes 34 32 35 = 1.1.0 = 33 36 * New: Added shortcode support `[easy_search]` to show the search box. Also, Use parameter `placeholder` to change the placeholder and `subtype` parameter to search from the specific post types. 34 37 35 * Initial release.36 37 38 = 1.0.0 = 38 39 * Initial release. -
easy-search/trunk/easy-search.php
r2319514 r2955951 1 1 <?php 2 2 /** 3 * Plugin Name: Easy Search 4 * Description: Zero configuration Gutenberg block for quick search the post, pages, and custom post types. Not using the Gutenberg block then simply use the shortcode <code>[easy_search]</code> anywhere. 5 * Plugin URI: https://github.com/maheshwaghmare/easy-search/ 6 * Author: Mahesh M. Waghmare 7 * Author URI: https://maheshwaghmare.com/ 8 * Version: 1.1.0 9 * License: GPL2 10 * Text Domain: easy-search 3 * Easy Search Plugin. 11 4 * 12 * @package Easy Search 5 * @package Easy_Search 6 * @copyright Copyright (C) 2014-2023, Surror - dev@surror.com 7 * @link https://surror.com 8 * @since 1.2.0 9 * 10 * @wordpress-plugin 11 * Plugin Name: Easy Search 12 * Version: 1.2.0 13 * Plugin URI: https://surror.com/easy-search/ 14 * Description: Zero configuration search box Gutenberg block. 🚀 15 * Author: Surror 16 * Author URI: https://surror.com/ 17 * License: GPL v3 18 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt 19 * Text Domain: easy-search 20 * Domain Path: /languages 13 21 */ 14 22 15 // Exit if accessed directly. 16 if ( ! defined( 'ABSPATH' ) ) { 17 exit; 23 defined( 'ABSPATH' ) || exit; 24 25 /** 26 * Easy_Search class. 27 * 28 * @class Main class of the plugin. 29 */ 30 final class Easy_Search { 31 32 /** 33 * Plugin version. 34 * 35 * @var string 36 */ 37 public $version = '1.2.0'; 38 39 /** 40 * The single instance of the class. 41 * 42 * @var Easy_Search 43 */ 44 protected static $instance = null; 45 46 /** 47 * Retrieve main Easy_Search instance. 48 * 49 * Ensure only one instance is loaded or can be loaded. 50 * 51 * @see easy_search() 52 * @return Easy_Search 53 */ 54 public static function get() { 55 if ( is_null( self::$instance ) && ! ( self::$instance instanceof Easy_Search ) ) { 56 self::$instance = new Easy_Search(); 57 self::$instance->setup(); 58 } 59 60 return self::$instance; 61 } 62 63 /** 64 * Instantiate the plugin. 65 */ 66 private function setup() { 67 // Define plugin constants. 68 $this->define_constants(); 69 70 // Include required files. 71 $this->includes(); 72 73 // Instantiate classes. 74 $this->instantiate(); 75 76 // Loaded action. 77 do_action( 'easy_search/loaded' ); 78 } 79 80 /** 81 * Define the plugin constants. 82 */ 83 private function define_constants() { 84 define( 'EASY_SEARCH_VERSION', $this->version ); 85 define( 'EASY_SEARCH_FILE', __FILE__ ); 86 define( 'EASY_SEARCH_BASE', plugin_basename( EASY_SEARCH_FILE ) ); 87 define( 'EASY_SEARCH_DIR', plugin_dir_path( EASY_SEARCH_FILE ) ); 88 define( 'EASY_SEARCH_URI', plugins_url( '/', EASY_SEARCH_FILE ) ); 89 } 90 91 /** 92 * Include the required files. 93 */ 94 private function includes() { 95 include dirname( __FILE__ ) . '/vendor/autoload.php'; 96 } 97 98 /** 99 * Instantiate classes. 100 */ 101 private function instantiate() { 102 new \Easy_Search\Block(); 103 new \Easy_Search\Surror\Dashboard(); 104 } 105 18 106 } 19 107 20 // Set constants. 21 define( 'EASY_SEARCH_VER', '1.1.0' ); 22 define( 'EASY_SEARCH_FILE', __FILE__ ); 23 define( 'EASY_SEARCH_BASE', plugin_basename( EASY_SEARCH_FILE ) ); 24 define( 'EASY_SEARCH_DIR', plugin_dir_path( EASY_SEARCH_FILE ) ); 25 define( 'EASY_SEARCH_URI', plugins_url( '/', EASY_SEARCH_FILE ) ); 108 /** 109 * Returns the main instance of FAL to prevent the need to use globals. 110 * 111 * @return easy_search 112 */ 113 function easy_search() { 114 return Easy_Search::get(); 115 } 26 116 27 require_once EASY_SEARCH_DIR . 'src/init.php'; 117 // Start it. 118 easy_search(); -
easy-search/trunk/readme.txt
r2319514 r2955951 1 1 === Easy Search === 2 Contributors: Mahesh9011222 Contributors: surror 3 3 Tags: gutenberg, search, ajax search, quick search, autocomplete 4 Donate link: https://www.paypal.me/ mwaghmare7/5 Tested up to: 5.46 Stable tag: 1. 1.04 Donate link: https://www.paypal.me/surror/ 5 Tested up to: 6.2.2 6 Stable tag: 1.2.0 7 7 Requires at least: 5.0 8 8 Requires PHP: 7.0 … … 30 30 == Changelog == 31 31 32 = 1.2.0 = 33 * Improvements: Minor changes 34 32 35 = 1.1.0 = 33 36 * New: Added shortcode support `[easy_search]` to show the search box. Also, Use parameter `placeholder` to change the placeholder and `subtype` parameter to search from the specific post types. 34 37 35 * Initial release.36 37 38 = 1.0.0 = 38 39 * Initial release.
Note: See TracChangeset
for help on using the changeset viewer.