Support Forum

adding a new topic

35 Answers

New Answer

WE Webgal
Webgal
Member

It is confusing. The original author was the same as for the .html PAGES but now it’s http://wordpress.org/extend/plugins/problem-with-post-edit-buttontm-on-pages/ at DiscountWebDesigner

 

Anyway, I’m going in to change the code now and will let you know how it goes.

WE Webgal
Webgal
Member

this is the current code:

 

<?php
/*
Plugin Name: .htm on PAGES
Plugin URI: http://www.introsites.co.uk/33~html-wordpress-permalink-on-pages-plugin.html
Description: Adds .htm to pages.
Author: IntroSites
Version: 1.1
Author URI: http://www.introsites.co.uk/
*/

add_action(‘init’, ‘htm_page_permalink’, -1);
register_activation_hook(__FILE__, ‘active’);
register_deactivation_hook(__FILE__, ‘deactive’);

WE Webgal
Webgal
Member

after changings I got this warning:

 

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘html_page_permalink’ was given in /problem-with-post-edit-buttonome/content/44/7739444/problem-with-post-edit-buttontml/wp-includes/plugin.php on line 403

 

I changed it back

WE Webgal
Webgal
Member

big problem now – put in your code got error – but back original code another error 

Fatal error: Call to undefined function sp_is_forumpage() in /problem-with-post-edit-buttonome/content/44/7739444/problem-with-post-edit-buttontml/wp-content/plugins/problem-with-post-edit-buttontm-on-pages/problem-with-post-edit-buttontm-on-pages.php on line 15 

WE Webgal
Webgal
Member

I just uploaded the plugin by ftp and all is back up again. Ideas for what’s next?

WE Webgal
Webgal
Member

Quick update: I changed the code as instructed and got an error message and the plugin was deactivated. I changed the code back to original and plugin was successfully reactivated. 

YS Yellow Swordfish
Yellow Swordfish
Member

Ah shame, It is obviously too early in the cycle for it to be available.
In am going to have to download and install this plugin and then see how best to interrupt it. so I will do that next

YS Yellow Swordfish
Yellow Swordfish
Member

Well – I have looked at things and to be honest I can see no ‘quick and dirty’ answer to this.

The next stage from our point of view is to determine whether we want to rewrite any code to properly support this other plugin.

YS Yellow Swordfish
Yellow Swordfish
Member

Afraid not. My next stop is to talk this over with Steve (Mr Papa) but he wont really be available for this until the weekend.

WE Webgal
Webgal
Member

Okay, thanks for update. I’ll wait to hear back from you. 

MP Mr Papa
Mr Papa
Member

not sure what I am supposed to look at :(

3 pages and fairly quick stop by tonight…  tomorrow night more available…