bobbingwide / oik-bob-bing-wide

More lazy smart shortcodes
https://www.oik-plugins.com/oik-plugins/oik-bob-bing-wide-more-lazy-smart-shortcodes/
GNU General Public License v2.0
2 stars 0 forks source link

Display memory_limit using [wp] shortcode #8

Closed bobbingwide closed 4 years ago

bobbingwide commented 8 years ago

Too low a memory limit and your site may crash in a big heap. If you don't have phpinfo.php installed then you may not be able to find the front end memory limit all that easily.

Proposal

Extend the [wp] shortcode to display the memory limit.

Solution

Add a parameter called m which can be used to display the currently defined memory limit. Example: [wp v p m] or [wp v m=y]

Notes:

bobbingwide commented 4 years ago

This can be closed. The [wp] shortcode now has a block equivalent; oik-bbw/wordpress, released in v1.34.0.