kmvan
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: ALL Chinese User -> 429 Too Many Requests, unfairAny news?
Forum: Requests and Feedback
In reply to: ALL Chinese User -> 429 Too Many Requests, unfair@jdembowski Is the CDN’s problem?
Forum: Requests and Feedback
In reply to: ALL Chinese User -> 429 Too Many Requests, unfairMost Chinese users have not public IP, they are all in NAT and access server via 1 public IP from ISP.
It should not be limited based on the frequency of IP access.
Thank you your reply and take a look.
E.g codes (PHP7+):
\add_filter('get_the_excerpt', '\balabala', 10, 2); function balabala(string $excerpt = '', \WP_Post $post): string { return $excerpt . $post->ID; }
It is an error about the
$post
param.So I think the
./_inc/lib/class.media-summary.php
L57 add $post param:
$return['excerpt'] = self::get_excerpt( $post->post_content, $post->post_excerpt, $args['max_words'], $args['max_chars'], $post);
And L301 change add $post param:
static function get_excerpt( $post_content, $post_excerpt, $max_words = 16, $max_chars = 256, $post ) {
And L314 add $post param:
$post_excerpt = apply_filters( 'get_the_excerpt', $post_excerpt, $post );
Then I think it is no problem.
Forum: Fixing WordPress
In reply to: What does [The comment's karma] mean?Nothing, just want to know what is comment_karma, when will be use it?
Forum: Fixing WordPress
In reply to: Use wp_get_current_user() or get_currentuserinfo()?$user = wp_get_current_user(); or global $current_user; get_currentuserinfo();
sorry for the format.
Forum: Fixing WordPress
In reply to: [Display only posts with and without passwords] what's mean?Oh, i got it. Thank you very mush!!
Forum: Requests and Feedback
In reply to: Notice deprecated Bug in 3.8?Oh,sorry, i got the point.
It ‘s a plugin REASON.Forum: Fixing WordPress
In reply to: How to translate plugin header description when plugin is inactive?Thinks the reply, but the link is not useful for me. The reason that I need translate the File Header comments, I have not idea how to translate them.
Forum: Fixing WordPress
In reply to: Internet Explorer problem?!whats the IE version?
Forum: Fixing WordPress
In reply to: Custom query filtered with GROUP BY not workingStackOverflow ?
would i get the link about the question?Forum: Fixing WordPress
In reply to: Add a movie clip as a "featured image"?I have not good idea .
Forum: Fixing WordPress
In reply to: trouble with Read moreequalmark’s answer is Positive Solutions
Forum: Fixing WordPress
In reply to: How to put the widget into the post-new.phpwhy? have not API?
Forum: Fixing WordPress
In reply to: where to download the file [simple_data.xml]?thank you very much.
here is my KISS.:P