[wp-trac] [WordPress Trac] #40753: Allow PHP Code in CMS Blocks

WordPress Trac noreply at wordpress.org
Sat May 13 11:17:45 UTC 2017


#40753: Allow PHP Code in CMS Blocks
-------------------------+-----------------------------
 Reporter:  iqbal1486    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Plugins      |    Version:  4.7.4
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I have enhanced CMS blocks WordPress Plugin to use PHP Script in Page or
 Post Editor.

 Plugin uri: https://wordpress.org/plugins/cms-blocks/

 Below is the code example to use with the Page Editor.

 [php_start]
 function test(){ return "Success";}
 echo test();
 [php_end]

 The output of the above code will be "Success".

 hope you will upgrade those changes to the plugin

 Thanks

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40753>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list