[Bb-trac] Re: [bbPress] #790: enhancement proposal "bb_inject script" to suppliment bb_enqueue_script

bbPress bb-trac at lists.bbpress.org
Wed Apr 23 07:50:29 GMT 2008


#790: enhancement proposal  "bb_inject script" to suppliment bb_enqueue_script
-------------------------+--------------------------------------------------
 Reporter:  _ck_         |        Owner:                    
     Type:  enhancement  |       Status:  closed            
 Priority:  low          |    Milestone:  1.0-beta & XML-RPC
Component:  Back-end     |      Version:                    
 Severity:  minor        |   Resolution:  wontfix           
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by mdawaffe):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 I think bb_head and bb_admin_head are fine for this.

 {{{
 my_js_func() {
 ?>
 <script type="text/javascript">
 /* <![CDATA[ */
 ...
 /* ]]> */
 </script>
 <?php
 }

 add_action( 'bb_head', 'my_js_func' );
 }}}

 How would a new function make it easier?  Reopen with more detail if it
 still interests you.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/790#comment:2>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list