mirror of https://github.com/cncf/cncf.io.git
Add more authors to the ignore list
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
This commit is contained in:
parent
573ee10251
commit
93ca027675
|
|
@ -347,7 +347,7 @@ class Lf_Mu_Public {
|
|||
return $author;
|
||||
}
|
||||
|
||||
$authors_to_ignore = array( 'Jessie', 'Katie Meinders' );
|
||||
$authors_to_ignore = array( 'Jessie', 'Katie Meinders', 'Libby Schulze', 'Valerie' );
|
||||
if ( in_array( $display_name, $authors_to_ignore, false ) ) {
|
||||
// return "CNCF" if the author is in the ignore list.
|
||||
return 'CNCF';
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ class LF_Utils {
|
|||
|
||||
if ( ! $author ) {
|
||||
// Authors we don't want to show a byline for.
|
||||
$authors_to_ignore = array( 3049, 3047, 2910, 3051 );
|
||||
$authors_to_ignore = array( 3049, 3047, 2910, 3051, 3102, 3299 );
|
||||
$author_id = get_post_field( 'post_author', $the_post_id );
|
||||
|
||||
if ( in_array( $author_id, $authors_to_ignore, false ) ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue