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 | |
add_action( 'admin_init', 'x_allow_ids_on_tags' ); | |
function x_allow_ids_on_tags() { | |
global $allowedposttags; | |
$tags = array( 'div' ); | |
$new_attributes = array( 'contenteditable' => array() ); | |
foreach ( $tags as $tag ) { | |
if ( isset( $allowedposttags[ $tag ] ) && is_array( $allowedposttags[ $tag ] ) ) |
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
=== Ad Code Manager === | |
Contributors: danielbachhuber, rinatkhaziev, automattic | |
Tags: advertising, ad codes | |
Requires at least: 3.1 | |
Tested up to: 3.3.1 | |
Stable tag: 0.1 | |
Manage your ad codes through the WordPress admin in a safe and easy way. | |
== 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
<?php | |
/* Plugin Name: P2 Resolved Posts | |
* Description: Allows you to mark P2 posts for resolution. | |
* Author: Andrew Nacin | |
* Author URI: http://andrewnacin.com/ | |
*/ | |
/* WARNING about studying and copying this code: | |
* | |
* P2 is not currently an ideal platform for developing extensions. Some of this |