Changeset 1269965
- Timestamp:
- 10/21/2015 01:54:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
square-bracket-hack-prevention/trunk/square-bracket-hack-prevention.php
r1227600 r1269965 9 9 Licence: GPLv2 or later 10 10 */ 11 12 /** 13 * Add links to WPSOS 14 */ 15 function wpsos_sbhp_set_plugin_meta( $links, $file ) { 16 17 if ( strpos( $file, 'square-bracket-hack-prevention.php' ) !== false ) { 18 19 $links = array_merge( $links, array( '<a href="http://www.wpsos.io/wordpress-plugin-square-bracket-hack-prevention/">' . __( 'Plugin details', 'simple-embed-code' ) . '</a>' ) ); 20 $links = array_merge( $links, array( '<a href="http://www.wpsos.io/">' . __( 'WPSOS - WordPress Security, Optimization & Speed', 'simple-embed-code' ) . '</a>' ) ); 21 } 22 return $links; 23 } 24 add_filter( 'plugin_row_meta', 'wpsos_sbhp_set_plugin_meta', 10, 2 ); 11 25 12 26 //Check if the htaccess file is writeable … … 67 81 echo "<div class='error'>Redirect Bracket Requests requires .htaccess to be writeable. Please make the file writeable, and reactivate the plugin.</div>"; 68 82 } 83 69 84 ?>
Note: See TracChangeset
for help on using the changeset viewer.