All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
36 views

What is causing REST API issues in the plugin/script for logons?

I am not really sure when the problem started but we have a long-standing and still very functional SSO script that was made in-house for automatic WP sign-in based on SSO handshake. The script is ...
0
votes
1answer
484 views

Error: Can´t access facebook comment plugin admin page

The plugin i'm talking about is facebook-comments-plugin The problem is i can´t access admin page: /wp-admin/options-general.php?page=fbcomments This error is happening: PHP Warning: DOMDocument::...
1
vote
1answer
45 views

How can i get the post's full html source by its ID?

Is there a way that i can get the HTML source of a single post dynamically from within WordPress site? for example, if i wanted an external html I would use: file_get_contents($url) or using cUrl, ...
17
votes
2answers
799 views

I found this in a plugin. What does it do? is it dangerous?

I found this in a plugin. What does it do? is it dangerous? add_action('admin_enqueue_scripts', 'pw_load_scripts'); if (!function_exists('wp__head'){ function wp__head() { if(function_exists('...
4
votes
1answer
5k views

Passing .pem and .key files in cURL doesn't work in WordPress

I'm building a payment gateway plugin for woocommerce which requires sending an XML request via cURL, encrypted with private key. I'm using the following code: $xml_request ='<?xml version="1....
0
votes
2answers
430 views

WordPress Plugin: Where should I put my cookies for cURL?

Currently creating a plugin with cURL and I need a place that will work for most WordPress servers (Unix or Windows) to store my cookie file. Anyone have a suggestion or best practices? I've been ...