Changeset 3497788
- Timestamp:
- 04/02/2026 07:59:26 PM (3 days ago)
- Location:
- search-exclude
- Files:
-
- 26 edited
- 1 copied
-
tags/2.6.4 (copied) (copied from search-exclude/trunk)
-
tags/2.6.4/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md (modified) (2 diffs)
-
tags/2.6.4/jetpack_vendor/i18n-map.php (modified) (1 diff)
-
tags/2.6.4/languages/search-exclude.pot (modified) (5 diffs)
-
tags/2.6.4/lib/class-plugin.php (modified) (2 diffs)
-
tags/2.6.4/lib/controllers/class-backend.php (modified) (2 diffs)
-
tags/2.6.4/lib/controllers/class-gutenberg.php (modified) (1 diff)
-
tags/2.6.4/lib/services/class-entity-options.php (modified) (1 diff)
-
tags/2.6.4/readme.txt (modified) (2 diffs)
-
tags/2.6.4/search-exclude.php (modified) (2 diffs)
-
tags/2.6.4/vendor/composer/installed.json (modified) (4 diffs)
-
tags/2.6.4/vendor/composer/installed.php (modified) (3 diffs)
-
tags/2.6.4/vendor/composer/jetpack_autoload_classmap.php (modified) (2 diffs)
-
tags/2.6.4/vendor/composer/jetpack_autoload_filemap.php (modified) (1 diff)
-
trunk/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md (modified) (2 diffs)
-
trunk/jetpack_vendor/i18n-map.php (modified) (1 diff)
-
trunk/languages/search-exclude.pot (modified) (5 diffs)
-
trunk/lib/class-plugin.php (modified) (2 diffs)
-
trunk/lib/controllers/class-backend.php (modified) (2 diffs)
-
trunk/lib/controllers/class-gutenberg.php (modified) (1 diff)
-
trunk/lib/services/class-entity-options.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/search-exclude.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.json (modified) (4 diffs)
-
trunk/vendor/composer/installed.php (modified) (3 diffs)
-
trunk/vendor/composer/jetpack_autoload_classmap.php (modified) (2 diffs)
-
trunk/vendor/composer/jetpack_autoload_filemap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
search-exclude/tags/2.6.4/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md
r3471199 r3497788 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [4.3.30] - 2026-03-30 9 ### Changed 10 - Update package dependencies. [#47799] 11 12 ## [4.3.29] - 2026-03-23 13 ### Changed 14 - Update package dependencies. [#47684] 15 16 ## [4.3.28] - 2026-03-16 17 ### Changed 18 - Update dependencies. [#47472] 19 20 ## [4.3.27] - 2026-03-09 21 ### Changed 22 - Update dependencies. [#42554] 7 23 8 24 ## [4.3.26] - 2026-02-26 … … 793 809 - Statically access asset tools 794 810 811 [4.3.30]: https://github.com/Automattic/jetpack-assets/compare/v4.3.29...v4.3.30 812 [4.3.29]: https://github.com/Automattic/jetpack-assets/compare/v4.3.28...v4.3.29 813 [4.3.28]: https://github.com/Automattic/jetpack-assets/compare/v4.3.27...v4.3.28 814 [4.3.27]: https://github.com/Automattic/jetpack-assets/compare/v4.3.26...v4.3.27 795 815 [4.3.26]: https://github.com/Automattic/jetpack-assets/compare/v4.3.25...v4.3.26 796 816 [4.3.25]: https://github.com/Automattic/jetpack-assets/compare/v4.3.24...v4.3.25 -
search-exclude/tags/2.6.4/jetpack_vendor/i18n-map.php
r3471199 r3497788 7 7 'jetpack-assets' => array( 8 8 'path' => 'jetpack_vendor/automattic/jetpack-assets', 9 'ver' => '4.3. 26',9 'ver' => '4.3.30', 10 10 ), 11 11 'wp-dashboard-widget-news' => array( -
search-exclude/tags/2.6.4/languages/search-exclude.pot
r3471199 r3497788 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Search Exclude 2.6. 3\n"5 "Project-Id-Version: Search Exclude 2.6.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-search-exclude\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-0 2-27T15:50:49+00:00\n"12 "POT-Creation-Date: 2026-04-02T19:58:58+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 16 16 17 17 #. Plugin Name of the plugin 18 #: search-exclude.php 18 #: search-exclude.php:4 19 19 msgid "Search Exclude" 20 20 msgstr "" 21 21 22 22 #. Plugin URI of the plugin 23 #: search-exclude.php 23 #: search-exclude.php:5 24 24 msgid "https://wordpress.org/plugins/search-exclude" 25 25 msgstr "" 26 26 27 27 #. Description of the plugin 28 #: search-exclude.php 28 #: search-exclude.php:6 29 29 msgid "Hide any page or post from the WordPress search results by checking off the checkbox." 30 30 msgstr "" 31 31 32 32 #. Author of the plugin 33 #: search-exclude.php 33 #: search-exclude.php:9 34 34 #: vendor_packages/wp-plugin-table-links.php:14 35 35 msgid "QuadLayers" … … 37 37 38 38 #. Author URI of the plugin 39 #: search-exclude.php 39 #: search-exclude.php:10 40 40 msgid "https://quadlayers.com" 41 41 msgstr "" … … 56 56 msgstr "" 57 57 58 #: lib/controllers/class-backend.php:3 0958 #: lib/controllers/class-backend.php:326 59 59 msgid "Search Excluded" 60 60 msgstr "" 61 61 62 #: lib/controllers/class-backend.php:3 7962 #: lib/controllers/class-backend.php:396 63 63 msgid "Not enough permissions" 64 64 msgstr "" -
search-exclude/tags/2.6.4/lib/class-plugin.php
r3340865 r3497788 14 14 * Load plugin textdomain. 15 15 */ 16 add_action( 'init', array( $this, 'load_textdomain' ) );16 add_action( 'init', array( $this, 'load_textdomain' ), 1 ); 17 17 /** 18 18 * On activation … … 28 28 29 29 public function load_textdomain() { 30 load_plugin_textdomain( 'search-exclude', false, QLSE_PLUGIN_DIR . '/languages/' );30 load_plugin_textdomain( 'search-exclude', false, dirname( QLSE_PLUGIN_BASENAME ) . '/languages' ); 31 31 } 32 32 -
search-exclude/tags/2.6.4/lib/controllers/class-backend.php
r3467677 r3497788 289 289 290 290 public function enqueue_style() { 291 $entity_options = Entity_Options::instance(); 292 $post_types = $entity_options->get_entries(); 291 293 $current_screen = get_current_screen()->id; 292 $allowed_screens = array( 'edit-page', 'edit-post', 'edit-product' ); 293 294 if ( 295 ! in_array( $current_screen, $allowed_screens ) ) { 296 return; 294 $allowed_screens = array(); 295 296 foreach ( $post_types as $type ) { 297 $allowed_screens[] = 'edit-' . $type->name; 298 } 299 300 if ( ! in_array( $current_screen, $allowed_screens ) ) { 301 return; 297 302 } 298 303 … … 307 312 308 313 public function add_column( $columns ) { 314 $screen = get_current_screen(); 315 if ( ! $screen ) { 316 return $columns; 317 } 318 319 $entity_options = Entity_Options::instance(); 320 $post_types = $entity_options->get_entries(); 321 322 if ( ! isset( $post_types[ $screen->post_type ] ) ) { 323 return $columns; 324 } 325 309 326 $columns['search_exclude'] = esc_html__( 'Search Excluded', 'search-exclude' ); 310 327 return $columns; -
search-exclude/tags/2.6.4/lib/controllers/class-gutenberg.php
r3340865 r3497788 36 36 37 37 public function enqueue_scripts() { 38 $screen = get_current_screen(); 39 40 if ( ! $screen || 'post' !== $screen->base ) { 41 return; 42 } 43 44 if ( ! function_exists( 'use_block_editor_for_post_type' ) || ! use_block_editor_for_post_type( $screen->post_type ) ) { 45 return; 46 } 38 47 39 48 wp_enqueue_script( 'qlse-gutenberg' ); -
search-exclude/tags/2.6.4/lib/services/class-entity-options.php
r3471199 r3497788 46 46 'objects' 47 47 ); 48 49 $searchable_non_public = get_post_types( 50 array( 51 'public' => false, 52 'exclude_from_search' => false, 53 ), 54 'objects' 55 ); 56 57 $post_types = array_merge( $post_types, $searchable_non_public ); 48 58 49 59 if ( ! isset( $post_types['attachment'] ) ) { -
search-exclude/tags/2.6.4/readme.txt
r3471199 r3497788 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.9 8 Stable tag: 2.6. 38 Stable tag: 2.6.4 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 99 99 == Changelog == 100 100 101 = 2.6.4 = 102 * fix: include post types with exclude_from_search=false in search exclude settings 103 101 104 = 2.6.3 = 102 105 * fix: php errors -
search-exclude/tags/2.6.4/search-exclude.php
r3471199 r3497788 5 5 * Plugin URI: https://wordpress.org/plugins/search-exclude 6 6 * Description: Hide any page or post from the WordPress search results by checking off the checkbox. 7 * Version: 2.6. 37 * Version: 2.6.4 8 8 * Text Domain: search-exclude 9 9 * Author: QuadLayers … … 24 24 */ 25 25 define( 'QLSE_PLUGIN_NAME', 'Search Exclude' ); 26 define( 'QLSE_PLUGIN_VERSION', '2.6. 3' );26 define( 'QLSE_PLUGIN_VERSION', '2.6.4' ); 27 27 define( 'QLSE_PLUGIN_FILE', __FILE__ ); 28 define( 'QLSE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); 28 29 define( 'QLSE_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR ); 29 30 define( 'QLSE_DOMAIN', 'qlse' ); -
search-exclude/tags/2.6.4/vendor/composer/installed.json
r3471199 r3497788 3 3 { 4 4 "name": "automattic/jetpack-assets", 5 "version": "v4.3. 26",6 "version_normalized": "4.3. 26.0",5 "version": "v4.3.30", 6 "version_normalized": "4.3.30.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Automattic/jetpack-assets.git", 10 "reference": " 56c345af22f693ba635a6e381dab78188fa0713c"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/ 56c345af22f693ba635a6e381dab78188fa0713c",15 "reference": " 56c345af22f693ba635a6e381dab78188fa0713c",10 "reference": "0630f166f6d17916582afbb15f9c04c956fac8fe" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/0630f166f6d17916582afbb15f9c04c956fac8fe", 15 "reference": "0630f166f6d17916582afbb15f9c04c956fac8fe", 16 16 "shasum": "" 17 17 }, … … 23 23 "require-dev": { 24 24 "automattic/jetpack-changelogger": "^6.0.14", 25 "automattic/phpunit-select-config": "^1.0. 3",25 "automattic/phpunit-select-config": "^1.0.4", 26 26 "brain/monkey": "^2.6.2", 27 27 "wikimedia/testing-access-wrapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", … … 31 31 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 32 32 }, 33 "time": "2026-0 2-26T16:00:18+00:00",33 "time": "2026-03-30T16:04:17+00:00", 34 34 "type": "jetpack-library", 35 35 "extra": { … … 59 59 "description": "Asset management utilities for Jetpack ecosystem packages", 60 60 "support": { 61 "source": "https://github.com/Automattic/jetpack-assets/tree/v4.3. 26"61 "source": "https://github.com/Automattic/jetpack-assets/tree/v4.3.30" 62 62 }, 63 63 "install-path": "../../jetpack_vendor/automattic/jetpack-assets" -
search-exclude/tags/2.6.4/vendor/composer/installed.php
r3471199 r3497788 2 2 'root' => array( 3 3 'name' => 'quadlayers/search-exclude', 4 'pretty_version' => 'v2.6. 3',5 'version' => '2.6. 3.0',6 'reference' => ' 94f6a9d7728b7ef6e87508066bad80149aa3f63f',4 'pretty_version' => 'v2.6.4', 5 'version' => '2.6.4.0', 6 'reference' => '4438884b5b4a26238dab2f1131f2331a08afaca3', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'automattic/jetpack-assets' => array( 14 'pretty_version' => 'v4.3. 26',15 'version' => '4.3. 26.0',16 'reference' => ' 56c345af22f693ba635a6e381dab78188fa0713c',14 'pretty_version' => 'v4.3.30', 15 'version' => '4.3.30.0', 16 'reference' => '0630f166f6d17916582afbb15f9c04c956fac8fe', 17 17 'type' => 'jetpack-library', 18 18 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', … … 77 77 ), 78 78 'quadlayers/search-exclude' => array( 79 'pretty_version' => 'v2.6. 3',80 'version' => '2.6. 3.0',81 'reference' => ' 94f6a9d7728b7ef6e87508066bad80149aa3f63f',79 'pretty_version' => 'v2.6.4', 80 'version' => '2.6.4.0', 81 'reference' => '4438884b5b4a26238dab2f1131f2331a08afaca3', 82 82 'type' => 'project', 83 83 'install_path' => __DIR__ . '/../../', -
search-exclude/tags/2.6.4/vendor/composer/jetpack_autoload_classmap.php
r3471199 r3497788 20 20 ), 21 21 'Automattic\\Jetpack\\Assets' => array( 22 'version' => '4.3. 26.0',22 'version' => '4.3.30.0', 23 23 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php' 24 24 ), 25 25 'Automattic\\Jetpack\\Assets\\Script_Data' => array( 26 'version' => '4.3. 26.0',26 'version' => '4.3.30.0', 27 27 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-script-data.php' 28 28 ), 29 29 'Automattic\\Jetpack\\Assets\\Semver' => array( 30 'version' => '4.3. 26.0',30 'version' => '4.3.30.0', 31 31 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-semver.php' 32 32 ), … … 164 164 ), 165 165 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Base' => array( 166 'version' => '2.6. 3.0',166 'version' => '2.6.4.0', 167 167 'path' => $baseDir . '/lib/api/entities/settings/class-base.php' 168 168 ), 169 169 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Get' => array( 170 'version' => '2.6. 3.0',170 'version' => '2.6.4.0', 171 171 'path' => $baseDir . '/lib/api/entities/settings/class-get.php' 172 172 ), 173 173 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Post' => array( 174 'version' => '2.6. 3.0',174 'version' => '2.6.4.0', 175 175 'path' => $baseDir . '/lib/api/entities/settings/class-post.php' 176 176 ), 177 177 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Routes_Library' => array( 178 'version' => '2.6. 3.0',178 'version' => '2.6.4.0', 179 179 'path' => $baseDir . '/lib/api/entities/settings/class-routes-library.php' 180 180 ), 181 181 'QuadLayers\\QLSE\\Api\\Route' => array( 182 'version' => '2.6. 3.0',182 'version' => '2.6.4.0', 183 183 'path' => $baseDir . '/lib/api/interface-route.php' 184 184 ), 185 185 'QuadLayers\\QLSE\\Controllers\\Backend' => array( 186 'version' => '2.6. 3.0',186 'version' => '2.6.4.0', 187 187 'path' => $baseDir . '/lib/controllers/class-backend.php' 188 188 ), 189 189 'QuadLayers\\QLSE\\Controllers\\Frontend' => array( 190 'version' => '2.6. 3.0',190 'version' => '2.6.4.0', 191 191 'path' => $baseDir . '/lib/controllers/class-frontend.php' 192 192 ), 193 193 'QuadLayers\\QLSE\\Controllers\\Gutenberg' => array( 194 'version' => '2.6. 3.0',194 'version' => '2.6.4.0', 195 195 'path' => $baseDir . '/lib/controllers/class-gutenberg.php' 196 196 ), 197 197 'QuadLayers\\QLSE\\Controllers\\Settings' => array( 198 'version' => '2.6. 3.0',198 'version' => '2.6.4.0', 199 199 'path' => $baseDir . '/lib/controllers/class-settings.php' 200 200 ), 201 201 'QuadLayers\\QLSE\\Entity\\Settings' => array( 202 'version' => '2.6. 3.0',202 'version' => '2.6.4.0', 203 203 'path' => $baseDir . '/lib/entity/class-settings.php' 204 204 ), 205 205 'QuadLayers\\QLSE\\Helpers' => array( 206 'version' => '2.6. 3.0',206 'version' => '2.6.4.0', 207 207 'path' => $baseDir . '/lib/class-helpers.php' 208 208 ), 209 209 'QuadLayers\\QLSE\\Models\\Settings' => array( 210 'version' => '2.6. 3.0',210 'version' => '2.6.4.0', 211 211 'path' => $baseDir . '/lib/models/class-settings.php' 212 212 ), 213 213 'QuadLayers\\QLSE\\Plugin' => array( 214 'version' => '2.6. 3.0',214 'version' => '2.6.4.0', 215 215 'path' => $baseDir . '/lib/class-plugin.php' 216 216 ), 217 217 'QuadLayers\\QLSE\\Services\\Entity_Options' => array( 218 'version' => '2.6. 3.0',218 'version' => '2.6.4.0', 219 219 'path' => $baseDir . '/lib/services/class-entity-options.php' 220 220 ), -
search-exclude/tags/2.6.4/vendor/composer/jetpack_autoload_filemap.php
r3471199 r3497788 8 8 return array( 9 9 '3773ef3f09c37da5478d578e32b03a4b' => array( 10 'version' => '4.3. 26.0',10 'version' => '4.3.30.0', 11 11 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/actions.php' 12 12 ), -
search-exclude/trunk/jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md
r3471199 r3497788 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [4.3.30] - 2026-03-30 9 ### Changed 10 - Update package dependencies. [#47799] 11 12 ## [4.3.29] - 2026-03-23 13 ### Changed 14 - Update package dependencies. [#47684] 15 16 ## [4.3.28] - 2026-03-16 17 ### Changed 18 - Update dependencies. [#47472] 19 20 ## [4.3.27] - 2026-03-09 21 ### Changed 22 - Update dependencies. [#42554] 7 23 8 24 ## [4.3.26] - 2026-02-26 … … 793 809 - Statically access asset tools 794 810 811 [4.3.30]: https://github.com/Automattic/jetpack-assets/compare/v4.3.29...v4.3.30 812 [4.3.29]: https://github.com/Automattic/jetpack-assets/compare/v4.3.28...v4.3.29 813 [4.3.28]: https://github.com/Automattic/jetpack-assets/compare/v4.3.27...v4.3.28 814 [4.3.27]: https://github.com/Automattic/jetpack-assets/compare/v4.3.26...v4.3.27 795 815 [4.3.26]: https://github.com/Automattic/jetpack-assets/compare/v4.3.25...v4.3.26 796 816 [4.3.25]: https://github.com/Automattic/jetpack-assets/compare/v4.3.24...v4.3.25 -
search-exclude/trunk/jetpack_vendor/i18n-map.php
r3471199 r3497788 7 7 'jetpack-assets' => array( 8 8 'path' => 'jetpack_vendor/automattic/jetpack-assets', 9 'ver' => '4.3. 26',9 'ver' => '4.3.30', 10 10 ), 11 11 'wp-dashboard-widget-news' => array( -
search-exclude/trunk/languages/search-exclude.pot
r3471199 r3497788 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Search Exclude 2.6. 3\n"5 "Project-Id-Version: Search Exclude 2.6.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-search-exclude\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-0 2-27T15:50:49+00:00\n"12 "POT-Creation-Date: 2026-04-02T19:58:58+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 16 16 17 17 #. Plugin Name of the plugin 18 #: search-exclude.php 18 #: search-exclude.php:4 19 19 msgid "Search Exclude" 20 20 msgstr "" 21 21 22 22 #. Plugin URI of the plugin 23 #: search-exclude.php 23 #: search-exclude.php:5 24 24 msgid "https://wordpress.org/plugins/search-exclude" 25 25 msgstr "" 26 26 27 27 #. Description of the plugin 28 #: search-exclude.php 28 #: search-exclude.php:6 29 29 msgid "Hide any page or post from the WordPress search results by checking off the checkbox." 30 30 msgstr "" 31 31 32 32 #. Author of the plugin 33 #: search-exclude.php 33 #: search-exclude.php:9 34 34 #: vendor_packages/wp-plugin-table-links.php:14 35 35 msgid "QuadLayers" … … 37 37 38 38 #. Author URI of the plugin 39 #: search-exclude.php 39 #: search-exclude.php:10 40 40 msgid "https://quadlayers.com" 41 41 msgstr "" … … 56 56 msgstr "" 57 57 58 #: lib/controllers/class-backend.php:3 0958 #: lib/controllers/class-backend.php:326 59 59 msgid "Search Excluded" 60 60 msgstr "" 61 61 62 #: lib/controllers/class-backend.php:3 7962 #: lib/controllers/class-backend.php:396 63 63 msgid "Not enough permissions" 64 64 msgstr "" -
search-exclude/trunk/lib/class-plugin.php
r3340865 r3497788 14 14 * Load plugin textdomain. 15 15 */ 16 add_action( 'init', array( $this, 'load_textdomain' ) );16 add_action( 'init', array( $this, 'load_textdomain' ), 1 ); 17 17 /** 18 18 * On activation … … 28 28 29 29 public function load_textdomain() { 30 load_plugin_textdomain( 'search-exclude', false, QLSE_PLUGIN_DIR . '/languages/' );30 load_plugin_textdomain( 'search-exclude', false, dirname( QLSE_PLUGIN_BASENAME ) . '/languages' ); 31 31 } 32 32 -
search-exclude/trunk/lib/controllers/class-backend.php
r3467677 r3497788 289 289 290 290 public function enqueue_style() { 291 $entity_options = Entity_Options::instance(); 292 $post_types = $entity_options->get_entries(); 291 293 $current_screen = get_current_screen()->id; 292 $allowed_screens = array( 'edit-page', 'edit-post', 'edit-product' ); 293 294 if ( 295 ! in_array( $current_screen, $allowed_screens ) ) { 296 return; 294 $allowed_screens = array(); 295 296 foreach ( $post_types as $type ) { 297 $allowed_screens[] = 'edit-' . $type->name; 298 } 299 300 if ( ! in_array( $current_screen, $allowed_screens ) ) { 301 return; 297 302 } 298 303 … … 307 312 308 313 public function add_column( $columns ) { 314 $screen = get_current_screen(); 315 if ( ! $screen ) { 316 return $columns; 317 } 318 319 $entity_options = Entity_Options::instance(); 320 $post_types = $entity_options->get_entries(); 321 322 if ( ! isset( $post_types[ $screen->post_type ] ) ) { 323 return $columns; 324 } 325 309 326 $columns['search_exclude'] = esc_html__( 'Search Excluded', 'search-exclude' ); 310 327 return $columns; -
search-exclude/trunk/lib/controllers/class-gutenberg.php
r3340865 r3497788 36 36 37 37 public function enqueue_scripts() { 38 $screen = get_current_screen(); 39 40 if ( ! $screen || 'post' !== $screen->base ) { 41 return; 42 } 43 44 if ( ! function_exists( 'use_block_editor_for_post_type' ) || ! use_block_editor_for_post_type( $screen->post_type ) ) { 45 return; 46 } 38 47 39 48 wp_enqueue_script( 'qlse-gutenberg' ); -
search-exclude/trunk/lib/services/class-entity-options.php
r3471199 r3497788 46 46 'objects' 47 47 ); 48 49 $searchable_non_public = get_post_types( 50 array( 51 'public' => false, 52 'exclude_from_search' => false, 53 ), 54 'objects' 55 ); 56 57 $post_types = array_merge( $post_types, $searchable_non_public ); 48 58 49 59 if ( ! isset( $post_types['attachment'] ) ) { -
search-exclude/trunk/readme.txt
r3471199 r3497788 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.9 8 Stable tag: 2.6. 38 Stable tag: 2.6.4 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 99 99 == Changelog == 100 100 101 = 2.6.4 = 102 * fix: include post types with exclude_from_search=false in search exclude settings 103 101 104 = 2.6.3 = 102 105 * fix: php errors -
search-exclude/trunk/search-exclude.php
r3471199 r3497788 5 5 * Plugin URI: https://wordpress.org/plugins/search-exclude 6 6 * Description: Hide any page or post from the WordPress search results by checking off the checkbox. 7 * Version: 2.6. 37 * Version: 2.6.4 8 8 * Text Domain: search-exclude 9 9 * Author: QuadLayers … … 24 24 */ 25 25 define( 'QLSE_PLUGIN_NAME', 'Search Exclude' ); 26 define( 'QLSE_PLUGIN_VERSION', '2.6. 3' );26 define( 'QLSE_PLUGIN_VERSION', '2.6.4' ); 27 27 define( 'QLSE_PLUGIN_FILE', __FILE__ ); 28 define( 'QLSE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); 28 29 define( 'QLSE_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR ); 29 30 define( 'QLSE_DOMAIN', 'qlse' ); -
search-exclude/trunk/vendor/composer/installed.json
r3471199 r3497788 3 3 { 4 4 "name": "automattic/jetpack-assets", 5 "version": "v4.3. 26",6 "version_normalized": "4.3. 26.0",5 "version": "v4.3.30", 6 "version_normalized": "4.3.30.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Automattic/jetpack-assets.git", 10 "reference": " 56c345af22f693ba635a6e381dab78188fa0713c"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/ 56c345af22f693ba635a6e381dab78188fa0713c",15 "reference": " 56c345af22f693ba635a6e381dab78188fa0713c",10 "reference": "0630f166f6d17916582afbb15f9c04c956fac8fe" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/0630f166f6d17916582afbb15f9c04c956fac8fe", 15 "reference": "0630f166f6d17916582afbb15f9c04c956fac8fe", 16 16 "shasum": "" 17 17 }, … … 23 23 "require-dev": { 24 24 "automattic/jetpack-changelogger": "^6.0.14", 25 "automattic/phpunit-select-config": "^1.0. 3",25 "automattic/phpunit-select-config": "^1.0.4", 26 26 "brain/monkey": "^2.6.2", 27 27 "wikimedia/testing-access-wrapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", … … 31 31 "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." 32 32 }, 33 "time": "2026-0 2-26T16:00:18+00:00",33 "time": "2026-03-30T16:04:17+00:00", 34 34 "type": "jetpack-library", 35 35 "extra": { … … 59 59 "description": "Asset management utilities for Jetpack ecosystem packages", 60 60 "support": { 61 "source": "https://github.com/Automattic/jetpack-assets/tree/v4.3. 26"61 "source": "https://github.com/Automattic/jetpack-assets/tree/v4.3.30" 62 62 }, 63 63 "install-path": "../../jetpack_vendor/automattic/jetpack-assets" -
search-exclude/trunk/vendor/composer/installed.php
r3471199 r3497788 2 2 'root' => array( 3 3 'name' => 'quadlayers/search-exclude', 4 'pretty_version' => 'v2.6. 3',5 'version' => '2.6. 3.0',6 'reference' => ' 94f6a9d7728b7ef6e87508066bad80149aa3f63f',4 'pretty_version' => 'v2.6.4', 5 'version' => '2.6.4.0', 6 'reference' => '4438884b5b4a26238dab2f1131f2331a08afaca3', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'automattic/jetpack-assets' => array( 14 'pretty_version' => 'v4.3. 26',15 'version' => '4.3. 26.0',16 'reference' => ' 56c345af22f693ba635a6e381dab78188fa0713c',14 'pretty_version' => 'v4.3.30', 15 'version' => '4.3.30.0', 16 'reference' => '0630f166f6d17916582afbb15f9c04c956fac8fe', 17 17 'type' => 'jetpack-library', 18 18 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', … … 77 77 ), 78 78 'quadlayers/search-exclude' => array( 79 'pretty_version' => 'v2.6. 3',80 'version' => '2.6. 3.0',81 'reference' => ' 94f6a9d7728b7ef6e87508066bad80149aa3f63f',79 'pretty_version' => 'v2.6.4', 80 'version' => '2.6.4.0', 81 'reference' => '4438884b5b4a26238dab2f1131f2331a08afaca3', 82 82 'type' => 'project', 83 83 'install_path' => __DIR__ . '/../../', -
search-exclude/trunk/vendor/composer/jetpack_autoload_classmap.php
r3471199 r3497788 20 20 ), 21 21 'Automattic\\Jetpack\\Assets' => array( 22 'version' => '4.3. 26.0',22 'version' => '4.3.30.0', 23 23 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php' 24 24 ), 25 25 'Automattic\\Jetpack\\Assets\\Script_Data' => array( 26 'version' => '4.3. 26.0',26 'version' => '4.3.30.0', 27 27 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-script-data.php' 28 28 ), 29 29 'Automattic\\Jetpack\\Assets\\Semver' => array( 30 'version' => '4.3. 26.0',30 'version' => '4.3.30.0', 31 31 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-semver.php' 32 32 ), … … 164 164 ), 165 165 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Base' => array( 166 'version' => '2.6. 3.0',166 'version' => '2.6.4.0', 167 167 'path' => $baseDir . '/lib/api/entities/settings/class-base.php' 168 168 ), 169 169 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Get' => array( 170 'version' => '2.6. 3.0',170 'version' => '2.6.4.0', 171 171 'path' => $baseDir . '/lib/api/entities/settings/class-get.php' 172 172 ), 173 173 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Post' => array( 174 'version' => '2.6. 3.0',174 'version' => '2.6.4.0', 175 175 'path' => $baseDir . '/lib/api/entities/settings/class-post.php' 176 176 ), 177 177 'QuadLayers\\QLSE\\Api\\Entities\\Settings\\Routes_Library' => array( 178 'version' => '2.6. 3.0',178 'version' => '2.6.4.0', 179 179 'path' => $baseDir . '/lib/api/entities/settings/class-routes-library.php' 180 180 ), 181 181 'QuadLayers\\QLSE\\Api\\Route' => array( 182 'version' => '2.6. 3.0',182 'version' => '2.6.4.0', 183 183 'path' => $baseDir . '/lib/api/interface-route.php' 184 184 ), 185 185 'QuadLayers\\QLSE\\Controllers\\Backend' => array( 186 'version' => '2.6. 3.0',186 'version' => '2.6.4.0', 187 187 'path' => $baseDir . '/lib/controllers/class-backend.php' 188 188 ), 189 189 'QuadLayers\\QLSE\\Controllers\\Frontend' => array( 190 'version' => '2.6. 3.0',190 'version' => '2.6.4.0', 191 191 'path' => $baseDir . '/lib/controllers/class-frontend.php' 192 192 ), 193 193 'QuadLayers\\QLSE\\Controllers\\Gutenberg' => array( 194 'version' => '2.6. 3.0',194 'version' => '2.6.4.0', 195 195 'path' => $baseDir . '/lib/controllers/class-gutenberg.php' 196 196 ), 197 197 'QuadLayers\\QLSE\\Controllers\\Settings' => array( 198 'version' => '2.6. 3.0',198 'version' => '2.6.4.0', 199 199 'path' => $baseDir . '/lib/controllers/class-settings.php' 200 200 ), 201 201 'QuadLayers\\QLSE\\Entity\\Settings' => array( 202 'version' => '2.6. 3.0',202 'version' => '2.6.4.0', 203 203 'path' => $baseDir . '/lib/entity/class-settings.php' 204 204 ), 205 205 'QuadLayers\\QLSE\\Helpers' => array( 206 'version' => '2.6. 3.0',206 'version' => '2.6.4.0', 207 207 'path' => $baseDir . '/lib/class-helpers.php' 208 208 ), 209 209 'QuadLayers\\QLSE\\Models\\Settings' => array( 210 'version' => '2.6. 3.0',210 'version' => '2.6.4.0', 211 211 'path' => $baseDir . '/lib/models/class-settings.php' 212 212 ), 213 213 'QuadLayers\\QLSE\\Plugin' => array( 214 'version' => '2.6. 3.0',214 'version' => '2.6.4.0', 215 215 'path' => $baseDir . '/lib/class-plugin.php' 216 216 ), 217 217 'QuadLayers\\QLSE\\Services\\Entity_Options' => array( 218 'version' => '2.6. 3.0',218 'version' => '2.6.4.0', 219 219 'path' => $baseDir . '/lib/services/class-entity-options.php' 220 220 ), -
search-exclude/trunk/vendor/composer/jetpack_autoload_filemap.php
r3471199 r3497788 8 8 return array( 9 9 '3773ef3f09c37da5478d578e32b03a4b' => array( 10 'version' => '4.3. 26.0',10 'version' => '4.3.30.0', 11 11 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/actions.php' 12 12 ),
Note: See TracChangeset
for help on using the changeset viewer.