[wp-trac] [WordPress Trac] #12932: Use the enqueue API for twentyten
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 15 22:00:06 UTC 2010
#12932: Use the enqueue API for twentyten
-------------------------+--------------------------------------------------
Reporter: ptahdunbar | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Themes | Version: 3.0
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by mikeschinkel):
Replying to [comment:3 freddyware]:
> However, I still stand by the argument that, for a theme developer, it
is much much harder to debug and test a theme with an enqueued stylesheet
than with a `<link href>` tag that IDEs and editors recognize.
I assume you mean it's harder to debug because it's hard to view your CSS
source with the correct line numbers and file names if they are
concatenated, correct? If that's the concern I agree that it would make
it harder to debug. However I also would argue that your criticism is
wrongly placed.
I'm unfortunately not that familiar with the enqueue and thus can't
explain how you bypass concatenation during development but I assume you
must be able to by defining a constant or some other method. OTOH, if
bypassing concatenation is ''not'' currently possible than I'd suggest
rather than argue against enqueuing that we instead argue for ability to
bypass concatenation when a define is set, i.e. maybe WP_DEBUG_STYLES.
Maybe someone like Ptah who better knows how enqueuing works can clarify
this issue?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12932#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list