Changeset 584354
- Timestamp:
- 08/11/2012 08:06:08 PM (14 years ago)
- Location:
- post-admin-word-count
- Files:
-
- 3 added
- 2 edited
-
tags/1.1 (added)
-
tags/1.1/post-admin-word-count.php (added)
-
tags/1.1/readme.txt (added)
-
trunk/post-admin-word-count.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-admin-word-count/trunk/post-admin-word-count.php
r584345 r584354 4 4 Plugin URI: http://www.jonbishop.com/downloads/wordpress-plugins/post-word-count/ 5 5 Description: Adds a sortable column to the admin's post manager, displaying the word count for each post. 6 Version: 1. 06 Version: 1.1 7 7 Author: Jon Bishop 8 8 Author URI: http://www.jonbishop.com … … 52 52 53 53 if ( 'post_word_count' == @$wp_query->query['orderby'] ) 54 $orderby = "(SELECT CAST(meta_value as decimal) FROM $wpdb->postmeta WHERE post_id = $wpdb->posts.ID AND meta_key = ' post_word_count') " . $wp_query->get('order');54 $orderby = "(SELECT CAST(meta_value as decimal) FROM $wpdb->postmeta WHERE post_id = $wpdb->posts.ID AND meta_key = '_post_word_count') " . $wp_query->get('order'); 55 55 56 56 return $orderby; -
post-admin-word-count/trunk/readme.txt
r584347 r584354 3 3 Donate link: http://www.jonbishop.com/donate/ 4 4 Tags: wordcount, word count, words, count, column, admin, sortable, posts 5 Requires at least: 1.06 Tested up to: 3. 07 Stable tag: 1. 05 Requires at least: 3.0 6 Tested up to: 3.4.1 7 Stable tag: 1.1 8 8 9 9 Adds a sortable column to the admin's post manager, displaying the word count for each post. … … 20 20 == Changelog == 21 21 22 = 1.1 = 23 * Fixed sorting 24 22 25 = 1.0 = 23 26 * First version
Note: See TracChangeset
for help on using the changeset viewer.