equal
deleted
inserted
replaced
82 |
82 |
83 if ( ! empty( $this->upgrader->strings[ $string ] ) ) { |
83 if ( ! empty( $this->upgrader->strings[ $string ] ) ) { |
84 $string = $this->upgrader->strings[ $string ]; |
84 $string = $this->upgrader->strings[ $string ]; |
85 } |
85 } |
86 |
86 |
87 if ( strpos( $string, '%' ) !== false ) { |
87 if ( str_contains( $string, '%' ) ) { |
88 if ( ! empty( $args ) ) { |
88 if ( ! empty( $args ) ) { |
89 $string = vsprintf( $string, $args ); |
89 $string = vsprintf( $string, $args ); |
90 } |
90 } |
91 } |
91 } |
92 |
92 |