WP Manifestindependent plugin directory
manifest / content / block-injector

Block Injector

A plugin that lets you inject content in Posts and Pages

by PootlePress · github.com/pootlepress/block-injector · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/pootlepress/block-injector/archive/refs/heads/master.zip

Declares an update source (https://api.freemius.com), so updates arrive through the plugin's own updater.

From the readme

WC Tested up to: 10.9 Inject blocks and content anywhere in your posts, pages and WooCommerce templates. Security: the endpoint that lists your posts, pages and products for the targeting dropdown now requires a nonce and the capability to edit pages. Previously any logged-in user, including subscribers and customers, could list the titles of every post, page and product on the site — including drafts and private content. Security: fixed the Enable/Disable switch on the Block Injector list, which was checking the wrong value with the wrong operator and so never actually verified its nonce. It now verifies the nonce and the user's capability before changing an injector's status. Enabling or disabling an injector now goes through WordPress rather than writing straight to the database, so caches update correctly on sites with persistent object caching. Fixed six PHP warnings written to the error log every time a Block Injector was saved. Fixed a JavaScript error that stopped the rest of the page's scripts when an injector's target selector matched nothing on the page. Removed a stray console.log left in the front-end output. Updated the Freemius SDK to 2.13.4. Tested up to W

Read the full README on GitHub →

Releases

TagPublished
1.1.1 Feb 25, 2022
1.1.0 Feb 14, 2022
1.0.3 Oct 25, 2021
1.0.2 Oct 11, 2021
1.0.1 Oct 5, 2021
1.0.0 Sep 21, 2021

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.