Changeset 1203537
- Timestamp:
- 07/21/2015 10:15:17 PM (11 years ago)
- Location:
- slaptigooglepr/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
slaptigooglepr.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
slaptigooglepr/trunk/readme.txt
r590323 r1203537 3 3 Contributors: slaptijack 4 4 Requires at least: 2.2.3 5 Tested up to: 3.4.16 Stable tag: 1 2.085 Tested up to: 4.2.2 6 Stable tag: 15.07 7 7 Donate link: http://slaptijack.com 8 8 -
slaptigooglepr/trunk/slaptigooglepr.php
r590323 r1203537 208 208 add_action('manage_posts_custom_column', array('SlaptiGooglePR','display_manage_posts_column'), 10, 2); 209 209 210 // How to display the site-wide PageRank is mainly a function of which 211 // version you're using. If you have the rightnow_end action available, 212 // we want to use that. Otherwise we'll stick the info at the top of 213 // the page. 214 if ( has_action('rightnow_end') ) { 215 add_action('rightnow_end', array('SlaptiGooglePR','rightnow')); 216 } elseif ( has_action('admin_head') && has_action('admin_footer') ) { 217 add_action('admin_head', array('SlaptiGooglePR','add_admin_css')); 218 add_action('admin_footer', array('SlaptiGooglePR','add_admin_footer')); 219 } 210 // I used to worry about breaking older versions of Wordpress and 211 // worked around the old stuff. The fact of the matter is if you're 212 // using an old enough version of Wordpress that the old workaround 213 // was a good thing, you're a menace to the Internet. 214 add_action('activity_box_end', array('SlaptiGooglePR','rightnow')); 220 215 221 216 ?>
Note: See TracChangeset
for help on using the changeset viewer.