WordPress 4.4 brought more bad news

Home Forums BulletProof Security Pro WordPress 4.4 brought more bad news

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #27385
    Krzysztof
    Participant

    [code copied and deleted]

    #27388
    AITpro Admin
    Keymaster

    Your functions.php file had code stripped out of it when you posted it so email the functions.php file to:  info at ait-pro dot com instead so I can look at it.

    #27397
    Krzysztof
    Participant

    Thank you for your help!!! As usually users can count on you!

    #27398
    AITpro Admin
    Keymaster

    Very welcome. 🙂  I like knowing all of this stuff in general so it is good to have it documented here in this Topic in case I want to use some of this code myself.  😉

    #27839
    Krzysztof
    Participant

    Maybe this will help someone:

    remove_action( 'wp_head', 'rest_output_link_wp_head', 10 );
    remove_action( 'wp_head', 'wp_oembed_add_discovery_links', 10 );

    The above lines of code provided by my theme developer in theme functions.php with the lines provided by AITpro allowed to completely remove the rest api from the header.

Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.