Plugin Directory

Changeset 3342238


Ignore:
Timestamp:
08/10/2025 11:22:53 AM (8 months ago)
Author:
tsinf
Message:

Clean up code and update readme.txt

Location:
ts-search-slug
Files:
13 added
2 edited

Legend:

Unmodified
Added
Removed
  • ts-search-slug/trunk/plugin.php

    r3341948 r3342238  
    77 Author: Tobias Spiess
    88 Author URI: https://www.spiess-informatik.de
    9  Version: 1.0.5
     9 Version: 1.0.6
    1010 Text-Domain: ts-search-slug
    1111 Domain Path: /languages
    1212*/
    1313
    14 /**
    15  * Deprecated: Load Plugin Translations
    16  */
    17 // function tsinf_search_slug_load_plugin_textdomain() {
    18 //  load_plugin_textdomain( 'ts-search-slug', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    19 // }
    20 // add_action( 'plugins_loaded', 'tsinf_search_slug_load_plugin_textdomain' );
    21 
    2214if(!defined('TS_Search_Slug_Version'))
    2315{
    24     define('TS_Search_Slug_Version', '1.0.5');
     16    define('TS_Search_Slug_Version', '1.0.6');
    2517}
    2618
     
    7365            add_action('wp_ajax_nopriv_tsinf_get_state_list', array('TS_Search_Slug', 'ajax_get_state_list'));
    7466
    75 
    76             add_filter('manage_edit-post_sortable_columns', function ($columns) {
    77                 $columns['author'] = 'author';
    78                 return $columns;
    79             });
    8067
    8168        }
     
    374361
    375362        /**
    376          *
     363         * Add Button for page states list to page overview
     364         *
    377365         * @return void
    378366         */
     
    385373
    386374        /**
    387          *
     375         * Add markup for page states list
     376         *
    388377         * @return void
    389378         */
     
    400389        }
    401390
     391        /**
     392         * Return data for page states list
     393         */
    402394        public static function ajax_get_state_list() {
    403395            check_ajax_referer('6PPBo?7cKN8f4=evtaRE%rPN;L{5dg5', 'security');
  • ts-search-slug/trunk/readme.txt

    r3341948 r3342238  
    11=== TS Search Slug ===
    22Contributors: tsinf
    3 Tags: post, slug
     3Tags: post, slug, search
    44Requires at least: 6.4
    55Tested up to: 6.8
    66Stable Tag: 1.0.5
     7Requires PHP: 8.2
    78License: GPLv3
    89Creation time: 01.05.2018
     
    3132
    3233== Changelog ==
    33 * 1.0.5
     34### 1.0.6
     35- Clean up code
     36- Update readme.txt
     37
     38### 1.0.5
    3439- Add Post States List to Page Overview (must be activated in the settings)
    3540- Add Post ID (Search and Sort) Functionality (must be activated in the settings)
    3641- Add German Translation
    3742
    38 * 1.0.4
     43### 1.0.4
    3944- WP Plugin Check related fixes
    4045
    41 * 1.0.3
     46### 1.0.3
    4247- Fix PHP Warning "Parameter 2 to posts_where() expected to be a reference, value given"
    4348
    44 * 1.0.2
     49### 1.0.2
    4550- Fix bug, that other search parameters in admin area are ignored when slug search is activated
    4651
    47 * 1.0.1
     52### 1.0.1
    4853- Add custom post type support
    4954
Note: See TracChangeset for help on using the changeset viewer.