Changeset 2061202
- Timestamp:
- 04/01/2019 09:00:39 PM (7 years ago)
- Location:
- post-views-for-jetpack/trunk
- Files:
-
- 4 edited
-
functions.jp-post-views.php (modified) (1 diff)
-
jp-post-views.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
widgets.jp-post-views.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
post-views-for-jetpack/trunk/functions.jp-post-views.php
r1536318 r2061202 96 96 97 97 if ( isset( $views ) && ! empty( $views ) ) { 98 $view = sprintf( esc_html( 99 _n( 100 '%d view', 101 '%d views', 102 $views['total'], 103 'jp-post-views' 104 ) 105 ), $views['total'] ); 98 $view = sprintf( 99 esc_html( 100 _n( 101 '%s view', 102 '%s views', 103 $views['total'], 104 'jp-post-views' 105 ) 106 ), 107 number_format_i18n( $views['total'] ) 108 ); 106 109 } else { 107 110 $view = esc_html__( 'no views', 'jp-post-views' ); -
post-views-for-jetpack/trunk/jp-post-views.php
r1536318 r2061202 5 5 * Description: Display the number of views for each one of your posts, as recorded by Jetpack Stats. 6 6 * Author: Jeremy Herve 7 * Version: 1. 1.07 * Version: 1.2.0 8 8 * Author URI: https://jeremy.hu 9 9 * License: GPL2+ … … 16 16 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 17 17 18 define( 'JPPOSTVIEWS__VERSION', '1. 0.0' );18 define( 'JPPOSTVIEWS__VERSION', '1.2.0' ); 19 19 define( 'JPPOSTVIEWS__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 20 20 -
post-views-for-jetpack/trunk/readme.txt
r1626577 r2061202 2 2 Contributors: jeherve 3 3 Tags: Stats, Views, Post Views, Jetpack 4 Stable tag: 1. 1.05 Requires at least: 4.66 Tested up to: 4.74 Stable tag: 1.2.0 5 Requires at least: 5.1 6 Tested up to: 5.2 7 7 8 8 Display the number of views for each one of your posts, as recorded by Jetpack Stats. … … 31 31 == Changelog == 32 32 33 = 1.2.0 = 34 Release Date: April 2, 2019 35 36 * Ensure the number of views is internationalized properly. 37 33 38 = 1.1.0 = 34 39 Release Date: November 18, 2016 -
post-views-for-jetpack/trunk/widgets.jp-post-views.php
r1536318 r2061202 83 83 84 84 if ( isset( $views ) && ! empty( $views ) ) { 85 $stats_output = sprintf( esc_html( 86 _n( 87 '%d view', 88 '%d views', 89 $views['total'], 90 'jp-post-views' 91 ) 92 ), $views['total'] ); 85 $stats_output = sprintf( 86 esc_html( 87 _n( 88 '%s view', 89 '%s views', 90 $views['total'], 91 'jp-post-views' 92 ) 93 ), 94 number_format_i18n( $views['total'] ) 95 ); 93 96 } else { 94 97 $stats_output = esc_html__( 'No views', 'jp-post-views' );
Note: See TracChangeset
for help on using the changeset viewer.