This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php # -*- coding: utf-8 -*- | |
/** | |
* Plugin Name: Product Editor Column | |
* Description: Adds a column to the products table backend with the name of the last editor. Requires at least PHP 5.4. | |
* Author: Fuxia | |
* Version: 2014.08.09 | |
* Licence: MIT | |
* Plugin URI: http://wordpress.stackexchange.com/a/157258/73 | |
*/ | |
namespace WPSE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remove callbacks for problematic hooks. | |
* | |
* Many plugins and themes do not check for a switched site context, they will | |
* save $_POST data to the wrong site. This class tries to remove all those | |
* callbacks. | |
* | |
* @version 2014.07.23 | |
* @author Inpsyde GmbH, toscho |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// In inc/pro/controllers/Mlp_Duplicate_Blogs.php, | |
// at the end of Mlp_Duplicate_Blogs::wpmu_new_blog() | |
$context = array ( | |
'source_blog_id' => $source_blog_id, | |
'new_blog_id' => $blog_id | |
); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class Mlp_Redirect | |
* | |
* @version 2014.04.28 | |
* @author Inpsyde GmbH, toscho | |
* @license GPL | |
*/ | |
class Mlp_Redirect { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Comments added to deleted comments and answers, visible for the post author only. | |
Sorry, but this is not [an answer](http://wordpress.stackexchange.com/questions/how-to-answer). | |
[An answer should be more than just a link to an external site](http://wordpress.stackexchange.com/help/deleted-answers). Please add a solution. | |
[Ask a new question.](http://wordpress.stackexchange.com/questions/ask) Please don’t misuse the answer field for questions. Thanks. | |
[You must disclose your affiliation in your answers.](http://wordpress.stackexchange.com/help/behavior) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: T5 AJAX Editor | |
*/ | |
namespace T5AjaxEditor; | |
class Controller implements Event_Handler | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: T5 Plugin Modification Info | |
* Description: Show last modified date for plugins in plugin list. | |
*/ | |
add_filter( 'plugin_row_meta', 't5_plugins_last_mod', 100, 2 ); | |
/** | |
* Add en entry to the plugin description. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Module_Manager { | |
/** | |
* Register a module. | |
* | |
* @param array $module Required: slug, description and display_name | |
* @return bool TRUE if the module is active, FALSE if it isn't. | |
*/ | |
public function register( Array $module ); |