mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 04:07:59 +02:00
Shortcodes API: fixes
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
*
|
*
|
||||||
* @param string $shortcode Shortcode tag.
|
* @param string $shortcode Shortcode tag.
|
||||||
*/
|
*/
|
||||||
pubic static function delete($shortcode) {
|
public static function delete($shortcode) {
|
||||||
|
|
||||||
// Redefine vars
|
// Redefine vars
|
||||||
$shortcode = (string) $shortcode;
|
$shortcode = (string) $shortcode;
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
*
|
*
|
||||||
* @param string $shortcode Shortcode tag.
|
* @param string $shortcode Shortcode tag.
|
||||||
*/
|
*/
|
||||||
pulbic static function exists($shortcode) {
|
public static function exists($shortcode) {
|
||||||
|
|
||||||
// Redefine vars
|
// Redefine vars
|
||||||
$shortcode = (string) $shortcode;
|
$shortcode = (string) $shortcode;
|
||||||
|
Reference in New Issue
Block a user