deprecated since %2$s version %3$s! Use %4$s instead.', 'primer' ) : '%1$s is deprecated since %2$s version %3$s! Use %4$s instead.'; $without_alt = function_exists( '__' ) ? /* translators: 1. PHP function name, 2. theme name, 3. version number */ __( '%1$s is deprecated since %2$s version %3$s with no alternative available.', 'primer' ) : '%1$s is deprecated since %2$s version %3$s with no alternative available.'; $string = ( $alt_name ) ? $with_alt : $without_alt; $theme = ! empty( $theme ) ? $theme : esc_html__( 'Primer', 'primer' ); $message = ! empty( $message ) ? ' ' . $message : null; // @codingStandardsIgnoreStart trigger_error( sprintf( $string, esc_html( $name ), esc_html( $theme ), esc_html( $version ), esc_html( $alt_name ) ) . $message ); // @codingStandardsIgnoreEnd } /** * Display navigation to next/previous set of posts when applicable. * * @deprecated 1.6.0 No longer supported as the pagination function. Use `primer_pagination()` instead. * @global WP_Query $wp_query * @since 1.0.0 */ function primer_paging_nav() { primer_deprecated_function( __FUNCTION__ . '()', '1.6.0', 'primer_pagination()' ); global $wp_query; if ( ! isset( $wp_query->max_num_pages ) || $wp_query->max_num_pages < 2 ) { return; } ?> ← Older posts', 'primer' ) ); ?> →', 'primer' ) ); ?>