Changeset 1269969
- Timestamp:
- 10/21/2015 01:58:22 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
unblock-cs-jss-for-googlebot/trunk/unblock-css-js-for-googlebot.php
r1211082 r1269969 26 26 } 27 27 add_filter('robots_txt', 'wpsos_allow_googlebot', 10, 2); 28 29 /** 30 * Add links to WPSOS 31 */ 32 function wpsos_ucjg_set_plugin_meta( $links, $file ) { 33 34 if ( strpos( $file, 'unblock-css-js-for-googlebot.php' ) !== false ) { 35 36 $links = array_merge( $links, array( '<a href="http://www.wpsos.io/wordpress-plugin-unblock-css-js-for-googlebot/">' . __( 'Plugin details', 'simple-embed-code' ) . '</a>' ) ); 37 $links = array_merge( $links, array( '<a href="http://www.wpsos.io/">' . __( 'WPSOS - WordPress Security, Optimization & Speed', 'simple-embed-code' ) . '</a>' ) ); 38 } 39 return $links; 40 } 41 add_filter( 'plugin_row_meta', 'wpsos_ucjg_set_plugin_meta', 10, 2 ); 28 42 ?>
Note: See TracChangeset
for help on using the changeset viewer.